Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Formula help - indirect & sumif & dates .....

Hi, here's my situation ...

Workbook with ~30 tabs, sheetnames are a 3-digit number (some starting
with 0) + 1 tab which is to be a summary of the others. On each of
the 'base-data' sheets, range A2:A366 is a date, col B:Y are data
columns to be summarized. On the summary sheet, each sheet will have
12 rows -- col A as sheetname, col B as Month, col C:Z summed data
columns.

So, in Col C of the Summary sheet, the formula needs to go to the
correct sheet and sum the values in col B according to Month (as
derived from the date).

Any help is greatly appreciated!

Regards,
ray

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Formula help - indirect & sumif & dates .....

=SUMIF(INDIRECT("'"&$A2&"'!A2:A366"),$B2,OFFSET(IN DIRECT("'"&$A2&"'!B2:Y366"),0,COLUMN(A1)-1))

and copy across

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Ray" wrote in message
ps.com...
Hi, here's my situation ...

Workbook with ~30 tabs, sheetnames are a 3-digit number (some starting
with 0) + 1 tab which is to be a summary of the others. On each of
the 'base-data' sheets, range A2:A366 is a date, col B:Y are data
columns to be summarized. On the summary sheet, each sheet will have
12 rows -- col A as sheetname, col B as Month, col C:Z summed data
columns.

So, in Col C of the Summary sheet, the formula needs to go to the
correct sheet and sum the values in col B according to Month (as
derived from the date).

Any help is greatly appreciated!

Regards,
ray



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Formula help - indirect & sumif & dates .....

Bob,

The Summary sheet uses Months (format:MMM) , while the source sheets
use days (format: MM/DD/YY) -- how would I modify your suggested
formula to make this conversion?

thanks, ray


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Formula help - indirect & sumif & dates .....

=SUMPRODUCT(--(Format(INDIRECT("'"&$A2&"'!A2:A366"),"mmm")=$B2), OFFSET(INDIRECT("'"&$A2&"'!B2:Y366"),0,COLUMN(A1)-1))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Ray" wrote in message
ups.com...
Bob,

The Summary sheet uses Months (format:MMM) , while the source sheets
use days (format: MM/DD/YY) -- how would I modify your suggested
formula to make this conversion?

thanks, ray




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
SUMIF and INDIRECT Lok Tak Cheong Excel Worksheet Functions 3 April 10th 07 06:26 AM
sumif + indirect kevcar40 Excel Discussion (Misc queries) 3 March 13th 07 03:24 PM
SUMIF + INDIRECT? Davoud Excel Worksheet Functions 4 February 22nd 07 07:50 PM
SUMIF INDIRECT Alectrical Excel Worksheet Functions 8 November 28th 05 02:05 PM
Combine Indirect and Sumif dcd123 Excel Worksheet Functions 3 October 27th 05 04:20 PM


All times are GMT +1. The time now is 10:03 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"