countifs with date

uswyne

Board Regular
Joined
Jul 27, 2017
Messages
78
Office Version
  1. 2019
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Class[/TD]
[TD]Admission[/TD]
[TD]Withdrawal[/TD]
[/TR]
[TR]
[TD]PG[/TD]
[TD]11/16/17[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PG[/TD]
[TD]11/16/17[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Nur[/TD]
[TD]08/1/17[/TD]
[TD]11/16/17[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Required answer

[TABLE="width: 500"]
<tbody>[TR]
[TD]Class[/TD]
[TD]Admission[/TD]
[TD]Withdrawal[/TD]
[/TR]
[TR]
[TD]PG[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Nur[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]

Kindly Help
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
[TABLE="class: grid, width: 466"]
<tbody>[TR]
[TD]Class[/TD]
[TD]Admission[/TD]
[TD]Withdrawal[/TD]
[TD][/TD]
[TD][/TD]
[TD]Class[/TD]
[TD]Admission[/TD]
[TD]Withdrawal[/TD]
[/TR]
[TR]
[TD]PG[/TD]
[TD="align: right"]11/16/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]PG[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PG[/TD]
[TD="align: right"]11/16/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Nur[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Nur[/TD]
[TD="align: right"]8/1/2017[/TD]
[TD="align: right"]11/16/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

In G2 enter, copy across, and down:

=SUMPRODUCT(--ISNUMBER(B$2:B$4),--($A$2:$A$4=$F2))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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
Back
Top