#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Sumif range?

I have the following Sumif formula, which works fine.

=SUMIF('South Central'!E:E,summary!$C$1,'South Central'!B:B)


Is it possible to reference a cell that has South Central typed and the
formula use the sheet name and still work properly? I have a large
spreadsheet with numerous sheets to summarize. Referencing a cell for the
sheet names I could copy the formula rather than having to type all the
individual sheet names.

Any help is appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 183
Default Sumif range?

TRY
=SUMIF(INDIRECT("'" & $B5 & "'!E:E",TRUE),summary!$C$1,INDIRECT("'" & $B5 &
"'!B:B",TRUE))
--
caroline


"JHL" wrote:

I have the following Sumif formula, which works fine.

=SUMIF('South Central'!E:E,summary!$C$1,'South Central'!B:B)


Is it possible to reference a cell that has South Central typed and the
formula use the sheet name and still work properly? I have a large
spreadsheet with numerous sheets to summarize. Referencing a cell for the
sheet names I could copy the formula rather than having to type all the
individual sheet names.

Any help is appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Sumif range?

Thanks caroline. That worked perferctly. I had to change the $B5 to my
actual sheet reference.
I have another question, please? I want to qualify a date in this same
formula.

On sheet were the sumif is written I have a date in cell F1. That date
corresponds to the date column that we are referencing in $B5. If I want to
look for specific dates or a range of dates, how would that be coded in this
sumif?

Thanks so much, and that would be the end of it - I promise.


"caroline" wrote:

TRY
=SUMIF(INDIRECT("'" & $B5 & "'!E:E",TRUE),summary!$C$1,INDIRECT("'" & $B5 &
"'!B:B",TRUE))
--
caroline


"JHL" wrote:

I have the following Sumif formula, which works fine.

=SUMIF('South Central'!E:E,summary!$C$1,'South Central'!B:B)


Is it possible to reference a cell that has South Central typed and the
formula use the sheet name and still work properly? I have a large
spreadsheet with numerous sheets to summarize. Referencing a cell for the
sheet names I could copy the formula rather than having to type all the
individual sheet names.

Any help is appreciated.

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 between a range John Excel Discussion (Misc queries) 3 June 6th 07 03:01 PM
sumif() using range name Jeff Wimer Excel Worksheet Functions 1 October 18th 06 11:47 PM
How to use a range in SUMIF? bdddd Excel Worksheet Functions 7 February 14th 06 06:44 PM
Sumif and a range Metolius Dad Excel Worksheet Functions 3 February 14th 06 09:25 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 07:03 PM.

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"