Hello,
I’m unsure what formula will work correctly for this situation.
I thought I could use a combination of Match and index and match but it only works for the first column and can’t seem to get it to work for the rest.
Basically, if the number in cell F2 entered does not match a number in column A, move to column B. If still not a match, then move to column C.
For example, if 1240 is entered in cell F2, the result should be 1241.
Any help is appreciated.
Excel 2010
I’m unsure what formula will work correctly for this situation.
I thought I could use a combination of Match and index and match but it only works for the first column and can’t seem to get it to work for the rest.
Basically, if the number in cell F2 entered does not match a number in column A, move to column B. If still not a match, then move to column C.
For example, if 1240 is entered in cell F2, the result should be 1241.
Any help is appreciated.
Excel Workbook | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | 1111 | 1234 | 1235 | 8987 | Enter a # | Result | |||
2 | 1237 | 1239 | 1240 | 1241 | 1111 | 1234 | |||
3 | |||||||||
4 | |||||||||
5 | |||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
G2 | =IF(MATCH(F2,A:A,0),INDEX(B:B,MATCH(F2,A:A,0),0),IF(MATCH(F2,B:B,0),INDEX(C:C,MATCH(F2,B:B,0),0),IF(MATCH(F2,C:C,0),INDEX(D:D,MATCH(F2,C:C,0),0),""))) |