Forum

Notifications
Clear all

Excel formula help please

6 Posts
3 Users
0 Reactions
127 Views
(@kendrickg)
Posts: 11
Active Member
Topic starter
 

I'm posting this question in the hope someone can help and offer a possible solution.  I have attached a rough copy of the workbook I'm working with.  Simply I have a workbook of people that call for an appointment for a date and time.  The operator(s) place comments in the appointment comments sometimes several different comments for the same appointment number and time.  I am trying to figure out how many appointments were made with the text "psmac" in the text field comment field.  I don't want to count it twice if it is listed a few times under the same account number.  Hope this makde sense.

So total appointmnets made based on the account number field.  So that will give me the total appointments.  Then of those total appointments from the account numbers I want to count the number of times "psmac" comment is in there and only count the individual account number one time each.

 
Posted : 03/12/2018 5:02 pm
(@fravis)
Posts: 337
Reputable Member
 

Sorry, but don't see an attachment?

Frans

 
Posted : 03/12/2018 5:55 pm
(@kendrickg)
Posts: 11
Active Member
Topic starter
 

Gary Kendrick said
I'm posting this question in the hope someone can help and offer a possible solution.  I have attached a rough copy of the workbook I'm working with.  Simply I have a workbook of people that call for an appointment for a date and time.  The operator(s) place comments in the appointment comments sometimes several different comments for the same appointment number and time.  I am trying to figure out how many appointments were made with the text "psmac" in the text field comment field.  I don't want to count it twice if it is listed a few times under the same account number.  Hope this makde sense.

So total appointmnets made based on the account number field.  So that will give me the total appointments.  Then of those total appointments from the account numbers I want to count the number of times "psmac" comment is in there and only count the individual account number one time each.  

 
Posted : 03/12/2018 6:29 pm
(@kendrickg)
Posts: 11
Active Member
Topic starter
 

Frans Visser said
Sorry, but don't see an attachment?

Frans  

I apologize for that.  I didn't click that last button.  Hope this might help.

 
Posted : 03/12/2018 6:32 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Gary

See if this works.

1) Create a helper column E

2) In cell E2 enter =IF(ISNUMBER(SEARCH("PSMAC",D2)),IF(COUNTIFS($A$2:A2,A2,$B$2:B2,B2,$C$2:C2,C2)>1,0,1),0)

3) Copy this formula down as many cells as needed. It will identify unique appointments with PSMAC (not case-sensitive)

4) Sum the helper column.

Hope this helps.

Sunny

 
Posted : 03/12/2018 9:55 pm
(@kendrickg)
Posts: 11
Active Member
Topic starter
 

Thanks Sunny,

Let me give that a try.

Gary

 
Posted : 22/12/2018 1:08 pm
Share: