Quote:
Originally Posted by foma
How can I do this on the subtotal only without doing it for each transaction? I tried dragging the formula down, but it does the calculation for each transaction when I want it for the subtotals only.
|
I tried something like this, so hopefully it works for you.
Make sure you have a header row (e.g. "Customer Name" "Total Sales" "Total Returns").
Select the header row and click Data->Filter->AutoFilter. You should now have a pull down menu in each of the header cells.
Click the "Customer Name" menu, and select "Custom..."
You want to
Show rows where Customer Name Contains total
- in the first pull-down menu select "contains"
- in the first text box, type "Total"
This should give you a worksheet which only shows the subtotals (which will likely all be $0.00).
Now you can insert your formula (which will show up as #DIV/0!) and drag it down to each of the subtotals, without getting the intervening transactions.
Select Data->Filter->Autofilter and you should be back to normal (without the #DIV/0!)
Hope this works for you.