Hi
I have an array of Supplier numbers A1:A20 in a separate sheet 'Tier Suppliers'
I also have another list of Suppliers which amount to 20000 rows. (Col A). I would like to write a nested If AND formula that checks to see if the data in the 20000 rows matches the array and another column (B). If True then to write 'Tier' if False then to take the value in Col B.
Here is my the formula
=IF((AND(A2 ='TierSuppliers'!A1:20,B2="Standard PO")),"Tier", B2)
But it doesn't work. Is this the correct formula to use? I tried SumProduct but that didn't help much either. Please help!
I have an array of Supplier numbers A1:A20 in a separate sheet 'Tier Suppliers'
I also have another list of Suppliers which amount to 20000 rows. (Col A). I would like to write a nested If AND formula that checks to see if the data in the 20000 rows matches the array and another column (B). If True then to write 'Tier' if False then to take the value in Col B.
Here is my the formula
=IF((AND(A2 ='TierSuppliers'!A1:20,B2="Standard PO")),"Tier", B2)
But it doesn't work. Is this the correct formula to use? I tried SumProduct but that didn't help much either. Please help!