Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JJackson
 
Posts: n/a
Default SUMIF on multiple sheets


I am using sumif to add data from about 12 worksheets onto one total
sheet.
my range d17-d38 on multiple sheets
criteria"=103"
sum_range is g17-g38
When I put this in I get a #Value error and I cant seem to figure out
why.
If I do a single sheet at a time and put a + sign between each sumif
formula it will work but it wont work when I do multiple sheet ranges.

Any help would be greatly appreciated.
Thanks
Jaye


--
JJackson
------------------------------------------------------------------------
JJackson's Profile: http://www.hightechtalks.com/m598
View this thread: http://www.hightechtalks.com/t2317219

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default SUMIF on multiple sheets

Excel has very limited multi sheet functions, sumif does not work although
you can get around it but you need to put a list of all sheets in question
in a range, assume that range is H1:H12 now you need to put the sheet names
of ALL your sheet there then you can use

=SUMPRODUCT(SUMIF(INDIRECT("'"&H1:H12&"'!D17:D38") ,103,INDIRECT("'"&H1:H12&"'!G17:G38")))

so first type the names of all sheets in H1:H12 (or wherever you want to but
then replace H1:H12 with your range) then apply the formula

--
Regards,

Peo Sjoblom

(No private emails please)


"JJackson" wrote in message
...

I am using sumif to add data from about 12 worksheets onto one total
sheet.
my range d17-d38 on multiple sheets
criteria"=103"
sum_range is g17-g38
When I put this in I get a #Value error and I cant seem to figure out
why.
If I do a single sheet at a time and put a + sign between each sumif
formula it will work but it wont work when I do multiple sheet ranges.

Any help would be greatly appreciated.
Thanks
Jaye


--
JJackson
------------------------------------------------------------------------
JJackson's Profile: http://www.hightechtalks.com/m598
View this thread: http://www.hightechtalks.com/t2317219


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JJackson
 
Posts: n/a
Default SUMIF on multiple sheets


Im guessing it should look something like this
=SUMPRODUCT(SUMIF(INDIRECT("""sheet1:sheet13""!D17 :38"),103,INDIRECT
("'"sheet1:sheet13"'!m17:m38")))
if that is what it is supposed to look like I am still getting an error
it says invalid cell ref.
Thanks for your help with this.


--
JJackson
------------------------------------------------------------------------
JJackson's Profile: http://www.hightechtalks.com/m598
View this thread: http://www.hightechtalks.com/t2317219

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMIF on multiple sheets

No, you should enter each sheet name in a range and use that range, Peo's
formula is not using a start and end name, but requires each sheet name,
hence the range.

So enter Sheet1 in H1, Sheet2 in H2, etc, and then use the formula that Peo
gave you

=SUMPRODUCT(SUMIF(INDIRECT("'"&H1:H12&"'!D17:D38") ,103,INDIRECT("'"&H1:H12&"
'!G17:G38")))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"JJackson" wrote in message
...

Im guessing it should look something like this
=SUMPRODUCT(SUMIF(INDIRECT("""sheet1:sheet13""!D17 :38"),103,INDIRECT
("'"sheet1:sheet13"'!m17:m38")))
if that is what it is supposed to look like I am still getting an error
it says invalid cell ref.
Thanks for your help with this.


--
JJackson
------------------------------------------------------------------------
JJackson's Profile: http://www.hightechtalks.com/m598
View this thread: http://www.hightechtalks.com/t2317219



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JJackson
 
Posts: n/a
Default SUMIF on multiple sheets


I still couldnt get it to work. This is the actual formula off my sheet
maybe you can see the error I am missing.

=SUMPRODUCT(SUMIF(INDIRECT("'"&M-DEBEAU:B-HUTSON:W-DEBEAU:R-ELLER:N-CARASCO
JR:N-CARASCO
SR:B-COTTON:D-DECKER:L-GREEN:P-ROLAND:T-THOMPSON:E-GALLEGOS:M-GOINGS:M-ARAGON:E-CARASCO:L-MITCHELL:WARD&"'!D17:D38"),103,INDIRECT("'"&M-DEBEAU:B-HUTSON:W-DEBEAU:R-ELLER:N-CARASCO
JR:N-CARASCO SR:B-COTTON:D-DECKER:L-GREEN:P-ROLAND:T-THOMPSON:E-
GALLEGOS:M-GOINGS:M-ARAGON:E-CARASCO:L-MITCHELL:WARD&"'!M17:M38")))

Thanks again for all your help...


--
JJackson
------------------------------------------------------------------------
JJackson's Profile: http://www.hightechtalks.com/m598
View this thread: http://www.hightechtalks.com/t2317219



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default SUMIF on multiple sheets

Hi!

Let me ask you a question. Does the formula you posted below look anything
like what Peo and Bob have suggested?

You're not "listening" !!!

Put the names of your sheets in a range of cells:

H1 = M-DEBEAU
H2 = B-HUTSON
H3 = W-DEBEAU
...
H17 = WARD

=SUMPRODUCT(SUMIF(INDIRECT("'"&H1:H17&"'!D17:D38") ,103,INDIRECT("'"&H1:H17&"
'!M17:M38")))

Biff

"JJackson" wrote in message
...

I still couldnt get it to work. This is the actual formula off my sheet
maybe you can see the error I am missing.

=SUMPRODUCT(SUMIF(INDIRECT("'"&M-DEBEAU:B-HUTSON:W-DEBEAU:R-ELLER:N-CARASCO
JR:N-CARASCO
SR:B-COTTON:D-DECKER:L-GREEN:P-ROLAND:T-THOMPSON:E-GALLEGOS:M-GOINGS:M-ARAGON:E-CARASCO:L-MITCHELL:WARD&"'!D17:D38"),103,INDIRECT("'"&M-DEBEAU:B-HUTSON:W-DEBEAU:R-ELLER:N-CARASCO
JR:N-CARASCO SR:B-COTTON:D-DECKER:L-GREEN:P-ROLAND:T-THOMPSON:E-
GALLEGOS:M-GOINGS:M-ARAGON:E-CARASCO:L-MITCHELL:WARD&"'!M17:M38")))

Thanks again for all your help...


--
JJackson
------------------------------------------------------------------------
JJackson's Profile: http://www.hightechtalks.com/m598
View this thread: http://www.hightechtalks.com/t2317219



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
Autofilter Lists across Multiple Sheets, Maintain Correct Referenc EDSTAFF Excel Worksheet Functions 0 November 14th 05 03:27 PM
selecting multiple sheets Shaun Excel Worksheet Functions 1 August 31st 05 04:09 PM
Copying multiple sheets from one book 2 another and undertake spec Pank Mehta Excel Discussion (Misc queries) 14 March 16th 05 04:41 PM
Multiple sheets selected twa14 Excel Discussion (Misc queries) 2 December 21st 04 11:15 AM
sumif to add data in multiple sheets Sues Excel Worksheet Functions 4 November 18th 04 06:54 AM


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