Query Design Help - YTD Monthly Comparisons/Budget Statement

warriorwoman

New Member
Joined
Mar 18, 2010
Messages
22
I desperately need help with query design and any pointers would be greatly appreciated. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p> </o:p>
I currently have multiple monthly databases storing YTD medical expense data – expenditure by purchaser, provider and treatment method.<o:p></o:p>
<o:p> </o:p>
I now want to create a consolidated database so that I can compare performance trends on a monthly basis.<o:p></o:p>
<o:p> </o:p>
I’ve created an append query from my individual monthly databases to create a mega table with the following fields:<o:p></o:p>
<o:p> </o:p>
Purchaser<o:p></o:p>
Provider<o:p></o:p>
Point of Delivery<o:p></o:p>
Specialty<o:p></o:p>
Treatment<o:p></o:p>
Month<o:p></o:p>
YTD Plan<o:p></o:p>
YTD Actual<o:p></o:p>
YTD Variance (YTD Plan – YTD Actual)<o:p></o:p>
<o:p> </o:p>
Each individual months data is YTD rather than in month actual and I need to find either a way to calculate the in month position or find a way to display YTD data in a meaningful way.<o:p></o:p>
I currently have 3 months data available and M3 is the latest month.<o:p></o:p>
I had thought to create a query (presumably multiple queries reqd) that will give the following output:<o:p></o:p>
<o:p> </o:p>
Purchaser<o:p></o:p>
Provider<o:p></o:p>
Point of Delivery<o:p></o:p>
Specialty<o:p></o:p>
Treatment<o:p></o:p>
M3 YTD Plan<o:p></o:p>
M1 Variance<o:p></o:p>
M2 Variance<o:p></o:p>
M3 Variance<o:p></o:p>
M3 Variance % (M3 as a % of M3 YTD Plan)<o:p></o:p>
In Month Movement (Perhaps M3 Variance – M2 Variance)<o:p></o:p>
<o:p> </o:p>
I’ve got as far as creating a crosstab with the M1, M2 and M3 Variances but I can’t think how to show the latest months plan against all these (currently M3) and I have the feeling I may be creating a monster.<o:p></o:p>
<o:p> </o:p>
Can anyone help?<o:p></o:p>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,215,288
Messages
6,124,086
Members
449,141
Latest member
efex

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