I'm trying to populate certain cells on one sheet using other sheets as a source. I will select from one drop down list a prefix (M, S, NT) this will be the identification of which vlookup function to execute. Each vlookup will have a different named range. The target item number to look for will be selected from another drop down list.
This drop down list properly changes based on the M, S, or NT selection.
I cannot configure my If statement to execute based on the M,S,NT selection and locate the target value and offset column.
Here is what I have configured.
=IF(AND(B3>0,A3=NT),VLOOKUP(C3,assembly_table,7,FALSE),IF(AND(B3>0,A3=M),VLOOKUP(C3,ITEM_TABLE,2,FALSE),IF(AND(B3>0,A3=S),VLOOKUP(C3,STOCK_TABLE,2,FALSE),"")))
i have created 3 lists named M, NT,and S and did an indirect validation to be able to have the item number drop down lists (cell C3 in above formula). Possibly i may need to rename these tables?
This drop down list properly changes based on the M, S, or NT selection.
I cannot configure my If statement to execute based on the M,S,NT selection and locate the target value and offset column.
Here is what I have configured.
=IF(AND(B3>0,A3=NT),VLOOKUP(C3,assembly_table,7,FALSE),IF(AND(B3>0,A3=M),VLOOKUP(C3,ITEM_TABLE,2,FALSE),IF(AND(B3>0,A3=S),VLOOKUP(C3,STOCK_TABLE,2,FALSE),"")))
i have created 3 lists named M, NT,and S and did an indirect validation to be able to have the item number drop down lists (cell C3 in above formula). Possibly i may need to rename these tables?