Forum Discussion

Dcheq's avatar
Dcheq
Copper Contributor
Apr 05, 2022
Solved

2-Tiered Pricing Order Form Problem - Circular Referencing Error

Hi all,    I am trying to solve the following problem:   Cell F11 =IF(F38<400, E25*C25, IF(F38>400,E25*D25)   F38 is the sum of column F, hence the circular reference - if F38 must be used for ...
  • mathetes's avatar
    mathetes
    Apr 05, 2022

    Dcheq 

     

    Now that I see the layout, I'd say you're going about it with circular reasoning from the start. This happens because you're applying that different pricing scheme at each line of the order. What would you do if the total (before any discounting) was $410? Apply Tier 1 pricing? But that, the way you do your calculations, could reduce it below $400, which would put it back at Tier 2 pricing.

     

    A far FAR simpler way to accomplish this, I would suggest, is just to say totals over $400, on the bottom line, will receive a discount of X%,taken from that bottom line. You could even make a few tiers of discount. That's a common approach.

    Up to 400...no discount

    400-500 --- 5%

    above 500 -- 10%

     

    Take the discount based on the total. Period. Not in every line of every item. An order that totaled $410 would receive %5 off, i.e., 20.50, and be billed $389.50, to which they could add an optional tip.

     

    It would also simplify that screen. There'd only be a price list, a single price list. It's no longer Tier 1 and Tier 2, just a discount at the bottom based on total order from that single price list.

Resources