# How to find count of values based on multiple criterias?

#### doge_3

##### Board Regular
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)

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

### Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

#### VBA Geek

##### MrExcel MVP
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 />

<b>Excel 2013</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="font-weight: bold;;">Barcelona</td><td style="font-weight: bold;text-align: right;;">1</td><td style="font-weight: bold;;">A</td><td style="font-weight: bold;text-align: right;;">05/05/2014</td><td style="text-align: right;;"></td><td style=";">TEAM</td><td style=";">STATUS</td><td style=";">PROJECT NAME</td><td style=";">START DATE</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Chelsea</td><td style="text-align: right;;">1</td><td style=";">C</td><td style="text-align: right;;">24/10/2014</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Real Madrid</td><td style="text-align: right;;">4</td><td style=";">C</td><td style="text-align: right;;">25/06/2014</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Barcelona</td><td style="text-align: right;;">1</td><td style=";">A</td><td style="text-align: right;;">27/04/2014</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">AC Milan</td><td style="text-align: right;;">3</td><td style=";">C</td><td style="text-align: right;;">07/09/2014</td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">AS Roma</td><td style="text-align: right;;">5</td><td style=";">B</td><td style="text-align: right;;">03/04/2014</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Arsenal</td><td style="text-align: right;;">5</td><td style=";">B</td><td style="text-align: right;;">22/04/2014</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Real Madrid</td><td style="text-align: right;;">2</td><td style=";">C</td><td style="text-align: right;;">13/11/2014</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Barcelona</td><td style="text-align: right;;">5</td><td style=";">C</td><td style="text-align: right;;">08/07/2014</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">AC Milan</td><td style="text-align: right;;">2</td><td style=";">B</td><td style="text-align: right;;">17/09/2014</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">Chelsea</td><td style="text-align: right;;">5</td><td style=";">C</td><td style="text-align: right;;">21/05/2014</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet4</p><br /><br />

#### doge_3

##### Board Regular
Thank you so very much.

You are amazing!

Replies
12
Views
79
Replies
5
Views
60
Replies
3
Views
88
Replies
0
Views
102
Replies
9
Views
63

1,109,435
Messages
5,528,746
Members
409,833
Latest member
tdnhan

### This Week's Hot Topics

• Change military grades into rank
Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
• VBA COUNTIF SOLUTION
Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
• INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
• Auto-Create a monthly Sign in sheet for preschool students
The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
• VBA vlookup multiple results
Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
• Extract values for earliest/latest times
I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...