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 SUMIF across multiple worksheets workaround help

What I would like to do is a SUMIF from sheet First to Last and
everything in between, but I know that isn't possible, so I've been
working on a workaround. This is what I have so far that gives me a
#VALUE! error:

=SUMPRODUCT(SUMIF(INDIRECT("'PD
#"&ROW(INDIRECT("1:2"))&"'!A:A"),A8,INDIRECT("' PD
#"&ROW(INDIRECT("1:2"))&"'!F:F")))

My sheets are named PD #1, PD #2, PD #3, etc. (Right now I'm just
trying to sum the first two sheets to see if it works.) If the value
in column A on sheet PD #whatever for any given row equals the value in
A8 then sum the values in column F of sheet PD #whatever.

If anybody has any help it would be greatly appreciated. I'm on
Windows XP and using Excel 2003.

Thank you!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default SUMIF across multiple worksheets workaround help

The syntax for the formula is correct. Although, when I copied and
pasted the formula into a worksheet I found two hard returns. Remove
them, and make sure a space exists between PD and #, and you should be
okay.

Also, if you download and install the free add-in Morefunc.xll, you can
use the following formula...

=SUMPRODUCT(--(THREED('PD #1:PD #3'!A2:A100)=A8),THREED('PD #1:PD
#3'!F2:F100))

The add-in can be download at the following link...

http://xcell05.free.fr/english/index.html

Hope this helps!

In article . com,
wrote:

What I would like to do is a SUMIF from sheet First to Last and
everything in between, but I know that isn't possible, so I've been
working on a workaround. This is what I have so far that gives me a
#VALUE! error:

=SUMPRODUCT(SUMIF(INDIRECT("'PD
#"&ROW(INDIRECT("1:2"))&"'!A:A"),A8,INDIRECT("' PD
#"&ROW(INDIRECT("1:2"))&"'!F:F")))

My sheets are named PD #1, PD #2, PD #3, etc. (Right now I'm just
trying to sum the first two sheets to see if it works.) If the value
in column A on sheet PD #whatever for any given row equals the value in
A8 then sum the values in column F of sheet PD #whatever.

If anybody has any help it would be greatly appreciated. I'm on
Windows XP and using Excel 2003.

Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMIF across multiple worksheets workaround help

Will the formula then only work on computers that have that add-in
installed? Because I need it to work on other people's computers as
well.

I think the hard returns are a result of pasting the formula into
Google, because I didn't type it in that way. And there are spaces
between PD and # both in the formula and in the worksheet names. I'm
still getting an error.

Thanks for letting me know about the add-in.

Grant

Domenic wrote:
The syntax for the formula is correct. Although, when I copied and
pasted the formula into a worksheet I found two hard returns. Remove
them, and make sure a space exists between PD and #, and you should be
okay.

Also, if you download and install the free add-in Morefunc.xll, you can
use the following formula...

=SUMPRODUCT(--(THREED('PD #1:PD #3'!A2:A100)=A8),THREED('PD #1:PD
#3'!F2:F100))

The add-in can be download at the following link...

http://xcell05.free.fr/english/index.html

Hope this helps!

In article . com,
wrote:

What I would like to do is a SUMIF from sheet First to Last and
everything in between, but I know that isn't possible, so I've been
working on a workaround. This is what I have so far that gives me a
#VALUE! error:

=SUMPRODUCT(SUMIF(INDIRECT("'PD
#"&ROW(INDIRECT("1:2"))&"'!A:A"),A8,INDIRECT("' PD
#"&ROW(INDIRECT("1:2"))&"'!F:F")))

My sheets are named PD #1, PD #2, PD #3, etc. (Right now I'm just
trying to sum the first two sheets to see if it works.) If the value
in column A on sheet PD #whatever for any given row equals the value in
A8 then sum the values in column F of sheet PD #whatever.

If anybody has any help it would be greatly appreciated. I'm on
Windows XP and using Excel 2003.

Thank you!


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default SUMIF across multiple worksheets workaround help

Domenic, This solution seemed to be the answer I was looking for, for similar
problem. I down loaded the add in and tried the formula. However I got a
#REF! error message. Can you maybe explain this to me?

Tracy

"Domenic" wrote:

The syntax for the formula is correct. Although, when I copied and
pasted the formula into a worksheet I found two hard returns. Remove
them, and make sure a space exists between PD and #, and you should be
okay.

Also, if you download and install the free add-in Morefunc.xll, you can
use the following formula...

=SUMPRODUCT(--(THREED('PD #1:PD #3'!A2:A100)=A8),THREED('PD #1:PD
#3'!F2:F100))

The add-in can be download at the following link...

http://xcell05.free.fr/english/index.html

Hope this helps!

In article . com,
wrote:

What I would like to do is a SUMIF from sheet First to Last and
everything in between, but I know that isn't possible, so I've been
working on a workaround. This is what I have so far that gives me a
#VALUE! error:

=SUMPRODUCT(SUMIF(INDIRECT("'PD
#"&ROW(INDIRECT("1:2"))&"'!A:A"),A8,INDIRECT("' PD
#"&ROW(INDIRECT("1:2"))&"'!F:F")))

My sheets are named PD #1, PD #2, PD #3, etc. (Right now I'm just
trying to sum the first two sheets to see if it works.) If the value
in column A on sheet PD #whatever for any given row equals the value in
A8 then sum the values in column F of sheet PD #whatever.

If anybody has any help it would be greatly appreciated. I'm on
Windows XP and using Excel 2003.

Thank you!


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
Print all charts in a workbook (multiple worksheets) aewsaws Charts and Charting in Excel 4 May 12th 23 03:45 AM
Functions across multiple worksheets starlight Excel Worksheet Functions 0 August 10th 05 05:10 PM
Sumif with multiple worksheets Cbh35711 Excel Worksheet Functions 3 August 9th 05 02:49 PM
how do I arrange multiple worksheets from the same workbook skytags Excel Discussion (Misc queries) 2 April 28th 05 06:46 PM
Extracting data from multiple worksheets into a list mnirula Excel Worksheet Functions 16 February 25th 05 08:52 PM


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