countif formula to exclude names if repeating

johnny52

Active Member
Joined
Oct 13, 2006
Messages
332
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
I have a list of names in col a...about 20 rows. However some of the names repeat. I would like to put a formula
in column B , possibly a countif that would exclude the repetitive names and just give that total .Thanks everybody
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Total of the different Unique Names
=SUMPRODUCT(1/COUNTIF(A1:A20,A1:A20))

you have excel version 2010 or 2007 on profile
is that the version
otherwise
look at
unique () to provide the list of names
 
Upvote 0
Solution
Total of the different Unique Names
=SUMPRODUCT(1/COUNTIF(A1:A20,A1:A20))

you have excel version 2010 or 2007 on profile
is that the version
otherwise
look at
unique () to provide the list of names
I have version 2007.I will give this a try and respond. Thanks
 
Upvote 0

Forum statistics

Threads
1,214,896
Messages
6,122,132
Members
449,066
Latest member
Andyg666

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