Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ben Karlin
 
Posts: n/a
Default Not as stupid a question; this time about data from multiple sheet

Yeah, array function; control+shift+enter. I got it as soon as I hit send.

What I want to do this is add a report page to the front of a workbook that
will summarize the information from the next six pages. The thing is the
next six pages are monthly reports so each month a new page is added right
under the front page.

Right now there is the Six Month Report (11/05-04/06) but at the end of this
month a new page will be added and the Six Month Report will be for
(12/05-05/06).

The report is an exact replica of the monthly reports except for the data.

Is there a way to write the formulae to take the next six sheets without
specifically naming what those sheets are?

Ben Karlin
St. Louis, MO


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Not as stupid a question; this time about data from multiple sheet

Assuming your sheet names are in the form Jan_06, Feb_06, Mar_06 etc
and you are just about to add a May_06 sheet, then currently your
formulae in the Six Month Report will be something like (for cell C5):

=SUM(Apr_06:Nov_05!C5)

When you add a new sheet (assuming it is the second sheet and the
others are in reverse sequence), then you could just do a Find and
Replace twice. Highlight all the cells in the Six Month Report sheet
(CTRL-A), then Edit | Replace (or CTRL-H) and:

Find What: Nov_05
Replace With: Dec_05

then click Replace All. Do CTRL-H again, and:

Find What: Apr_06
Replace With: May_06

and click Replace All.

This is a procedural rather than a formula solution, but it should
work.

If, instead, your formulae are in this format:

=Nov_05!C5 + Dec_05!C5 + Jan_06!C5 + Feb_06!C5 + Mar_06!C5 + Apr_06!C5

then you just have to replace Nov_05 with May_06, and the ordering of
the sheets doesn't matter.

Hope this helps.

Pete

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
Match and Sort for two range of data on different worksheets? Tan New Users to Excel 3 March 9th 06 08:55 AM
Importing Data Jillian Excel Worksheet Functions 9 December 23rd 05 12:45 PM
Newbie question Pulling data from one sheet to another based on Tony Canevaro New Users to Excel 16 October 25th 05 02:10 PM
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM
Question about combining data from multiple workbooks into one rep BookOpenandUpright Excel Discussion (Misc queries) 2 February 19th 05 12:37 PM


All times are GMT +1. The time now is 09:21 PM.

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

About Us

"It's about Microsoft Excel"