Hi All,
I need a formula to run in cell S4 and get the margin % 1-(buying cost/N4) ... Something like =IFERROR(IF(1-(VLOOKUP;A4;PRODUCT_INFO!$C$S;17;0)/N4);'')
But in my product info I also have another column (col. number 16) with a promo buying cost... so I need to run a logical test; if it finds a value in "promo buying cost" column in Product Info sheet, then run that division, if it doesn't find any value then take the "normal buying cost" (col. number 17) in Product Info sheet and then run the division.
I need a formula to run in cell S4 and get the margin % 1-(buying cost/N4) ... Something like =IFERROR(IF(1-(VLOOKUP;A4;PRODUCT_INFO!$C$S;17;0)/N4);'')
But in my product info I also have another column (col. number 16) with a promo buying cost... so I need to run a logical test; if it finds a value in "promo buying cost" column in Product Info sheet, then run that division, if it doesn't find any value then take the "normal buying cost" (col. number 17) in Product Info sheet and then run the division.