Filter with criteria!

E

ernietan

Hello!

I have 2 woorksheet. One contains raw data one is a summary sheet.

In the raw data shhet, under the "catergory" column, I need to count and
filter out all the Apples" in this column. The challege is , the number of
apples counted should be from Jan, Feb and Mar respectively.

Results counted must be shown in the second worksheet in Column A, B and C
respectively, representing Jan Feb and Mar.

Can I have the formulae for this ?Thank you..
 
E

ernietan

Worksheet 1:
A B
Apple Jan
Orange Jan
Banana Jan
Apple Feb
Orange Jan
Apple Mar

Worksheet 2:

A B C D
Jan Feb Mar
Apple 1 1 1
Orange 2 0 0
Banana 1 0 0

I need formulaes to auto calculate the number of apples, oranges, banana
from worksheet 1 and the month which they are from and the data should be
shown in worksheet 2 as shown above.

Thanks!
 
J

Jacob Skaria

With data in Sheet1; Sheet2 cellB2 enter the below formula and copy
down/across as required

=SUMPRODUCT((Sheet1!$B$1:$B$100=B$1)*(Sheet1!$A$1:$A$100=$A2))
 

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

Top