I found this solution, which works (but not satisfactory):
=SUMPRODUCT(SUBTOTAL(9;OFFSET(M5;ROW($M$5:M5)-ROW(M5);0));--($M$5:M5=1))
then just copy for all rows.
Buuuut, now I got a new problem. The spreadsheet currently includes 10,000+ rows, and when I started to use this solution the...
I've checked it out. It works perfectly except one small thing. When I'm starting to sort after certain criterias it get's a reference problem since in the "AUX 3" column it's always fetching the value in the cell above. When the above cell then becomes text, it does not work anymore.
I tried...
I have a spreadsheet including customer, commodities and volumes. For this I am using data filters to chose which commodity to display. So far nothing strange. I am then plotting what is filtered in a chart. It is actually looking exactly like one of the tutorials on this website...