Hi,
I am trying to write a formula that looks up a value in several columns and if it matches give the result from the column next to it. The formula goes in column A and should be something like this: If B2=a value found in columns C, E or G then give the result that's in the column next to it which should be columns D,F or H. This is what I have so far but I know it's wrong =If(b1=vlookup(b1,C:H,{3,5,7} then give the result shown in the same row as the value but on the next column which should be columns 4,6,8. Based on the below table the result for the first row should be 1 and for the second should be 0.
Please help! Thank you.
I am trying to write a formula that looks up a value in several columns and if it matches give the result from the column next to it. The formula goes in column A and should be something like this: If B2=a value found in columns C, E or G then give the result that's in the column next to it which should be columns D,F or H. This is what I have so far but I know it's wrong =If(b1=vlookup(b1,C:H,{3,5,7} then give the result shown in the same row as the value but on the next column which should be columns 4,6,8. Based on the below table the result for the first row should be 1 and for the second should be 0.
Please help! Thank you.
Formula | A120 | A129 | 33 | A120 | 1 | A121 | 2 |
Formula | A122 | A122 | 0 | A177 | 12 | A123 | 1 |