Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default SUMProduct Part II

I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))

When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array symbols.

Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default SUMProduct Part II

try

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))



"PAL" wrote:

I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"),--('Enroll I'!P$2:$P$2921="Regular"))


When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array symbols.

Ideas?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default SUMProduct Part II

opps something was wrong try
just found an extra ) in the last yes statement

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"),--('Enroll I'!P$2:$P$2921="Regular"))


"Eduardo" wrote:

try

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))



"PAL" wrote:

I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"),--('Enroll I'!P$2:$P$2921="Regular"))


When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array symbols.

Ideas?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMProduct Part II

When I add an additional parameter in
--('Enroll I'!P$2:$P$2921="Regular")
I get the infamous, "#N/A" error.


Are there any #N/A errors already in that range?

If so, you should correct those formulas so they don't return #N/A.

--
Biff
Microsoft Excel MVP


"PAL" wrote in message
...
I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))

When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array
symbols.

Ideas?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMProduct Part II

=SUMPRODUCT(
--('Enroll I'!A$2:$A$2921=$B17),
--('Enroll I'!$O$2:$O$2921="NSITE0"),
--('Enroll I'!M$2:$M$2921="Yes"),
--('Enroll I'!N$2:$N$2921="Yes"),
--('Enroll I'!P$2:$P$2921="Regular"))

If this post helps click Yes
---------------
Jacob Skaria


"PAL" wrote:

I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))

When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array symbols.

Ideas?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMProduct Part II


You have to put the extra condition before the overall closing
parenthesis:

Code:
--------------------

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"),--('Enroll I'!P$2:$P$2921="Regular"))
--------------------


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122392

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default SUMProduct Part II

Hi,

Although your formula has a closing parenthesis in the wrong place that
should not return an #N/A error message, just an incorrect result possibly.

Check the range 'Enroll I'!P$2:$P$2921 there is probably a formula in that
range returning and #N/A

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"PAL" wrote:

I am working with this formula and it works great.

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes"))

When I add an additional parameter in --('Enroll I'!P$2:$P$2921="Regular")

To look like this....

=SUMPRODUCT(--('Enroll I'!A$2:$A$2921=$B17),--('Enroll
I'!$O$2:$O$2921="NSITE0"),--('Enroll I'!M$2:$M$2921="Yes"),--('Enroll
I'!N$2:$N$2921="Yes")),--('Enroll I'!P$2:$P$2921="Regular"))

I get the infamous, "#N/A" error. The page I am referencing, 'Enroll I",
gets the value from another sheet. It seems to be in the right format -I
have tried, General or Text. I have also tried w and w/o the array symbols.

Ideas?

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 using part of a Cell prozewski Excel Discussion (Misc queries) 1 March 9th 09 01:02 PM
Search/Match/Find ANY part of string to ANY part of Cell Value TWhizTom Excel Worksheet Functions 0 July 21st 08 08:16 PM
Replace Old Part Numbers with New Part Numbers in a Macro. Jeffery Keown Excel Discussion (Misc queries) 5 October 17th 06 03:45 PM
Copying Part of a row down part of a column Not Excelling Excel Discussion (Misc queries) 3 January 6th 06 11:58 PM
sumproduct of part cells of a range with blanks excelFan Excel Discussion (Misc queries) 4 February 25th 05 10:37 PM


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

 

ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.