Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default SUMPRODUCT - Giving me trouble

I'm having trouble with the SUMPRODUCT funtion and I am hoping you can help.

I have a worksheet that has a listing of classes. In column A are the
course names and in column I are the instructors. What I want to do is
summarize how many times each instructor has delivered each course.

In a seperate worksheet I have a list of the unique course names down column
A and accross the top of the sheet I have the instructor names (B1, C1, D1...)

The formula I have tried is as follows:

=SUMPRODUCT(
--(Schedule!$A$2:$A$9999=$A2),
--(Schedule!$I$2:$I$9999=B1))

The result I get is #N/A. I have tried using CTRL+SHIFT+ENTER, but that
yields the same result.

I have used this basic formula in other workbooks and it works fine.

Any ideas why it isn't working for me now?

Thanks,

Scott
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default SUMPRODUCT - Giving me trouble

Does your data contain #N/A in any of the values in
Schedule!$A$2:$A$9999 or Schedule!$I$2:$I$9999?


In article ,
porter444 wrote:

The formula I have tried is as follows:

=SUMPRODUCT(
--(Schedule!$A$2:$A$9999=$A2),
--(Schedule!$I$2:$I$9999=B1))

The result I get is #N/A. I have tried using CTRL+SHIFT+ENTER, but that
yields the same result.

I have used this basic formula in other workbooks and it works fine.

Any ideas why it isn't working for me now?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default SUMPRODUCT - Giving me trouble

That was it! There was one row that had an #N/A in the instructor column.

Thank you so much!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default SUMPRODUCT - Giving me trouble

You can build checks for ERRORS into the SUMPRODUCT. Try this:

=SUMPRODUCT(
--(if(isnumber(Schedule!$A$2:$A$9999=$A2),Schedule!$ A$2:$A$9999)),
--(if(isnumber(Schedule!$I$2:$I$9999=B1),Schedule!$I $2:$I$9999)))

I haven't tested this, and I have a feeling it needs some () somewhere.
You will need to commit this with CTRL SHIFT ENTER


"porter444" wrote:

I'm having trouble with the SUMPRODUCT funtion and I am hoping you can help.

I have a worksheet that has a listing of classes. In column A are the
course names and in column I are the instructors. What I want to do is
summarize how many times each instructor has delivered each course.

In a seperate worksheet I have a list of the unique course names down column
A and accross the top of the sheet I have the instructor names (B1, C1, D1...)

The formula I have tried is as follows:

=SUMPRODUCT(
--(Schedule!$A$2:$A$9999=$A2),
--(Schedule!$I$2:$I$9999=B1))

The result I get is #N/A. I have tried using CTRL+SHIFT+ENTER, but that
yields the same result.

I have used this basic formula in other workbooks and it works fine.

Any ideas why it isn't working for me now?

Thanks,

Scott

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 trouble Greg Snidow Excel Worksheet Functions 14 November 20th 06 09:42 PM
Sumproduct giving #NA Gary Excel Worksheet Functions 2 August 3rd 06 11:47 AM
Giving value to a letter =!CmOrE!= Excel Worksheet Functions 6 July 21st 06 01:56 AM
Trouble with SUMPRODUCT edwardpestian Excel Worksheet Functions 7 July 5th 06 08:06 AM
help please - trouble with sumproduct function Jennie Excel Worksheet Functions 2 June 17th 05 09:40 PM


All times are GMT +1. The time now is 06:42 PM.

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"