Excel Complicated Cumulative Division Problem

Lukas Friedrich

New Member
Joined
May 4, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello together,

I want to show a cumulative division between to columns in a pivot table. A division in percentage between invoied orders and total order. This should be based on the last days of a month. Example given in my first attachment.

828044d1683204579-excel-complicated-cumulative-division-problem-unbenannt.png


As you can see, the percentages are wrong, because they are based on the calculation done on my data set. The percentages are right for the normal order number, but not for the cumulative order. I have an extra table for non cumulative showing, but I still need this in a cumulative manner and to also show this on a graph. On my second attachment you can see my data set that I build. If I cant do this calculation in a pivottable, maybe a formula in the data set can help me out.

828049d1683204876-excel-complicated-cumulative-division-problem-unbenannt2.png


Thank you in advance for your help!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hello together,

I want to show a cumulative division between to columns in a pivot table. A division in percentage between invoied orders and total order. This should be based on the last days of a month. Example given in my first attachment.

828044d1683204579-excel-complicated-cumulative-division-problem-unbenannt.png


As you can see, the percentages are wrong, because they are based on the calculation done on my data set. The percentages are right for the normal order number, but not for the cumulative order. I have an extra table for non cumulative showing, but I still need this in a cumulative manner and to also show this on a graph. On my second attachment you can see my data set that I build. If I cant do this calculation in a pivottable, maybe a formula in the data set can help me out.

828049d1683204876-excel-complicated-cumulative-division-problem-unbenannt2.png


Thank you in advance for your help!
 

Attachments

  • Unbenannt.PNG
    Unbenannt.PNG
    18.6 KB · Views: 24
  • Unbenannt2.PNG
    Unbenannt2.PNG
    30.4 KB · Views: 26
Upvote 0
@Lukas Friedrich , welcome to the forum.
The forum has an easy to use add-in called xl2bb (link below) that allows you to post mini worksheets. These really help the forum help you. With images, which do convey some information, the forum needs manually recreate your scenario which takes time and can have errors/typos.

So, please use the add in and post a mini worksheet. If you cannot install the add in, there is a forum chat for testing it out (link also below). In a worst case please post the data in a table (label rows and columns please), and copy any formulas into your text (and say which cell).

Then also show your expected results as well.


And regardless of how you post the data, please sanitize it for personal security.

thanks in advance.
 
Upvote 0
@Lukas Friedrich , welcome to the forum.
The forum has an easy to use add-in called xl2bb (link below) that allows you to post mini worksheets. These really help the forum help you. With images, which do convey some information, the forum needs manually recreate your scenario which takes time and can have errors/typos.

So, please use the add in and post a mini worksheet. If you cannot install the add in, there is a forum chat for testing it out (link also below). In a worst case please post the data in a table (label rows and columns please), and copy any formulas into your text (and say which cell).

Then also show your expected results as well.


And regardless of how you post the data, please sanitize it for personal security.

thanks in advance.
Thanks for the quick answer. If I try to create a mini sheet, it shows me an error message "7 - Out of memory". It also shows with sheets with low volume on data.
 
Upvote 0
i'm not sure what that means. But, it is an add in that uses up memory in your computer. Maybe close some idle applications or worksheets.
only highlight the cells you need to paste (there is a limit to the number of characters or cells pasted). then from the xl2bb tab click mini-sheet.
do you see these items:

1683213013983.png
 

Attachments

  • 1683212971022.png
    1683212971022.png
    53.1 KB · Views: 20
Upvote 0
of course you can post as a table. just highlight the cells, copy then paste here. But you need to provide formulas (and locations), row numbers, column letters, and expected results.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Excel Complicated Cumulative Division Problem
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Book1
ABCDEFG
1GI/IR DateGlobal RegionProduct GroupInvoicedOrder TotalCumulative InvoicedCumulative Order Total
219.09.2022AmericasSO111921
319.09.2022ChinaSO111921
419.09.2022ChinaSO111921
09_22
Cell Formulas
RangeFormula
F2:F4F2=IF(ISNUMBER([@[GI/IR Date]]),SUMIF([GI/IR Date],"<="&[@[GI/IR Date]],[Invoiced]),"")
G2:G4G2=IF(ISNUMBER([@[GI/IR Date]]),SUMIF([GI/IR Date],"<="&[@[GI/IR Date]],[Order Total]),"")



Book2
ABCD
5202226050052,00%
6Sep7012157,85%
7day -9192190,48%
8day -8101566,67%
9day -791090,00%
10day -65771,43%
11day -581266,67%
12day -451050,00%
13day -361346,15%
14day -251729,41%
15day -131618,75%
16Okt4711042,73%
17day -971163,64%
18day -871353,85%
19day -74944,44%
20day -52540,00%
21day -441040,00%
22day -32633,33%
23day -2122060,00%
24day -132015,00%
25day 061637,50%
26Nov7316145,34%
27day -9162369,57%
28day -861154,55%
29day -751145,45%
30day -6162080,00%
31day -571741,18%
32day -481747,06%
33day -341526,67%
34day -251050,00%
35day -141921,05%
36day 021811,11%
TableFull
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top