Forum Discussion
Una_McCrossan
Oct 04, 2022Copper Contributor
Excel formulas
Hi there, I would like to populate a cell, based on the values that are chosen from the previous two cells, which are drop down lists. For example Column 1 - ''Ten'' is chosen, Column 2, ''Bl...
OliverScheurich
Oct 04, 2022Gold Contributor
=IF(AND(A1=$F$1,B1=$G$1),$H$1,IF(AND(A1=$F$2,B1=$G$2),$H$2,IF(AND(A1=$F$3,B1=$G$3),$H$3,IF(AND(A1=$F$4,B1=$G$4),$H$4,IF(AND(A1=$F$5,B1=$G$5),$H$5,IF(AND(A1=$F$6,B1=$G$6),$H$6,IF(AND(A1=$F$7,B1=$G$7),$H$7,IF(AND(A1=$F$8,B1=$G$8),$H$8,IF(AND(A1=$F$9,B1=$G$9),$H$9,IF(AND(A1=$F$10,B1=$G$10),$H$10,IF(AND(A1=$F$11,B1=$G$11),$H$11,"")))))))))))
An alternative could be a nested IF formula. If you work with Office365 or 2021 you can apply IFS.