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

Find if cell contents exist in array

I am trying to find a solution so that if the contents of B2 can be found in array DOUBLE!A2:A, it would output B2, else it would output "Cannot be doubled".

I tried =IF(REGEXMATCH(B2, DOUBLE!A2:A), B2, "Cannot be doubled") but it is not working.

Here is an example sheet

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

Thank you in advance. Hopefully my question is clear enough.

>Solution :

Please try the following:

=IF(ISNUMBER(MATCH(B2, DOUBLE!A2:A, 0)), B2, "Cannot be doubled")
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