Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default SUMIF OR SUMPRODUCT??

I am using the sumif function to return values from a linked workbook. When
the linked workbook is not open, however, the cells using this formula
returns a #VALUE! error. I have tried using SUMPRODUCT, but I get another
error message. Maybe it's how I have the formula setup??

=SUMIF(MYWORKBOOK$DC$5:$DC$26,"60%",H2:H23)

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$26,"60%",G2:G23))

Anyone have any suggestions to fix this?

What I can't understand is WHY I get the #VALUE! when the linked workbook is
closed, but when I open it, the values are "popped" into the cells...

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMIF OR SUMPRODUCT??

I'm assuming MYWORKBOOK is just shorthand and you're using the correct
path/file name/sheet name.

Try it like this:

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$2660%),G2:G23)


--
Biff
Microsoft Excel MVP


"MDI Anne" wrote in message
...
I am using the sumif function to return values from a linked workbook.
When
the linked workbook is not open, however, the cells using this formula
returns a #VALUE! error. I have tried using SUMPRODUCT, but I get another
error message. Maybe it's how I have the formula setup??

=SUMIF(MYWORKBOOK$DC$5:$DC$26,"60%",H2:H23)

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$26,"60%",G2:G23))

Anyone have any suggestions to fix this?

What I can't understand is WHY I get the #VALUE! when the linked workbook
is
closed, but when I open it, the values are "popped" into the cells...

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default SUMIF OR SUMPRODUCT??

Perfect!! After I corrected mine with yours...I got a DIV/0...and when I
got that corrected... voila!!

Thank you!!

"T. Valko" wrote:

I'm assuming MYWORKBOOK is just shorthand and you're using the correct
path/file name/sheet name.

Try it like this:

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$2660%),G2:G23)


--
Biff
Microsoft Excel MVP


"MDI Anne" wrote in message
...
I am using the sumif function to return values from a linked workbook.
When
the linked workbook is not open, however, the cells using this formula
returns a #VALUE! error. I have tried using SUMPRODUCT, but I get another
error message. Maybe it's how I have the formula setup??

=SUMIF(MYWORKBOOK$DC$5:$DC$26,"60%",H2:H23)

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$26,"60%",G2:G23))

Anyone have any suggestions to fix this?

What I can't understand is WHY I get the #VALUE! when the linked workbook
is
closed, but when I open it, the values are "popped" into the cells...

Thanks.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMIF OR SUMPRODUCT??

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"MDI Anne" wrote in message
...
Perfect!! After I corrected mine with yours...I got a DIV/0...and when I
got that corrected... voila!!

Thank you!!

"T. Valko" wrote:

I'm assuming MYWORKBOOK is just shorthand and you're using the correct
path/file name/sheet name.

Try it like this:

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$2660%),G2:G23)


--
Biff
Microsoft Excel MVP


"MDI Anne" wrote in message
...
I am using the sumif function to return values from a linked workbook.
When
the linked workbook is not open, however, the cells using this formula
returns a #VALUE! error. I have tried using SUMPRODUCT, but I get
another
error message. Maybe it's how I have the formula setup??

=SUMIF(MYWORKBOOK$DC$5:$DC$26,"60%",H2:H23)

=SUMPRODUCT(--(MYWOOKBOOK$DC$5:$DC$26,"60%",G2:G23))

Anyone have any suggestions to fix this?

What I can't understand is WHY I get the #VALUE! when the linked
workbook
is
closed, but when I open it, the values are "popped" into the cells...

Thanks.






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-sumproduct yshridhar Excel Worksheet Functions 6 September 13th 07 06:02 AM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumif or sumproduct? ronnomad Excel Worksheet Functions 5 August 7th 06 10:13 PM
SUMPRODUCT or SUMIF Serge Excel Discussion (Misc queries) 17 April 10th 06 11:50 PM
Sumif or Sumproduct? Maybe neither? Steve Excel Worksheet Functions 1 February 4th 06 08:00 PM


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