I have a data set with the names of people who are on vacation for certain dates (name, start, end).
Example:
Name Start End
Joe 10-Jan-14 21-Jan-14
Billy 12-Feb-14 10-Mar-14
David 11-Jan-14 20-Jan-14
Patty 10-Jan-14 19-Jan-14
Megan 05-Jan-14 20-Jan-14
-------------------------------
Block 15-Jan-14 22-Jan-14
I want to count the number of people in the range who will be on vacation during the block dates. He must return 4; Joe, David, Patty, And Megan.
The formula I am:
=COUNTIFS(colStart, ">="&B1, colEnd, "<="&B2)
colStartand colEndare called the "Start and End" column ranges.
B1and B2- these are the block dates on my spreadsheet.
, -, .. - . Joe, .. 10 Jan. .
. .