#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default SUMPRODUCT Error

When I use the following formula I get the correct results

=SUMPRODUCT(--('Employee Data'!$H$4:$H$60=$C$3)*--('Employee
Data'!$J$4:$J$60=$A19)*--('Employee Data'!$P$4:$U$60))

However when I change the last range P4:u60 to another range say x4:ac60 I
get the #VALUE! error.

The only difference is that the first range the values are manully recorded
and the second range the numbers are procdued by the following Formula

=IF(P55="","",VLOOKUP(P$2,Points!$B$2:$D$7,3)*P55)

Any asssitance would be appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default SUMPRODUCT Error

First, drop the --'s from your formula:

=SUMPRODUCT(('Employee Data'!$H$4:$H$60=$C$3)
*('Employee Data'!$J$4:$J$60=$A19)
*('Employee Data'!$P$4:$U$60))

Second, if you have text in that last range (P4:U60), then it's the equivalent
of doing:

=3*""
or
=3*"asdf"
And that'll end up with the same kind of #value! error.

If you have formulas in that third range that return ""'s, maybe you could
return 0's and format those cells so that they look empty????


Curtis wrote:

When I use the following formula I get the correct results

=SUMPRODUCT(--('Employee Data'!$H$4:$H$60=$C$3)*--('Employee
Data'!$J$4:$J$60=$A19)*--('Employee Data'!$P$4:$U$60))

However when I change the last range P4:u60 to another range say x4:ac60 I
get the #VALUE! error.

The only difference is that the first range the values are manully recorded
and the second range the numbers are procdued by the following Formula

=IF(P55="","",VLOOKUP(P$2,Points!$B$2:$D$7,3)*P55)

Any asssitance would be appreciated


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default SUMPRODUCT Error

Thanks




"Dave Peterson" wrote:

First, drop the --'s from your formula:

=SUMPRODUCT(('Employee Data'!$H$4:$H$60=$C$3)
*('Employee Data'!$J$4:$J$60=$A19)
*('Employee Data'!$P$4:$U$60))

Second, if you have text in that last range (P4:U60), then it's the equivalent
of doing:

=3*""
or
=3*"asdf"
And that'll end up with the same kind of #value! error.

If you have formulas in that third range that return ""'s, maybe you could
return 0's and format those cells so that they look empty????


Curtis wrote:

When I use the following formula I get the correct results

=SUMPRODUCT(--('Employee Data'!$H$4:$H$60=$C$3)*--('Employee
Data'!$J$4:$J$60=$A19)*--('Employee Data'!$P$4:$U$60))

However when I change the last range P4:u60 to another range say x4:ac60 I
get the #VALUE! error.

The only difference is that the first range the values are manully recorded
and the second range the numbers are procdued by the following Formula

=IF(P55="","",VLOOKUP(P$2,Points!$B$2:$D$7,3)*P55)

Any asssitance would be appreciated


--

Dave Peterson

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
sumproduct value error quinn111 Excel Discussion (Misc queries) 4 January 23rd 09 03:05 AM
error sumproduct #value! Tufail Excel Discussion (Misc queries) 9 December 15th 08 02:53 PM
error in SUMPRODUCT Tufail Excel Discussion (Misc queries) 8 December 17th 07 12:03 AM
SUMPRODUCT #VALUE! error Chris Slowe Excel Worksheet Functions 2 June 19th 07 05:00 PM
SUMPRODUCT ERROR Mestrella31 Excel Discussion (Misc queries) 1 January 26th 05 08:01 PM


All times are GMT +1. The time now is 12:16 PM.

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"