Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Multiple Conditions Help

In my Excel sheet

Column B = Month (format 1/7/2007)
Column I = Firm ( 5 different firms)
Column K = either "WO" or "SO"
Column N = either "P" or "W" or "F"

I need to write a formual that will tell me the # of "F" that are "WO" by
specific firm by specific month

Any help is appreciated

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple Conditions Help

Try this:

P1 = month number
P2 = firm
P3 = WO
P4 = F

=SUMPRODUCT(--(ISNUMBER(B1:B20)),--(MONTH(B1:B20)=P1),--(I1:I20=P2),--(K1:K20=P3),--(N1:N20=P4))

If there will never be empty cells in the date column B then you can
eliminate the ISNUMBER test:

=SUMPRODUCT(--(MONTH(B1:B20)=P1),--(I1:I20=P2),--(K1:K20=P3),--(N1:N20=P4))

--
Biff
Microsoft Excel MVP


"Curtis" wrote in message
...
In my Excel sheet

Column B = Month (format 1/7/2007)
Column I = Firm ( 5 different firms)
Column K = either "WO" or "SO"
Column N = either "P" or "W" or "F"

I need to write a formual that will tell me the # of "F" that are "WO" by
specific firm by specific month

Any help is appreciated

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
SUMPRODUCT or INDEX/MATCH for multiple conditions and multiple rec TravisB Excel Discussion (Misc queries) 21 March 16th 07 09:49 PM
How do I add multiple values that match multiple conditions? Joel Excel Discussion (Misc queries) 5 April 10th 06 01:32 PM
Multiple conditions and multiple return values Minerva Excel Worksheet Functions 3 February 16th 06 06:57 AM
Combining Text from multiple cells under multiple conditions KNS Excel Worksheet Functions 2 June 15th 05 11:00 PM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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