Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Check if there is at least one not-unquie value in column (without using a helper column)

  |        A      |          B         |     
--|---------------|--------------------|----
1 |   Product     |    Check Unique    |   
--|---------------|--------------------|----
2 |   Product_A   |         yes        |  
3 |   Product_B   |                    | 
4 |   Product_B   |                    | 
5 |   Product_C   |                    | 
6 |   Product_D   |                    | 
7 |               |                    | 

In Cell B2 I want to have a formula that is doing the following:

= If there is at least one value in Column A that is not unique then "yes" else "no"

I know I could achieve this with a Helper Column using COUNTIF but I would prefer a solution without a Helper Column.

Do you have any idea if this is possible?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Use COUNTIF:

=IF(OR(COUNTIF(A2:A6,A2:A6)>1),"Yes","No")

in pre-O365 formula should be entered as array formula

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading