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

Google Sheet: If value exists in column A, write corresponding column B row value

If the email in sheet-1 exists in sheet-2, copy the value in sheet-2 Type into Sheet-1 Status column.

I’ve filled in the desired Status values.

Sheet-1

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

Email Status (formula)
abc
xyz unsubscribe
123 bounce

Sheet-2

Email Type
xyz unsubscribe
123 bounce
qrs bounce

This formula checks if the email value exists and writes "found" for Status if it does. (This is for row 43)

=if(COUNTIF(Sheet-2!A:A, A43)>0,"found","")

I’m thinking I need to use lookup? But how?

>Solution :

You may try:

=index(xlookup(A2:A,D:D,E:E,))
  • Adjust the formula ranges as per your sheet

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