Special countif

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
I think it is a special countif?
I am just not sure how to do this.
I need to check A13:A280 and make sure there is no no duplicate numbers.

Is there an easy formula to do this? I am sure this is easy, my brain went dead.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
In column B, try:

=IF(COUNTIF(A:A,A1)>1,"Duplicate exists","")

and copy down.

Then filter on column B to show only "Duplicate Exists".
 
Upvote 0
Hightlight range A13:A280 and then in the conditional formatting enter the formula =COUNTIIF($A$13:$A$280,A13)>1 and select e.g. red fill if condtion is true. That will highlight the duplicate numbers.
 
Upvote 0
I think it is a special countif?
I am just not sure how to do this.
I need to check A13:A280 and make sure there is no no duplicate numbers.

Is there an easy formula to do this? I am sure this is easy, my brain went dead.

=MODE(A13:A280)

should return #N/A, meaning no duplicates.
 
Upvote 0
Aladin,
That is beautiful. I should have indicated that I did not want to use conditional formatting and use helper cells.
So yours works a charm!

Thank You,
Michael
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,337
Members
452,907
Latest member
Roland Deschain

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