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

Trying to automatically change dropdown values in a google sheet, if the data matches from another sheet

I have 2 columns B & C

  • B includes names
  • C includes a dropdown with 2 options – IN & OUT

I have another column – G, that has a list of names and some of the names matches from the main list in column B

Is there a way to automatically change the dropdown value in column C from OUT to IN if the name matches from the list in column G?

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

Please refer to the sample sheet.
https://docs.google.com/spreadsheets/d/1t4OCg2rVQxV0pE1dT1xzOrzzkbyGS0KaPtiLFmHu8U8/edit?usp=sharing

Thanks for looking.

>Solution :

If you wish about formula then could try following formula. See your sheet.

=BYROW(B4:B28,LAMBDA(x,IF(ISNUMBER(MATCH(x,G4:G10,0)),"IN","OUT")))
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