View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
muddan madhu muddan madhu is offline
external usenet poster
 
Posts: 747
Default Countif Function

try this

=COUNT(IF((MONTH(Sheet1!A1:A7)=1)*(Sheet1!B1:B7="o rder"),)) ( use
ctrl + shift + enter )

or

=SUMPRODUCT((MONTH(Sheet1!A1:A7)=1)*(Sheet1!B1:B7= "order"))

similarly for invoice counts






On Jan 27, 12:42*am, vijay wrote:
I would be helpful if someone helps me on Countif Function. as below.
My Data *On Tab “Sheet 1”
* * * * * *A * * * * * * *B * * * * * * C * * * * D * * * * E * * * * * *F
1 * * * Order * * *01/01/09
2 * * *Invoice * *01/01/09
3 * * * Order * * 01/01/09
4 * * * Order * * 01/01/09
5 * * Invoice * * 01/02/09
6 * * * Order * * 01/02/09
7 * * Invoice * *01/02/09

Need a Countif Functiion on the on Tab “Sheet 2”

* * * * * *A * * * * * * * *B * * * * * * * * * * C * * * * * D * * * * E * *
* * * * F
1 * * * Month * * * * Order * * * * * * * Invoice
2 * * *01/01/09 * =countif() * * * * =countif() *“from data Sheet 1”
3 * * *01/02/09 * =countif() * * * * =countif() *“from data Sheet 1”
4 * * *01/03/09 * =countif() * * * * =countif() *“from data Sheet 1”
5 * * *01/04/09
6 * * *01/05/09
7 * * *01/06/09

From “Sheet 1” data I want to know how many Order or Invoices did I
processed on particular day.Want to give Countif function on *“Sheet 2”. *I
want to know how many orders I have processed on the 01/01/09. and same on
date 01/02/09.

--
vijay

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm....mspx?mid=a4ca....