I have this excel situation:
C2 = "A", D2= "A", set E2 = "A"
C2 = "B", D2 = "B", set E2 = "B"
C2= "B", D2= "A", set E2 = "A"
and....
How can I write such nested formulas for column E to be populated from values of same row column C and D?
We have a 5x5 value table. So if col = "X" and row = "Y" result should be "Z". I need to lookup this table and set value automatically with formula
Please advise


=If(And(C2="A",D2="A"),"A",if(And(C2="B",D2="B"),"B",...). but it looks like you have lots of these. AVlookup()table might work too. Can you expand on your problem a little more?