Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,560
Default SUMPRODUCT troubles

Hello all,
I have read many posts on this subject, and thought I figured it out. But
the formula result is 0.

I have data in a tab named Data. Column AA is the ticket number. Column AE
is the ticket level (1,2,3 or 4).

I am trying to count the number of unique ticket numbers in column AA and
ticket level column AE for each ticket level in the formula.

=SUMPRODUCT((Data!AE2:Data!AE100="1")/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"" )*(Data!AA2:Data!AA100<""))

Sample Data
AA AE
1234 1
1235 1
1234 1

i would like the formula to return the value of 2

What am I doing wrong?

Any assistance is greatly appreciated.

David



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default SUMPRODUCT troubles

Remove quotes from around the 1 UNLESS that column is TEXT: worked OK for me.

=SUMPRODUCT((Data!AE2:Data!AE100=1)/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"" )*(Data!AA2:Data!AA100<""))

"David" wrote:

Hello all,
I have read many posts on this subject, and thought I figured it out. But
the formula result is 0.

I have data in a tab named Data. Column AA is the ticket number. Column AE
is the ticket level (1,2,3 or 4).

I am trying to count the number of unique ticket numbers in column AA and
ticket level column AE for each ticket level in the formula.

=SUMPRODUCT((Data!AE2:Data!AE100="1")/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"" )*(Data!AA2:Data!AA100<""))

Sample Data
AA AE
1234 1
1235 1
1234 1

i would like the formula to return the value of 2

What am I doing wrong?

Any assistance is greatly appreciated.

David



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,560
Default SUMPRODUCT troubles

Thank you. Works fine for me too without the quotes.

"Toppers" wrote:

Remove quotes from around the 1 UNLESS that column is TEXT: worked OK for me.

=SUMPRODUCT((Data!AE2:Data!AE100=1)/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"" )*(Data!AA2:Data!AA100<""))

"David" wrote:

Hello all,
I have read many posts on this subject, and thought I figured it out. But
the formula result is 0.

I have data in a tab named Data. Column AA is the ticket number. Column AE
is the ticket level (1,2,3 or 4).

I am trying to count the number of unique ticket numbers in column AA and
ticket level column AE for each ticket level in the formula.

=SUMPRODUCT((Data!AE2:Data!AE100="1")/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"" )*(Data!AA2:Data!AA100<""))

Sample Data
AA AE
1234 1
1235 1
1234 1

i would like the formula to return the value of 2

What am I doing wrong?

Any assistance is greatly appreciated.

David



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
COM Add-in Troubles Howard Excel Discussion (Misc queries) 0 May 22nd 07 01:59 PM
Chart troubles [email protected] Excel Worksheet Functions 2 May 12th 07 02:36 PM
IF troubles JG Excel Worksheet Functions 6 December 24th 06 04:58 AM
Import troubles QuestionMan Excel Discussion (Misc queries) 1 November 30th 06 11:08 PM
Vlookup Troubles GaGirl Excel Worksheet Functions 3 May 25th 06 04:29 PM


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