Count formula with multiple criteria

shdawson

Active Member
Joined
Jan 6, 2007
Messages
381
Good Morning.


Need to do a logic evaluation. Thinking the COUNT function is the way to get there, but not certain.

Have this test data.
Excel Workbook
CDE
1MultipleDudeTeam
2NBobNetwork
3NJimDatabase
4YJohnDatabase
5YJohnDev
6NTomSecurity
Sheet1
Excel 2003

Need to find what columns in column D have more than 1 entry. Flag those in column C.

Any "simple" way to evaluate multiple columns in a counting action?


Thanks,
S
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
=IF(COUNTIF(D:D,D1)>1,"Multiple",IF(COUNTIF(D:D,D1)=0,"N","Y"))


See if this helps
0 could never be a result if you're counting a cell within the range.

This should work:
=IF(COUNTIF(D:D,D2)=1,"N","Y")
 
Upvote 0
=IF(COUNTIF(D:D,D2)=1,"N","Y")

...does pretty well, but still need to evaluate if there are multiple Dude names in the same Team. If there is one John per Team is the obstacle. (This is part of a data cleansing activity.)
Excel Workbook
DE
1DudeTeam
2BobNetwork
3JimDatabase
4JohnDev
5John A.Database
6John A.Database
7John B.Database
8TomSecurity
Sheet1
Excel 2003
So, how can we evalaute both columns?

Thanks,
S
 
Upvote 0
If you are using 2003 then you have to create concatenate for those fields and the countif that concatenate.
 
Upvote 0
OK, hmmmm......

Using 2003. Can you walk me through an example of your thoughts, please?


Thanks,
S
 
Upvote 0
=D1&E1
this formula in your A column

=IF(COUNTIF(A:A,A1)=1,"N","Y")
and then this formula with reference to column A.:cool:
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,219
Members
452,895
Latest member
BILLING GUY

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