Discounted Basket Partial Return Allocation
Build a merchandise ledger from two to five original order lines and one fixed order-wide discount. Allocate the discount by line value, split the paid cents among units and compare the modeled current return with an optional merchandise-only quote. The worksheet applies one stated allocation convention to the original order, including when returns occur in batches.
Reconcile a partial return after a basket discount
Track original paid cents through prior returns, this return, and the merchandise left.
Edit original order and return quantities
Enter lines in original receipt order. Use merchandise amounts before tax, shipping and other adjustments.
Merchandise return comparison
The quote is below the modeled return amount.
$0.01 below the modeled amount
- Current modeled return
- $22.22
- Originally paid merchandise
- $79.99
- Prior modeled returns
- $8.89
- Merchandise value remaining
- $48.88
Quoted current return · $22.21
Discount and paid value by line
- Allocated discount
- Originally paid
- Line 1
- Allocated discount $3.34Originally paid $26.66
- Line 2
- Allocated discount $3.34Originally paid $26.66
- Line 3
- Allocated discount $3.33Originally paid $26.67
Prior returns, current returns and remaining value
- Previously returned
- Current return
- Merchandise remaining
- Line 1
- Previously returned $8.89Current return $8.89Merchandise remaining $8.88
- Line 2
- Previously returned $0.00Current return $13.33Merchandise remaining $13.33
- Line 3
- Previously returned $0.00Current return $0.00Merchandise remaining $26.67
Inspect the paid unit portions
Prior returns use the first units in each line. The current batch uses the next units in order.
Line 1
Originally paid $26.66 across 3 units.
- Units 1–2
- $8.89 each
- Unit 3
- $8.88 each
Unit 3 is next at $8.88.
Line 2
Originally paid $26.66 across 2 units.
- Units 1–2
- $13.33 each
Unit 2 is next at $13.33.
Line 3
Originally paid $26.67 across 1 unit.
- Unit 1
- $26.67 each
Unit 1 is next at $26.67.
Export the merchandise ledger
View CSV text
How to use this calculator
- Enter the original whole-order merchandise discount and original quantities and unit prices in receipt order.
- Enter how many units of each line were returned previously and how many you are comparing now.
- Review discount allocation and how the paid value splits across the three unit groups. Inspect per-unit portions to see any extra cent.
- Optionally enter the merchant’s comparable merchandise-only amount and inspect the difference. Export the complete ledger.
The Formula
The mathematical logic powering this calculation is:
Gross line merchandise equals original quantity × unit price. This worksheet applies one fixed discount to the whole original basket. For every line, divide discount cents × line gross by total gross. Assign the whole cents first. Assign the leftover cents to larger fractional remainders in descending order, breaking ties by original line order. A zero-priced line has zero weight, and a zero-priced basket accepts a zero discount.
Line paid = gross less allocated discount. Each unit first gets the floor of paid cents divided by original quantity. The first units in the original line get one extra cent apiece until the paid amount is fully allocated. Count prior returns from unit one. The current return uses the next entered quantity in sequence. The remaining units are the rest. All three stages reconcile exactly to the original paid merchandise. This equal-partition convention stays fixed across batches.
Quote difference = entered merchandise-only quote less the current modeled return. A quoted cent below or above the model remains visible. Use merchant allocation records when you need the store’s exact method. This worksheet models one uniform order-level discount without taxes, shipping, restocking, policy repricing or other charges. Enter two to five lines of 1–10,000 units, with amounts up to $1 million per unit and $50 billion for discount or quote. Use dollars and cents. The original returned counts and current quantities cannot exceed the purchased count.Worked Example
If you input:
- Basket: Three $30 gross lines. $10.01 total discount.
- Line1: Three units. One previously returned and one in the current batch.
- Line2: Two units. One in the current batch.
- Quote: $22.21 merchandise-only quote.
Result:
Line discounts are $3.34, $3.34 and $3.33. The first line’s paid units are $8.89, $8.89 and $8.88. Its current unit and line 2’s current $13.33 unit total $22.22. The quote is $0.01 below the model.
Frequently Asked Questions
Does this reproduce a store’s refund system?
It applies the stated proportional allocation and original-order tie rule. Check the merchant’s line allocations and policies for its actual merchandise amount.
Why do otherwise identical units differ by a penny?
Some paid line totals cannot be evenly divided in whole cents. The worksheet assigns the extra cents to earlier units so partial stages add back to the exact line total.
How do I account for a refund already made?
Enter its whole-unit count in the Prior returns field. The worksheet calculates the value of those units using the original paid portions.
Which quote should I enter?
Copy a merchandise-only quote for the entered current quantities. Subtract or otherwise separate shipping, taxes, fee adjustments and other nonmatching components before comparing.
Similar Calculators
Percent Off & Stacked Discount Calculator
Calculate percent off, compare stacked coupons in either order, and see which offer costs less after shipping and sales tax.
Product Pricing Calculator & Fee-Aware Margin Planner
Compare two selling prices after commission, fixed fees and fulfillment. Calculate break-even orders and the minimum price that meets your profit margin target.
Invoice Tax & Rounding Reconciliation
Reverse tax-inclusive prices, add tax to net prices, and reconcile invoice discounts and credits. Compare line and group rounding with exact audit ledgers.
Sales Commission Refund Offset Audit
Reconcile a sales refund across two commission recipients. See original and restated earnings, uncovered adjustments and the last refund both balances can absorb.
