Filling Cells based on Times

volsfan210000

Board Regular
Joined
Jul 24, 2007
Messages
72
In Column A is the Start time and Column B is the end time.

Then on Row 1 starting in Column C is the my work time from 8 AM - 5 PM

Wanted to know if there is a way to automatically fill the cells based off the start and end times in the Column A & B

Thanks!!!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi,

It is best that you attach additional examples in order to understand exactly ...
According to the only example you sent, you can try the following formulas:

A2 =LEFT(C2,5)
B2 =RIGHT(C2,4)
 
Upvote 0
Thanks!!

Below is the data. So for the Start and Finish Times I would like to fill the cells that

So for the second one the cells from 8 - 9 would be highlighted.

Start Finish 8:00 8:15 8:30 8:45 9:00 9:15 9:30 9:45 10:00 10:15 10:30 10:45 11:00 11:15
12/18/2017 0:00 8:00:00 AM 12/21/2017 0:00 3:00:00 PM
12/18/2017 0:00 8:00:00 AM 12/18/2017 0:00 9:00:00 AM 1 Crew
12/18/2017 0:00 9:15:00 AM 12/18/2017 0:00 10:15:00 AM 1 Crew
12/18/2017 0:00 10:30:00 AM 12/18/2017 0:00 11:30:00 AM 1 Crew
12/18/2017 0:00 11:45:00 AM 12/18/2017 0:00 12:45:00 PM 1 Crew
12/18/2017 0:00 1:15:00 PM 12/18/2017 0:00 2:15:00 PM 1 Crew
12/18/2017 0:00 2:30:00 PM 12/18/2017 0:00 3:30:00 PM 1 Crew
12/18/2017 0:00 3:45:00 PM 12/18/2017 0:00 4:45:00 PM 1 Crew
12/19/2017 0:00 8:00:00 AM 12/19/2017 0:00 9:00:00 AM 1 Crew
12/19/2017 0:00 9:15:00 AM 12/19/2017 0:00 10:15:00 AM 1 Crew
12/19/2017 0:00 10:30:00 AM 12/19/2017 0:00 12:00:00 PM 1 Crew
12/19/2017 0:00 12:30:00 PM 12/19/2017 0:00 2:00:00 PM 1 Crew
12/19/2017 0:00 2:15:00 PM 12/19/2017 0:00 3:45:00 PM 1 Crew
12/20/2017 0:00 8:00:00 AM 12/20/2017 0:00 9:30:00 AM 1 Crew
12/20/2017 0:00 9:45:00 AM 12/20/2017 0:00 11:15:00 AM 1 Crew
 
Upvote 0
Did I understand you correctly? The columns as I mentioned?
What are you looking for in this D & E column?



ABCDE
112/18/2017 0:00 11:45:00 AM12/18/2017 0:00 12:45:00 PM1 Crew11:45:00 AM12:45:00 PM

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Didn't come across correct . I want to fill the across for the time that is represented in D&E

A B
1 11:45:00 AM 12/18/2017 0:00 12:45:00 PM 1 Crew 11:45:00 AM 12:45:00 PM
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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