cumulitive totals and FILTER

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I posted the following questions and rec'd the following reply for help on
getting my cumulitive column to total correctly when I sort.

However, the solution does not work when I apply a filter to columns. Is
there code that would apply to both situations?

Thanks
___________________________________

You could try something like this in F2:

=IF(ISNUMBER(F1),E2+F1,E2)

and copy this down, assuming that you have headers in row 1. When the
data is sorted, whatever is in row 2 will just take the value of E2 as
the starting point for the cumulative total, whereas every other row
will add the value in E onto the running total.

Hope this helps.

Pete
 
To sum the visible data on a filtered column try:-

=SUBTOTAL(9, A2:OFFSET(A183,-1,0))

Paste into a cell below your last line of un-filtered data and alter the A2
- A183 to suit.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

cumulitive Totals and sort 5
Need help with sumproduct formula 1
Filter Formula 9
if and or formula? 1
Sum by dept and date 3
COUNTIF 2
Problem with Pasting into Filtered Fields 2
Conditional Formatting 3

Back
Top