Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default Sumproduct question

I have this equation:

=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83))

I want to modify it so that it will work only if AC$2:AC$80="ABC". What do
I need to do?

Thanks,
Barb Reinhardt
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Sumproduct question

If by 'only work' you mean only count those rows satisfying the additional
criterion, just add another 'clause' with that requirement:
=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83),--(AC$2:AC$80="ABC"))


"Barb Reinhardt" wrote:

I have this equation:

=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83))

I want to modify it so that it will work only if AC$2:AC$80="ABC". What do
I need to do?

Thanks,
Barb Reinhardt

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default Sumproduct question

Doh! Why didn't I think of that.

Thanks,
Barb

"bpeltzer" wrote:

If by 'only work' you mean only count those rows satisfying the additional
criterion, just add another 'clause' with that requirement:
=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83),--(AC$2:AC$80="ABC"))


"Barb Reinhardt" wrote:

I have this equation:

=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83))

I want to modify it so that it will work only if AC$2:AC$80="ABC". What do
I need to do?

Thanks,
Barb Reinhardt

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Richard Buttrey
 
Posts: n/a
Default Sumproduct question

On Mon, 26 Jun 2006 08:39:02 -0700, Barb Reinhardt
wrote:

I have this equation:

=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83))

I want to modify it so that it will work only if AC$2:AC$80="ABC". What do
I need to do?

Thanks,
Barb Reinhardt



Untested, but try

SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83),--(AC$2:AC$80="ABC"))

Rgds
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
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 [email protected] Excel Discussion (Misc queries) 5 May 16th 06 03:43 PM
Sumproduct Question [email protected] Excel Discussion (Misc queries) 9 March 10th 06 04:26 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
sumproduct question taxmom Excel Worksheet Functions 3 April 18th 05 07:01 PM


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