I am trying to take a list of Product Numbers in Table 1 and put a Type description next to it based on which column the item number appears in a separate table. I can get the separate IF/Vlookup statements to work individually, but not all together.
Formula I'm using that doesn't work:
=IF(A3=VLOOKUP(A3,'Table 2'!$A$10:$A$11,1,FALSE),"PROMO",(IF(A3=VLOOKUP(A3,'Table 2'!$C$2:$C$16,1,FALSE),"BURNDOWN","STOCK")))
Example of data:
[TABLE="width: 202"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ProdNbr
[/TD]
[TD]Desc
[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]97609
[/TD]
[TD]Peanuts[/TD]
[TD]PROMO[/TD]
[/TR]
[TR]
[TD]97602[/TD]
[TD]Popcorn[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]97415[/TD]
[TD]Soda[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]97451A[/TD]
[TD]Licorice[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Table 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Promo[/TD]
[TD]Stock[/TD]
[TD]Burndown
[/TD]
[/TR]
[TR]
[TD]97609[/TD]
[TD]97602[/TD]
[TD]97415[/TD]
[/TR]
[TR]
[TD]97451A[/TD]
[TD]97425[/TD]
[TD]97599[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be much appreciated!
Formula I'm using that doesn't work:
=IF(A3=VLOOKUP(A3,'Table 2'!$A$10:$A$11,1,FALSE),"PROMO",(IF(A3=VLOOKUP(A3,'Table 2'!$C$2:$C$16,1,FALSE),"BURNDOWN","STOCK")))
Example of data:
[TABLE="width: 202"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ProdNbr
[/TD]
[TD]Desc
[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]97609
[/TD]
[TD]Peanuts[/TD]
[TD]PROMO[/TD]
[/TR]
[TR]
[TD]97602[/TD]
[TD]Popcorn[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]97415[/TD]
[TD]Soda[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]97451A[/TD]
[TD]Licorice[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Table 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Promo[/TD]
[TD]Stock[/TD]
[TD]Burndown
[/TD]
[/TR]
[TR]
[TD]97609[/TD]
[TD]97602[/TD]
[TD]97415[/TD]
[/TR]
[TR]
[TD]97451A[/TD]
[TD]97425[/TD]
[TD]97599[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be much appreciated!