Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default criteria for two different cells in a count if function

I have one column where I want to count if it equals a certain value, I need
to sum all the rols that have that value that are of a certain date that
would be specified in another column, how do I phrase a countif column that
would perform such function? For example Countif column B=0 and column
H=10/1/08....

Thank you for your help, the other items listed were close but nothing that
mentioned this specifically.
--
Judy Rose Cohen
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default criteria for two different cells in a count if function

Try this:

=SUMPRODUCT(--(B1:B10<""),--(B1:B10=0),--(H1:H10=DATE(2008,10,1)))

--
Biff
Microsoft Excel MVP


"Judy Rose" wrote in message
...
I have one column where I want to count if it equals a certain value, I
need
to sum all the rols that have that value that are of a certain date that
would be specified in another column, how do I phrase a countif column
that
would perform such function? For example Countif column B=0 and column
H=10/1/08....

Thank you for your help, the other items listed were close but nothing
that
mentioned this specifically.
--
Judy Rose Cohen



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default criteria for two different cells in a count if function

=SUMPRODUCT(--(ISNUMBER(B2:B100)),--(B2:B100=0),--(H2:H100=DATE(2008,10,1)))

countif won't work given you have multiple criteria in multiple columns

Excel 2007 has a function called COUNTIFS that will work

But the above will work

--


Regards,


Peo Sjoblom

"Judy Rose" wrote in message
...
I have one column where I want to count if it equals a certain value, I
need
to sum all the rols that have that value that are of a certain date that
would be specified in another column, how do I phrase a countif column
that
would perform such function? For example Countif column B=0 and column
H=10/1/08....

Thank you for your help, the other items listed were close but nothing
that
mentioned this specifically.
--
Judy Rose Cohen



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
Using a function to count cells based on multiple criteria Rae Excel Worksheet Functions 1 February 22nd 08 09:34 PM
Mutliple Criteria Count function [email protected] Excel Worksheet Functions 1 September 7th 07 10:30 AM
Count no of cells containing data for more than one criteria Jasmine Excel Worksheet Functions 2 January 18th 07 03:16 PM
How can I reference a cell as the criteria in a count if function. RobA Excel Discussion (Misc queries) 1 August 17th 05 06:41 PM
HOW DO I USE THE COUNT IF FUNCTION FOR 2 CRITERIA victory16 Excel Worksheet Functions 1 February 5th 05 11:39 PM


All times are GMT +1. The time now is 10:43 AM.

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"