In my worksheet I am trying to enter a formula so that I can auto load cell E20
If B20 cell is not blank
IF value of cell F9 = “R” use vlookup to retrieve value from column 3 of ‘Price list’ work sheet
But If value of cell F9 = “W” use vlookup to retrieve value from column 5 of ‘Price list’ work sheet
I have tried the following formula but don’t think it is correct for what I need..
=IF(B20>" ",(=IF(F9="R",(VLOOKUP(B20,RetailPrice,3,FALSE))," ") =IF(F9="W",(VLOOKUP(B20,RetailPrice,5,FALSE))" ")
Can someone suggest a solution or help fix the syntax of the formula?
Bookmarks