Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Sumproduct Value Error Message

Hi google groups?

I have been searching online to find a way to make a count by two
criteria - year and Y/N. In all the searching it seems I have to do a
sumproduct, and wrote the formula below. When I do countifs for each
individual criteria, I get the actual number (e.g. =COUNTIF('Other
Worksheet'!$M$4:$M$2000,"Y"), but when I use the sumproduct formula, I
receive a #VALUE! error message. I've used the " " for the text.
What else could cause this error message?

=SUMPRODUCT(('Other Worksheet'!$K$4:$K$2000=1997)*('Other Worksheet'!$M
$4:$M$2000="Y"))

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct Value Error Message

"SunshineMR" wrote in message
...
Hi google groups?

I have been searching online to find a way to make a count by two
criteria - year and Y/N. In all the searching it seems I have to do a
sumproduct, and wrote the formula below. When I do countifs for each
individual criteria, I get the actual number (e.g. =COUNTIF('Other
Worksheet'!$M$4:$M$2000,"Y"), but when I use the sumproduct formula, I
receive a #VALUE! error message. I've used the " " for the text.
What else could cause this error message?

=SUMPRODUCT(('Other Worksheet'!$K$4:$K$2000=1997)*('Other Worksheet'!$M
$4:$M$2000="Y"))

Thanks!


There's nothing wrong with your formula. Are there any #VALUE! errors in any
of the referenced ranges?

--
Biff
Microsoft Excel MVP


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Sumproduct Value Error Message

Try this:
=SUMPRODUCT(N('Other Worksheet'!$K$4:$K$2000=1997)*N('Other
Worksheet'!$M$4:$M$2000="Y"))
SUMPRODUCT needs numeric arguments. The arguments in the previous version of
your formula were an array of TRUE and FALSE values. Using the N funtion
these will become an array of ! and ) values.
--
Adilson Soledade


"T. Valko" wrote:

"SunshineMR" wrote in message
...
Hi google groups?

I have been searching online to find a way to make a count by two
criteria - year and Y/N. In all the searching it seems I have to do a
sumproduct, and wrote the formula below. When I do countifs for each
individual criteria, I get the actual number (e.g. =COUNTIF('Other
Worksheet'!$M$4:$M$2000,"Y"), but when I use the sumproduct formula, I
receive a #VALUE! error message. I've used the " " for the text.
What else could cause this error message?

=SUMPRODUCT(('Other Worksheet'!$K$4:$K$2000=1997)*('Other Worksheet'!$M
$4:$M$2000="Y"))

Thanks!


There's nothing wrong with your formula. Are there any #VALUE! errors in any
of the referenced ranges?

--
Biff
Microsoft Excel MVP



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct Value Error Message

The arguments in the previous version of your
formula were an array of TRUE and FALSE values
Using the N funtion these will become an
array of ! and ) values.


I guess you missed this part of the formula:

....2000=1997)*('Other Worksheet'!...

N does nothing that the "*" already doesn't do so the use of the N function
is redundant.


--
Biff
Microsoft Excel MVP


"Adilson Soledade" wrote in
message ...
Try this:
=SUMPRODUCT(N('Other Worksheet'!$K$4:$K$2000=1997)*N('Other
Worksheet'!$M$4:$M$2000="Y"))
SUMPRODUCT needs numeric arguments. The arguments in the previous version
of
your formula were an array of TRUE and FALSE values. Using the N funtion
these will become an array of ! and ) values.
--
Adilson Soledade


"T. Valko" wrote:

"SunshineMR" wrote in message
...
Hi google groups?

I have been searching online to find a way to make a count by two
criteria - year and Y/N. In all the searching it seems I have to do a
sumproduct, and wrote the formula below. When I do countifs for each
individual criteria, I get the actual number (e.g. =COUNTIF('Other
Worksheet'!$M$4:$M$2000,"Y"), but when I use the sumproduct formula, I
receive a #VALUE! error message. I've used the " " for the text.
What else could cause this error message?

=SUMPRODUCT(('Other Worksheet'!$K$4:$K$2000=1997)*('Other Worksheet'!$M
$4:$M$2000="Y"))

Thanks!


There's nothing wrong with your formula. Are there any #VALUE! errors in
any
of the referenced ranges?

--
Biff
Microsoft Excel MVP





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Sumproduct Value Error Message

I am having a similar problem this morning.

=SUMPRODUCT(('0107'!$E1:$E200="CURRENT")*('0107'!
$F1:$F200="VIRTUOSO")*('0107'!$C1:$C200))

It is returning the #VALUE! error. The arguements are all correct and
my reference data is also correct on the other sheet.


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Sumproduct Value Error Message

So are you going to help other readers of the group by telling them the
cause of your problem? Normally we would have assumed that there was an
error in your input values, but you are assuring us that this is not the
case, so I am sure that other readers would be delighted to hear your
explanation.

Just to satisfy our idle curiosity, what do you get from the formula
=SUM(--ISTEXT('0107'!C1:C200)) entered as an array formula (Control Shift
Enter, which will put curly brackets around the formula)?
--
David Biddulph

wrote in message
...
I am having a similar problem this morning.

=SUMPRODUCT(('0107'!$E1:$E200="CURRENT")*('0107'!
$F1:$F200="VIRTUOSO")*('0107'!$C1:$C200))

It is returning the #VALUE! error. The arguements are all correct and
my reference data is also correct on the other sheet.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Sumproduct Value Error Message

Do you have any text in C1:C200 of the 0107 worksheet?

Do you have any errores in E1:E200 or F1:F200 of that same sheet?

Remember to look at headers and hidden (by autofilter???) rows, too.

wrote:

I am having a similar problem this morning.

=SUMPRODUCT(('0107'!$E1:$E200="CURRENT")*('0107'!
$F1:$F200="VIRTUOSO")*('0107'!$C1:$C200))

It is returning the #VALUE! error. The arguements are all correct and
my reference data is also correct on the other sheet.


--

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
Error - message help please Jeff Excel Discussion (Misc queries) 0 February 11th 08 08:49 PM
VBA Error Message "Compile Error...." Steve Excel Discussion (Misc queries) 3 July 15th 05 09:20 AM
It's me again!! Error message. Pgsmom Excel Discussion (Misc queries) 12 March 18th 05 11:03 AM
changing the message in an error message The Villages DA Excel Worksheet Functions 2 February 18th 05 05:30 PM
How do I get rid of "Compile error in hidden module" error message David Excel Discussion (Misc queries) 4 January 21st 05 11:39 PM


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