ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Find Best Available time (https://www.excelbanter.com/excel-worksheet-functions/216541-find-best-available-time.html)

Sean Timmons

Find Best Available time
 
OK, so I have a spreadsheet with many employees listed.

Each employee has columns for shift start time, break1 start time, break1
end time, lunch start, lunch end, break2 start and break2 end.

I also have a list of meeting times. Each meeting is 50 minutes long.

I am trying to use a formula that will look at all of the columns given and
find where the employee is not on a break or lunch, and is on their shift
that matches one of the meeting times. -Trying to enter meetigns without
moving breaks or lunches.

Is there any way to find this without using a godawful number of if
statements?

Gary''s Student

Find Best Available time
 
You don't need any "ifs"

Make a row for each employee.
Make a column for each of the 24 hours in a day

For each employee, go across the row placing a 1 in each cell that the
employee is available (not off-shift, not on break, not on lunch)

Then SUM(B:B) is the number of employees available from midnight to 1:00 AM

SUM(C:C) is the number of employees available from 1:00 AM to 2:00 AM

etc.
--
Gary''s Student - gsnu200826


"Sean Timmons" wrote:

OK, so I have a spreadsheet with many employees listed.

Each employee has columns for shift start time, break1 start time, break1
end time, lunch start, lunch end, break2 start and break2 end.

I also have a list of meeting times. Each meeting is 50 minutes long.

I am trying to use a formula that will look at all of the columns given and
find where the employee is not on a break or lunch, and is on their shift
that matches one of the meeting times. -Trying to enter meetigns without
moving breaks or lunches.

Is there any way to find this without using a godawful number of if
statements?



All times are GMT +1. The time now is 01:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com