Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Curtis
 
Posts: n/a
Default Multiple conditions...why wont this work?

I am trying to calculate the number of instances by employee

A18 = emplyee number
column c contains range of employee numbers
column I = contains the range of information that needs to be counted
a21=criteria listed within the range in column i

=SUMPRODUCT('Dec03-Dec30'!$C$2:$C$5500=$A$18)*('Dec03-Dec30'!$I$2:$I$5500=A21)*('Dec03-Dec30'!$I$2:$I$5500)

Why won't the formula above work.

Please and Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ScottO
 
Posts: n/a
Default Multiple conditions...why wont this work?

I'm no expert on the use of SumProduct (and many other things as
well;),
but I think that you've just forgotten the "double minus" before each
argument (assuming that the missing parentheses are just typos).
Try
=SUMPRODUCT(--('Dec03-Dec30'!$C$2:$C$5500=$A$18)*--('Dec03-Dec30'!$I$
2:$I$5500=A21)*('Dec03-Dec30'!$I$2:$I$5500))
Rgds,
ScottO

"Curtis" wrote in message
...
| I am trying to calculate the number of instances by employee
|
| A18 = emplyee number
| column c contains range of employee numbers
| column I = contains the range of information that needs to be
counted
| a21=criteria listed within the range in column i
|
|
=SUMPRODUCT('Dec03-Dec30'!$C$2:$C$5500=$A$18)*('Dec03-Dec30'!$I$2:$I$
5500=A21)*('Dec03-Dec30'!$I$2:$I$5500)
|
| Why won't the formula above work.
|
| Please and Thanks
|
|


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Curtis
 
Posts: n/a
Default Multiple conditions...why wont this work?

I am still getting error "#value"

Thanks

"ScottO" wrote:

I'm no expert on the use of SumProduct (and many other things as
well;),
but I think that you've just forgotten the "double minus" before each
argument (assuming that the missing parentheses are just typos).
Try
=SUMPRODUCT(--('Dec03-Dec30'!$C$2:$C$5500=$A$18)*--('Dec03-Dec30'!$I$
2:$I$5500=A21)*('Dec03-Dec30'!$I$2:$I$5500))
Rgds,
ScottO

"Curtis" wrote in message
...
| I am trying to calculate the number of instances by employee
|
| A18 = emplyee number
| column c contains range of employee numbers
| column I = contains the range of information that needs to be
counted
| a21=criteria listed within the range in column i
|
|
=SUMPRODUCT('Dec03-Dec30'!$C$2:$C$5500=$A$18)*('Dec03-Dec30'!$I$2:$I$
5500=A21)*('Dec03-Dec30'!$I$2:$I$5500)
|
| Why won't the formula above work.
|
| Please and Thanks
|
|



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Multiple conditions...why wont this work?

(assuming that the missing parentheses are just typos).

No, that's why it "won't work".

but I think that you've just forgotten the "double minus"


The double unary and the multiplication operator achieve the same thing but
it's not necessary to use both.

Either will do the same thing:

=SUMPRODUCT(('Dec03-Dec30'!$C$2:$C$5500=$A$18)*('Dec03-Dec30'!$I$2:$I$5500=A21)*('Dec03-Dec30'!$I$2:$I$5500))

=SUMPRODUCT(--('Dec03-Dec30'!$C$2:$C$5500=$A$18),--('Dec03-Dec30'!$I$2:$I$5500=A21),--('Dec03-Dec30'!$I$2:$I$5500))

Biff

"ScottO" wrote in message
...
I'm no expert on the use of SumProduct (and many other things as
well;),
but I think that you've just forgotten the "double minus" before each
argument (assuming that the missing parentheses are just typos).
Try
=SUMPRODUCT(--('Dec03-Dec30'!$C$2:$C$5500=$A$18)*--('Dec03-Dec30'!$I$
2:$I$5500=A21)*('Dec03-Dec30'!$I$2:$I$5500))
Rgds,
ScottO

"Curtis" wrote in message
...
| I am trying to calculate the number of instances by employee
|
| A18 = emplyee number
| column c contains range of employee numbers
| column I = contains the range of information that needs to be
counted
| a21=criteria listed within the range in column i
|
|
=SUMPRODUCT('Dec03-Dec30'!$C$2:$C$5500=$A$18)*('Dec03-Dec30'!$I$2:$I$
5500=A21)*('Dec03-Dec30'!$I$2:$I$5500)
|
| Why won't the formula above work.
|
| Please and Thanks
|
|




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ScottO
 
Posts: n/a
Default Multiple conditions...why wont this work?

Then I think the issue will be in your data on the 'Dec03-Dec30' tab.
I tested out the formula before my previous post on some dummy data
and it returned the correct result - so I think it's either a typo in
the formula, or an error in the data.
Rgds,
ScottO

"Curtis" wrote in message
...
| I am still getting error "#value"
|
| Thanks
|
| "ScottO" wrote:
|
| I'm no expert on the use of SumProduct (and many other things as
| well;),
| but I think that you've just forgotten the "double minus" before
each
| argument (assuming that the missing parentheses are just typos).
| Try
|
=SUMPRODUCT(--('Dec03-Dec30'!$C$2:$C$5500=$A$18)*--('Dec03-Dec30'!$I$
| 2:$I$5500=A21)*('Dec03-Dec30'!$I$2:$I$5500))
| Rgds,
| ScottO
|
| "Curtis" wrote in message
| ...
| | I am trying to calculate the number of instances by employee
| |
| | A18 = emplyee number
| | column c contains range of employee numbers
| | column I = contains the range of information that needs to be
| counted
| | a21=criteria listed within the range in column i
| |
| |
|
=SUMPRODUCT('Dec03-Dec30'!$C$2:$C$5500=$A$18)*('Dec03-Dec30'!$I$2:$I$
| 5500=A21)*('Dec03-Dec30'!$I$2:$I$5500)
| |
| | Why won't the formula above work.
| |
| | Please and Thanks
| |
| |
|
|
|


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
COUNTIF Multiple Conditions Paul Sheppard Excel Discussion (Misc queries) 5 December 28th 05 07:03 PM
Lookup with multiple conditions linglc Excel Discussion (Misc queries) 4 July 28th 05 04:44 PM
Testing for Multiple Conditions Steve Excel Discussion (Misc queries) 2 July 20th 05 12:29 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM
Summarize data with multiple conditions OkieViking Excel Discussion (Misc queries) 1 December 16th 04 09:17 PM


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