PQ or pivot table with added computation

rjmdc

Well-known Member
Joined
Apr 29, 2020
Messages
702
Office Version
  1. 365
Platform
  1. Windows
my question is as follows: i cant seem to upload the file
i took my data of amounts and group types and service months

the query's columns were computed - first i grouped by service month and type group and then by participant with an output of sum of amount column per type per month per participant

then amount is the actual sums of billed amount, units is amount divided by 10 then extracted before the decimal, total is units x 10, rollover is amount minus total

i pivoted nicely

but i am missing the most important element

the rollover needs to keep being added to the next months amount which is then manipulated as above meaning the new amount then needs to be divided by 10 etc. and then at the end there may be a rollover which needs to be added to the next months total

services are divided by service month and group type and participant

can that be done?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,223,793
Messages
6,174,623
Members
452,574
Latest member
hang_and_bang

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