count between dates

jtodd

Board Regular
Joined
Aug 4, 2014
Messages
194
Hi all
Is there a way to count non blank cells between 2 dates ?

I have a holiday planner and would like to know how many days holday each person has taken from the start of year to now.
In the example below are the holidays booked , i need to know how many H's are between 23/04/2018 and now ie how many days have been taken -
In this case 7 days have been booked but only 3 between 23/04/2018 and today. Tried this =COUNTIFS(C11:Z11,">="&E4,C11:Z11,"<="&F4) but think i need some kind of offset ? or do i need some thing completly different.

<colgroup><col style="mso-width-source:userset;mso-width-alt:2742; width:56pt" span="12" width="75"> </colgroup><tbody>
</tbody>

23/04/2018 24/04/2018
25/04/2018
26/04/2018
27/04/2018
28/04/2018
29/04/2018
30/04/2018
01/05/2018
02/05/2018
03/05/2018
04/05/2018
HHHH H H H

<colgroup><col style="mso-width-source:userset;mso-width-alt:2742; width:56pt" span="12" width="75"> </colgroup><tbody>
</tbody>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Add another condition to the countifs, eg:

=COUNTIFS(C11:Z11,">="&E4,C11:Z11,"<="&F4,C12:Z12,"H")
 
Upvote 0

Forum statistics

Threads
1,214,984
Messages
6,122,601
Members
449,089
Latest member
Motoracer88

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