Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LPS LPS is offline
external usenet poster
 
Posts: 108
Default XL2000 - Sumproduct Question

I have 12 spreadsheets. 11 are client lists by caseworker (11 case workers,
11 client lists). The other is a summary sheet. In the summary sheet, I am
trying to summarise, by caseworker, the number if clients which match
specfiic criteria. For example, in the caseworker detail sheet (CAWL -
Cloutier, Teresa .xls]Case Activity) there is a column (column I) identifying
the status (Active, Outcome or Dormant). Then there is a column (Column F)
identifying the type of case (TW, PW, etc). Then there is the client name
column (Column B).

I am trying to use the SUMPRODUCTfunction to add up the number of clients
whose status is Active and whose type it TW, as follows:

=SUMPRODUCT('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$I$18:$I$1000="Active")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$F$18:$F$1000="tw")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$B$18:$B$1000<"")

I am entering it as an array formula but get 0 (zero) as the result. There
are at least 2 entries which should match this set of criteria. Can anyone
tell me what I am doing wrong? I am fairly new to the SUMPRODUCT function.

Thank you for any and all help.
--
LPS
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LPS LPS is offline
external usenet poster
 
Posts: 108
Default XL2000 - Sumproduct Question

I think I found my own answer... YAY... I forgot to use the unary operators
to convert the alpha data to numeric data. Does that sound correct?
--
LPS


"LPS" wrote:

I have 12 spreadsheets. 11 are client lists by caseworker (11 case workers,
11 client lists). The other is a summary sheet. In the summary sheet, I am
trying to summarise, by caseworker, the number if clients which match
specfiic criteria. For example, in the caseworker detail sheet (CAWL -
Cloutier, Teresa .xls]Case Activity) there is a column (column I) identifying
the status (Active, Outcome or Dormant). Then there is a column (Column F)
identifying the type of case (TW, PW, etc). Then there is the client name
column (Column B).

I am trying to use the SUMPRODUCTfunction to add up the number of clients
whose status is Active and whose type it TW, as follows:

=SUMPRODUCT('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$I$18:$I$1000="Active")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$F$18:$F$1000="tw")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$B$18:$B$1000<"")

I am entering it as an array formula but get 0 (zero) as the result. There
are at least 2 entries which should match this set of criteria. Can anyone
tell me what I am doing wrong? I am fairly new to the SUMPRODUCT function.

Thank you for any and all help.
--
LPS

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default XL2000 - Sumproduct Question

Nope.

Multiplying the arguments will coerce the booleans to 1's and 0's.

=SUMPRODUCT(
('[CAWL - Cloutier, Teresa .xls]Case Activity'!$I$18:$I$1000="Active")
*('[CAWL - Cloutier, Teresa .xls]Case Activity'!$F$18:$F$1000="tw")
*('[CAWL - Cloutier, Teresa .xls]Case Activity'!$B$18:$B$1000<""))

It was the missing ()'s.

LPS wrote:

I think I found my own answer... YAY... I forgot to use the unary operators
to convert the alpha data to numeric data. Does that sound correct?
--
LPS

"LPS" wrote:

I have 12 spreadsheets. 11 are client lists by caseworker (11 case workers,
11 client lists). The other is a summary sheet. In the summary sheet, I am
trying to summarise, by caseworker, the number if clients which match
specfiic criteria. For example, in the caseworker detail sheet (CAWL -
Cloutier, Teresa .xls]Case Activity) there is a column (column I) identifying
the status (Active, Outcome or Dormant). Then there is a column (Column F)
identifying the type of case (TW, PW, etc). Then there is the client name
column (Column B).

I am trying to use the SUMPRODUCTfunction to add up the number of clients
whose status is Active and whose type it TW, as follows:

=SUMPRODUCT('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$I$18:$I$1000="Active")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$F$18:$F$1000="tw")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$B$18:$B$1000<"")

I am entering it as an array formula but get 0 (zero) as the result. There
are at least 2 entries which should match this set of criteria. Can anyone
tell me what I am doing wrong? I am fairly new to the SUMPRODUCT function.

Thank you for any and all help.
--
LPS


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default XL2000 - Sumproduct Question

Hi,

Start by change to

=SUMPRODUCT(--('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$I$18:$I$1000="Active"),--('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$F$18:$F$1000="tw"),--('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$B$18:$B$1000<""))

Although I think you were missing a parenthesis in one place in your
original formula.

If this helps, please click the Yes button

Cheers,
Shane Devensire


"LPS" wrote:

I have 12 spreadsheets. 11 are client lists by caseworker (11 case workers,
11 client lists). The other is a summary sheet. In the summary sheet, I am
trying to summarise, by caseworker, the number if clients which match
specfiic criteria. For example, in the caseworker detail sheet (CAWL -
Cloutier, Teresa .xls]Case Activity) there is a column (column I) identifying
the status (Active, Outcome or Dormant). Then there is a column (Column F)
identifying the type of case (TW, PW, etc). Then there is the client name
column (Column B).

I am trying to use the SUMPRODUCTfunction to add up the number of clients
whose status is Active and whose type it TW, as follows:

=SUMPRODUCT('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$I$18:$I$1000="Active")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$F$18:$F$1000="tw")*('[CAWL - Cloutier, Teresa .xls]Case
Activity'!$B$18:$B$1000<"")

I am entering it as an array formula but get 0 (zero) as the result. There
are at least 2 entries which should match this set of criteria. Can anyone
tell me what I am doing wrong? I am fairly new to the SUMPRODUCT function.

Thank you for any and all help.
--
LPS

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 Question Sandy Excel Worksheet Functions 4 October 13th 07 12:45 PM
Sumproduct question wx4usa Excel Discussion (Misc queries) 1 July 30th 07 11:52 PM
SUMPRODUCT Question s2m via OfficeKB.com Excel Discussion (Misc queries) 2 August 9th 06 02:34 PM
Question about sumproduct Jason Excel Discussion (Misc queries) 1 April 21st 05 05:44 PM
Question about sumproduct bj Excel Discussion (Misc queries) 0 April 21st 05 05:40 PM


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