LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default Function To Add across Multiple Sheets with a Twist

Brian Ballek wrote...
....
across multiple sheets where the data to be summed won't always
be in the same cell reference. But it should always have the same
label 2 cells to the left. Could this method be enhanced to have
the formula find the right data in all sheets within the
Start:End range based on a given text string?

....

No.

If you need possibly different cells on different worksheets, you
can't use 3D references. You could use indirect referencing, but you'd
need a list of the names of all the worksheets you need to process. If
you had such a list in a range named WSLST, and if the labels would
always be in col C and the corresponding values always in col E, and
the labels and values of interest always between rows 5 and 100, and
there were no duplicate labels in C5:C100 in any of these worksheets,
you could use

=SUMPRODUCT(SUMIF(INDIRECT("'"&WSLST&"'!C5:C100"), <label_sought,
INDIRECT("'"&WSLST&"'!E5:E100")))

 
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 with multiple criteria with an extra twist Peanut Excel Worksheet Functions 7 August 2nd 07 09:36 PM
Multiple Arguments - New Twist dansargeant Excel Worksheet Functions 2 March 10th 06 03:28 PM
Sum function across multiple sheets neta Excel Worksheet Functions 3 August 14th 05 04:33 PM
Summing across multiple sheets with a twist hillmic Excel Worksheet Functions 5 June 27th 05 04:56 PM
Sum Indirect function through multiple sheets Andre Croteau Excel Discussion (Misc queries) 2 May 6th 05 10:44 AM


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