Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula Help

Status
Not open for further replies.

JasonMcConnell

Technical User
Mar 10, 2005
29
GB
Can anybody help me with the following Excel Formula?

I have three columns
Reference Received Closed
EN990620 01/07/2003 16/07/2003
EN000344 01/07/2003 16/07/2003
EN000905 07/07/2003 30/07/2003

I want to create a formula that will count the number of reference numbers (Applications) that have been received in a given month.
e.g countif received date is > 1/07/2003 and received date <= 31/07/2003
I have tried doing this using countif but it ignores the second part of the formula?

Thanks for you help
 



Hi,

Take a look at SUMPRODUCT (i use named ranges)...
[tt]
=sumproduct((Reference="EN990620")*(Received>"1/07/2003")*(Received<="31/07/2003"))
[/tt]
Also PivotTable.

Skip,

[glasses] [red][/red]
[tongue]
 




Missed...
[tt]
=sumproduct(--(Reference="EN990620")*(Received>"1/07/2003")*(Received<="31/07/2003"))
[/tt]


Skip,

[glasses] [red][/red]
[tongue]
 
Just use logic and 2 countif formulae...

=countif(Received,<= 31/07/2003)- countif(Received,<01/07/2003)

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top