Forum Discussion

katrina bethea's avatar
katrina bethea
Brass Contributor
May 23, 2018
Solved

Formula debug. am i using the wrong formula?

I have attached my spreadsheet to help clear up what I am doing.  Basically i want this formula to look at sales/m (sales per month) then check the sale $ (price), and return a buy price based on a c...
  • Matt Mickle's avatar
    May 23, 2018

    Katrina-

     

    Try using a lookup table instead it will greatly simplify your formula (I've attached an example file for your reference):

     

    =IF(A2>20,ROUNDUP(B2*VLOOKUP(B2,$K$4:$N$10,2,TRUE),0),ROUNDUP(B2*VLOOKUP(B2,$K$4:$N$10,4,TRUE),0))

     

     

Resources