How to find count of values based on multiple criterias?

doge_3

Board Regular
Joined
Apr 11, 2014
Messages
72
I have 4 colums: Team, Status, Project Name, and Start date

I want to write a formula based on a drop down list of things from Team, Status, and Project Name, and I am having lots of trouble.

How can I get a count of how many things there are where start date is say, before 8/15/14, where the Team, Status, and Project Name are equal to the values in the drop down list? Let's say the drop down list is in A1 (team), A2 (Status), A3(Project name), and A4(start date)

Please help me out!

I have to do this without using filter or pivot... they want it like this :/
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

VBA Geek

MrExcel MVP
Joined
Dec 16, 2013
Messages
2,857
I made up a simple example, this should get you started


<b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">A4</th><td style="text-align:left">=COUNTIFS(<font color="Blue">F2:F11,A1,G2:G11,B1,H2:H11,C1,I2:I11,"<"&D1</font>)</td></tr></tbody></table></td></tr></table><br />





Excel 2013
ABCDEFGHI
1Barcelona1A05/05/2014TEAMSTATUSPROJECT NAMESTART DATE
2Chelsea1C24/10/2014
3Real Madrid4C25/06/2014
41Barcelona1A27/04/2014
5AC Milan3C07/09/2014
6AS Roma5B03/04/2014
7Arsenal5B22/04/2014
8Real Madrid2C13/11/2014
9Barcelona5C08/07/2014
10AC Milan2B17/09/2014
11Chelsea5C21/05/2014
Sheet4
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,627
Messages
5,838,441
Members
430,548
Latest member
hh_dh2001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top