Forum Discussion

bagudd's avatar
bagudd
Copper Contributor
Jun 06, 2019
Solved

Pricing sheet using ranges of quantity discounts

I'm building a pricing sheet and need the below table to show the cumulative pricing based on the ranges.  Anybody any idea to do this without a bunch of nested IF's?   Range Start Range End S...
  • SergeiBaklan's avatar
    SergeiBaklan
    Jun 06, 2019

    bagudd , please check this

    =SUMPRODUCT((  ($C$3:$C$11-$B$3:$B$11+1)*(B14>$C$3:$C$11)+
                    (B14-$B$3:$B$11+1)*(B14<=$C$3:$C$11)*(B14>=$B$3:$B$11))*
                 $E$3:$E$11*(1-$D$3:$D$11)  )

    "more" is changed on "more or equal to", in red above

Resources