Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default #N/A error in sumproduct

Here is my formula:
=SUMPRODUCT((Data!$E$2:$E$3000=$A$1)*(Data!$C$2:$C $3000=$A3)*(Data!$D$2:$D$3000="N"))
If I remove the last segment *(Data!$D$2:$D$3000="N") then I get a result.
When it's included I get #N/A. In Data!D2:D3000 is the result of an =if that
results in Y or N. I also tried changing the =if to 1 or 0 with the same
result.
Can someone help?
Thanks!
Joe M.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default #N/A error in sumproduct

Somewhere in your D column, you have a cell with #N/A in it. Try turning on
Autofilter. It will show you the different contents you have in the cells in
Column D, and point you to the ones which aren't Y or N

Regards
Fred.

"Joe M." wrote in message
...
Here is my formula:
=SUMPRODUCT((Data!$E$2:$E$3000=$A$1)*(Data!$C$2:$C $3000=$A3)*(Data!$D$2:$D$3000="N"))
If I remove the last segment *(Data!$D$2:$D$3000="N") then I get a result.
When it's included I get #N/A. In Data!D2:D3000 is the result of an =if
that
results in Y or N. I also tried changing the =if to 1 or 0 with the same
result.
Can someone help?
Thanks!
Joe M.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default #N/A error in sumproduct

Yes my Data!D column contained some invalid data with #N/A. Thanks for your
help!

Joe M.

"Joe M." wrote:

Here is my formula:
=SUMPRODUCT((Data!$E$2:$E$3000=$A$1)*(Data!$C$2:$C $3000=$A3)*(Data!$D$2:$D$3000="N"))
If I remove the last segment *(Data!$D$2:$D$3000="N") then I get a result.
When it's included I get #N/A. In Data!D2:D3000 is the result of an =if that
results in Y or N. I also tried changing the =if to 1 or 0 with the same
result.
Can someone help?
Thanks!
Joe M.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default #N/A error in sumproduct

Glad to help. Thanks for the feedback.

Fred.

"Joe M." wrote in message
...
Yes my Data!D column contained some invalid data with #N/A. Thanks for
your
help!

Joe M.

"Joe M." wrote:

Here is my formula:
=SUMPRODUCT((Data!$E$2:$E$3000=$A$1)*(Data!$C$2:$C $3000=$A3)*(Data!$D$2:$D$3000="N"))
If I remove the last segment *(Data!$D$2:$D$3000="N") then I get a
result.
When it's included I get #N/A. In Data!D2:D3000 is the result of an =if
that
results in Y or N. I also tried changing the =if to 1 or 0 with the same
result.
Can someone help?
Thanks!
Joe M.


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
#N/A error in sumproduct Paul C Excel Discussion (Misc queries) 0 December 9th 09 10:33 PM
another sumproduct with #value error... Maya[_2_] Excel Worksheet Functions 5 September 21st 09 02:19 PM
SUMPRODUCT #VALUE! error Chris Slowe Excel Worksheet Functions 2 June 19th 07 05:00 PM
Sumproduct error Curtis Excel Worksheet Functions 2 October 29th 06 10:18 PM
#ref error with Sumproduct [email protected] Excel Worksheet Functions 5 October 9th 06 07:00 PM


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