#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
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....


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default 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

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
COUNTIF Function PatJennings Excel Worksheet Functions 4 June 4th 08 08:54 PM
COUNTIF function bug? raigo Excel Discussion (Misc queries) 5 June 29th 06 08:04 AM
please help how to combine IF function with Countif function Dinesh Excel Worksheet Functions 6 March 30th 06 08:28 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
Embed a countif function in subtotal function? Stuck at work Excel Worksheet Functions 1 February 14th 06 03:19 AM


All times are GMT +1. The time now is 07:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"