help with match and count in sheet

maryworthington

New Member
Joined
Apr 15, 2008
Messages
11
Hello,

Have a sheet that I'm trying to do some calculations but failing miserably at it :(
AB
1Acme6/16/2016
2Bat6/20/2016
3Acme6/17/2016
4Acme6/26/2016
5Charlie6/25/2016
6Bat6/11/2016

<tbody>
</tbody>

Created another sheet with just column A without the duplicate names
trying to count each instance of A with date =>6/17/2016
AB
1Acme2
2Bat1
3Charlie1

<tbody>
</tbody>

=COUNTIF(Sheet1!B:B,">=6/17/2016") something along that but not sure how to do the search/match based on column A?

Thanks

Mary
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
Because you're using 2 criteria you'd need to use the countifs function if you have excel 2007 or newer.

If not than you'd want to use the sumproduct.

Excel 2012
ABCDEF
1Acme6/16/2016Acme22
2Bat6/20/2016Bat11
3Acme6/17/2016Charlie11
4Acme6/26/2016
5Charlie6/25/2016
6Bat6/11/2016

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
E1=COUNTIFS(Sheet1!$A$1:$A$6,D1,Sheet1!$B$1:$B$6,">=6/17/2016")
F1=SUMPRODUCT(($A$1:$A$6=D1)*($B$1:$B$6>="6/17/2016"+0))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 

Watch MrExcel Video

Forum statistics

Threads
1,127,594
Messages
5,625,693
Members
416,127
Latest member
MALEPINZON

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