Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Re-driecting a pivot quarterly

Folks,

I have 8 pivots set on one data set- on purpose, they are set up this way in
order to update a second excel data sheet for reporting. My pivots are set to
show 3 months of data- at least this is how I want it. I can refresh these
pivots no problem but I want the macro to re-direct the pivot every quarter.

I have is that i want to "hit a button!" and the marco will
1. recognise if there is a new quarter or not
2. If there is a new quarter to redirect the pivot to the new quarter raw
data sheet
3. If there is no new quarter sheet available to update then to just refresh
the pivot with the new months data.

Each quarter is held on a seperate sheet in a primary work book.

Is this at all possible or am I being wildly optimistic?! If this isn't
clear let me know and I will try to do a better job of explaining myself!

Thanks
Cass
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Re-driecting a pivot quarterly

I'm sure that some VB ace will tell you a different way but how I would do it.
Keep you four Qtr source sheets- create a new sheet to become the source of
the pivots
In this sheet us an If formula that reconnises the qtr you want to review-
maybe use a drop down on the first pivot sheet- this will then change the
source info- then simply refresh thye pivots- ahve them all linking off one
so to speed up the refresh

If the sheets are very large you could create 4 simple macros just to copy
the data from the qtr sheet to the pivot source sheet as well
--
Hope that helps

"Cass" wrote:

Folks,

I have 8 pivots set on one data set- on purpose, they are set up this way in
order to update a second excel data sheet for reporting. My pivots are set to
show 3 months of data- at least this is how I want it. I can refresh these
pivots no problem but I want the macro to re-direct the pivot every quarter.

I have is that i want to "hit a button!" and the marco will
1. recognise if there is a new quarter or not
2. If there is a new quarter to redirect the pivot to the new quarter raw
data sheet
3. If there is no new quarter sheet available to update then to just refresh
the pivot with the new months data.

Each quarter is held on a seperate sheet in a primary work book.

Is this at all possible or am I being wildly optimistic?! If this isn't
clear let me know and I will try to do a better job of explaining myself!

Thanks
Cass

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quarterly Data in Pivot Table Linda RQ[_2_] New Users to Excel 3 April 23rd 10 03:43 PM
How do I set a pivot table to group quarterly reports by F/Y? Mark Excel Discussion (Misc queries) 2 March 3rd 10 10:32 PM
Quarterly Statements in Pivot Tables TB in DC Excel Discussion (Misc queries) 2 January 9th 09 11:26 PM
Pivot Table - Quarterly report SA Excel Discussion (Misc queries) 1 November 9th 07 06:43 PM
Quarterly Log ? How to RK[_4_] Excel Programming 1 April 1st 04 08:31 AM


All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"