ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Countif Function (https://www.excelbanter.com/excel-discussion-misc-queries/217918-countif-function.html)

vijay[_3_]

Countif Function
 
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...lic.excel.misc

muddan madhu

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....



FSt1

Countif Function
 
hi
i don't think the countif functions would work here since the countif
functions only provides for 1 criteria and you seems to need 2.
so.....for you example.....
sumproduct((Sheet1!A1:A7="Order")*(Sheet1!B1:B7=A1 ))
and
sumproduct((Sheet1!A1:A7="Invoice")*(Sheet1!B1:B7= A1))

Sheet1!A1:A7 is the range that contains the order/invoice designator
sheet1!B1"B7 is the range that chantains the date you are looking for
A1 is the date on sheet 2 that you want sumproduct to find on sheet1

Regards
FSt1

"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...lic.excel.misc


vijay[_3_]

Countif Function
 
Thanks its working.
--
vijay


"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...lic.excel.misc



All times are GMT +1. The time now is 08:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com