I have the following formula, =IFERROR(VLOOKUP(J2,Price!A1:E50,3,FALSE),0) it returns a value from the third column of another worksheet that lists prices of our product, however we have changed our prices and now have 5 columns, so if cell d2 says old i need cell j2 to return a price from column 3 of my table array, but if it says new i need it to return a price from column 5. I've tried it 10 different ways and i just can't get it to work, any ideas please?