Check range for value, THEN check value of specific column in that row, THEN return TRUE/FALSE.
Examples are just that, but they are the same use-case.
I have a VLOOKUP that checks another sheet for a specified vegetable. On finding "carrot" it returns "vegetable". If it does not find "carrot", it returns "not vegetable".
However, what I want to be able to do is check the other sheet for "carrot", then check a cell in that "carrot" row for the year "2021", and then return string "new vegetable" if all of these conditions are met, and "old vegetable" if not.
How would I best accomplish this?
The goal being searching A:A for "carrot", then searching C:C from that row for "2021". If both conditions are TRUE, we return string "new vegetable".
| A | B | C |
|---|---|---|
| Celery | Tom | 1999 |
| Carrot | Megan | 2021 |
| Tomato | Alex | 2019 |
If not both of these conditions are TRUE, we return string "old vegetable".
| A | B | C |
|---|---|---|
| Celery | Tom | 1999 |
| Carrot | Megan | 2019 |
| Tomato | Alex | 2019 |
Posted May 18, 2021, 5:25 AM UTC · edited
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.