Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sum across 12 worksheets

I have a spreadsheet with 12 worksheets, one for each month. I would like to
be able to use a 13th worksheet to add amounts from all 12 pertaining to a
date range specified on each sheet. I've tried sumif but the formula would
be VERY long and complex.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sum across 12 worksheets

Ok, so fill in the details.

What is the format of your sheet names?
Jan, Feb, Mar etc?
January, February, March?
1-09, 2-09, 3-09?
Jan 09, Feb 09, Mar 09 ?

Where is this data?

SUMIF based on what condition?

--
Biff
Microsoft Excel MVP


"EricSHEM" wrote in message
...
I have a spreadsheet with 12 worksheets, one for each month. I would like
to
be able to use a 13th worksheet to add amounts from all 12 pertaining to a
date range specified on each sheet. I've tried sumif but the formula
would
be VERY long and complex.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sum across 12 worksheets

Thanks for the reply.

My worksheets are labeled using this format:
Oct08, Nov08, Dec08, Jan09.....

On the 13th sheet I want to collect dollar amounts from column W on the
other 12. The date the payment was made is in column V. Since this is for
tracking credit card purchases/payments the dates for a the monthly billing
cycle must be used (cycle starts on the 28th and ends on the 27th of the
following month). Sometimes items are purchased in one month but the payment
is made the following billing cycle. For example I could purchase something
in October but due to a back order or shipping snafu it may not arrive until
November and be on the December billing cycle. Therefore the October
purchase would actually count against the December monthly limit.

Let me know if you need anymore specifics.




"T. Valko" wrote:

Ok, so fill in the details.

What is the format of your sheet names?
Jan, Feb, Mar etc?
January, February, March?
1-09, 2-09, 3-09?
Jan 09, Feb 09, Mar 09 ?

Where is this data?

SUMIF based on what condition?

--
Biff
Microsoft Excel MVP


"EricSHEM" wrote in message
...
I have a spreadsheet with 12 worksheets, one for each month. I would like
to
be able to use a 13th worksheet to add amounts from all 12 pertaining to a
date range specified on each sheet. I've tried sumif but the formula
would
be VERY long and complex.

Thanks!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sum across 12 worksheets

Ok, this formula is a thing of beauty! <g

If you have 12 sheets and the first sheet is for Oct08 then the 12th sheet
must be for Sep09.

I'm assuming the sheet name format is mmmyy (3 letter month, 2 digit year -
Jul09)

Use cells to hold the date boundaries:

A1 = start date
B1 = end date

=SUMPRODUCT(SUMIF(INDIRECT("'"&TEXT(DATE(2008,10+{ 0,1,2,3,4,5,6,7,8,9,10,11},1),"mmmyy")&"'!V1:V10") ,"="&A1,INDIRECT("'"&TEXT(DATE(2008,10+{0,1,2,3,4 ,5,6,7,8,9,10,11},1),"mmmyy")&"'!W1:W10")))-SUMPRODUCT(SUMIF(INDIRECT("'"&TEXT(DATE(2008,10+{0 ,1,2,3,4,5,6,7,8,9,10,11},1),"mmmyy")&"'!V1:V10"), ""&B1,INDIRECT("'"&TEXT(DATE(2008,10+{0,1,2,3,4,5 ,6,7,8,9,10,11},1),"mmmyy")&"'!W1:W10")))


--
Biff
Microsoft Excel MVP


"EricSHEM" wrote in message
...
Thanks for the reply.

My worksheets are labeled using this format:
Oct08, Nov08, Dec08, Jan09.....

On the 13th sheet I want to collect dollar amounts from column W on the
other 12. The date the payment was made is in column V. Since this is
for
tracking credit card purchases/payments the dates for a the monthly
billing
cycle must be used (cycle starts on the 28th and ends on the 27th of the
following month). Sometimes items are purchased in one month but the
payment
is made the following billing cycle. For example I could purchase
something
in October but due to a back order or shipping snafu it may not arrive
until
November and be on the December billing cycle. Therefore the October
purchase would actually count against the December monthly limit.

Let me know if you need anymore specifics.




"T. Valko" wrote:

Ok, so fill in the details.

What is the format of your sheet names?
Jan, Feb, Mar etc?
January, February, March?
1-09, 2-09, 3-09?
Jan 09, Feb 09, Mar 09 ?

Where is this data?

SUMIF based on what condition?

--
Biff
Microsoft Excel MVP


"EricSHEM" wrote in message
...
I have a spreadsheet with 12 worksheets, one for each month. I would
like
to
be able to use a 13th worksheet to add amounts from all 12 pertaining
to a
date range specified on each sheet. I've tried sumif but the formula
would
be VERY long and complex.

Thanks!






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
Sum worksheets - w/o updating formula for new worksheets which are Elgee Excel Worksheet Functions 4 August 15th 08 05:51 PM
How use info in Excel shared worksheets to create new worksheets dkc Excel Worksheet Functions 0 June 28th 07 08:36 PM
how do i copy a cell in worksheets 10 to the other 9 worksheets bete New Users to Excel 3 March 15th 07 10:41 AM
How do i assign the ActiveWorkbook.Worksheets to a worksheets object? TS Excel Worksheet Functions 2 December 27th 06 02:49 PM
Assigning Cells in worksheets to other data in other worksheets. David McRitchie Excel Discussion (Misc queries) 0 November 27th 04 06:15 PM


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

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"