Count text formula based on multi-criteria excluding duplicates

mcbiz77

New Member
Joined
Feb 9, 2016
Messages
17
Hello,
I'm looking for a count formula that counts the total number of sheets per person excluding duplicates. For example, below Nate has FTM01 and SM02 sheets assigned to him. His name is shown as 3 times in the table but the sheet names are the same for two of the items below. The answer needs to show that Nate has 2 sheets and Vito has 1 sheet. Please help me in finding a formula.

AB
Nate
FTM01
NateFTM01
VitoBD02
NateSM02

<tbody>
</tbody>


<colgroup><col><col></colgroup><tbody>
</tbody><tbody>
</tbody>
 
The formula should spit out the following result

Nate - 1 (meaning he has one process sheet that has NO)
Vito - 1 (meaning he has one process sheet that has NO)

**** the most important thing is that even though Nate has 3 sheets, 2 of them are duplicate sheets. So, if the first two rows had a No and No then it would need to count that as 1 NO since they are duplicate sheets.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
The formula should spit out the following result

Nate - 1 (meaning he has one process sheet that has NO)
Vito - 1 (meaning he has one process sheet that has NO)

**** the most important thing is that even though Nate has 3 sheets, 2 of them are duplicate sheets. So, if the first two rows had a No and No then it would need to count that as 1 NO since they are duplicate sheets.

You posted...

Row\Col
A​
B​
C​
1​
namesheetyes/no
2​
NateFTM01Yes
3​
NateFTM01No
4​
VitoBD02Yes
5​
NateSM02Yes

with headers added.

How do we get Nate >> 1 and Vito >> 1, using the above exhibit?
 
Upvote 0
Aladin thanks for generating the table above. Nate gets 1 because he has (1) "No" which is against sheet FTM01. If both rows 2 and 3 were "No" then Nate would still have (1) "No" since the sheets are the same (FTM01). As for Vito, he would get 0 since he has 0 "No". I was incorrect above by saying Vito gets 1. Sorry for the confusion.
 
Upvote 0
Aladin thanks for generating the table above. Nate gets 1 because he has (1) "No" which is against sheet FTM01. If both rows 2 and 3 were "No" then Nate would still have (1) "No" since the sheets are the same (FTM01). As for Vito, he would get 0 since he has 0 "No". I was incorrect above by saying Vito gets 1. Sorry for the confusion.

Ok.

Row\Col
A​
B​
C​
D​
E​
F​
1​
namesheetyes/noNate
1​
2​
NateFTM01YesVito
0​
3​
NateFTM01No
4​
VitoBD02Yes
5​
NateSM02Yes

In F1 control+shift+enter, not just enter, and copy down:
Rich (BB code):
=SUM(IF(FREQUENCY(IF($A$2:$A$5=E1,IF(1-($B$2:$B$5=""),IF($C$2:$C$5="No",
    MATCH($B$2:$B$5,$B$2:$B$5,0)))),ROW($B$2:$B$5)-ROW($B$2)+1),1))
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top