Hi All!
I am putting together a worksheet that pulls from our data warehouse and gives me X data per month (dollars & headcount).
I want to be able to open the file each month, change the fiscal month and have it trigger all the changes. I have already set the file (which is connected to our systems) to update system data, but am stuck on the analysis. I currently am pulling a pivot of data laid out like this
Rows - Organizations where $$s are charged too
Columns - Months
Data - Total dollars by month by organization
I am hoping to establish some automated analysis by which once i change the month to say June, i have columns of MTD / QTD / YTD which will pull the month (June), QTD (Apr - Jun), and YTD (Sept - June). Sorry for the long winded question. Hopefully someone out there has an idea!
Thanks
Matt
Hi Matt
Welcome to the forum.
Can you upload a sample of your data and PT as it would make it easier to understand.
--
Regards
Roger Govier
Microsoft Excel MVP
Thanks Roger!
I updated a test case of my data (actual data changed for company confidentiality).
The fiscal calendar is Oct - Sept, so in this case of June, it would be the end of Q3 in our calendar.
Last edited by Paul; 07-14-2011 at 10:49 PM. Reason: Removed quote of previous post.
Hi
Take a look at the attached file - I think it doe what you want.
I put a small table of months on sheet 2, and then use some Vlookup and Index/Match formulae in R1 and S1 of Sheet1, which are triggered by the month dropdown in cell Q1
I formatted R1 and S1 with a custom format of ;;; so the values don't show.
R1 =VLOOKUP(Q1,Sheet2!A2:C13,2,0) S1 =INDEX(Sheet2!C2:C13,MATCH(Sheet1!R1,Sheet2!B2:B13,0)) R4 =INDEX($B4:$M4,$R$1) S4 =SUM(INDEX($B4:$M4,$S$1):INDEX($B4:$M4,$R$1)) T4 =SUM($B4:INDEX($B4:$M4,$R$1))
--
Regards
Roger Govier
Microsoft Excel MVP
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks