I have 2 lists of numbers 1,3,5 and 2,4,6. If the value in a cell contains a number from list 1, I want value x returned. If the value contains a number from list 2, I want value y returned.
In reality my 2 lists are huge. I know this can be done with an array formula of some sort, but I can't figure it out. I also don't want to write a huge nested if formula if I don't need to.
How can I do this?
In reality my 2 lists are huge. I know this can be done with an array formula of some sort, but I can't figure it out. I also don't want to write a huge nested if formula if I don't need to.
How can I do this?