I have meetings listed by Date, Start Time, End Time, and number of people in the meetings.
I want to calculate how many people are in meetings on a certain date between two times.
I am running into an issue if I select say 11:00PM - 2:00AM because that is not one day, it is two days.
What formula can I use to take this into account and calculate the number of people in meetings between two dates AND between two times, all in one formula?
Here is what I currently have:
ColumnW = Date
ColumnX = Start Time
ColumnY = End Time
ColumnZ = Number of people
H3 = Date being searched
H4 = start time being searched
H5 = end time being searched
H6 = this cell will return the number of people in a meeting at the specified date and start/end time
=SUMIFS(Z:Z, W:W, H3, X:X, ">=0", X:X, CONCATENATE("<", H5), Y:Y, CONCATENATE(">", H4))
I want to calculate how many people are in meetings on a certain date between two times.
I am running into an issue if I select say 11:00PM - 2:00AM because that is not one day, it is two days.
What formula can I use to take this into account and calculate the number of people in meetings between two dates AND between two times, all in one formula?
Here is what I currently have:
ColumnW = Date
ColumnX = Start Time
ColumnY = End Time
ColumnZ = Number of people
H3 = Date being searched
H4 = start time being searched
H5 = end time being searched
H6 = this cell will return the number of people in a meeting at the specified date and start/end time
=SUMIFS(Z:Z, W:W, H3, X:X, ">=0", X:X, CONCATENATE("<", H5), Y:Y, CONCATENATE(">", H4))