Countif Function

V

vijay

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/com...f-67f0462d6881&dg=microsoft.public.excel.misc
 
M

muddan madhu

try this

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

or

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

similarly for invoice counts
 
F

FSt1

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

dates inbetween 3
Need a Function 5
LOOKUP function between two dates in Excel 2007 6
LOOKUP within a 1
Summing like data 5
SumProduct Help 1
The Count Function 6
Data define and search function request? 7

Top