countif formula to exclude names if repeating

johnny52

Active Member
Joined
Oct 13, 2006
Messages
323
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
 

Some videos you may like

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,587
Office Version
  1. 365
Platform
  1. MacOS
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
 
Solution

johnny52

Active Member
Joined
Oct 13, 2006
Messages
323
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
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
 

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,587
Office Version
  1. 365
Platform
  1. MacOS
you are welcome
 

Watch MrExcel Video

Forum statistics

Threads
1,127,442
Messages
5,624,800
Members
416,054
Latest member
Ariel2219

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
Top