# Schedule Time Formula in Excel

Learn the main schedule time formulas in Excel. Calculate start times, add minutes to a cell time, and round times for match schedules and rounds.

A schedule time formula in Excel calculates match start and end times from a start time plus a duration. Excel stores times as fractions of a day, so you can add minutes directly with a simple formula. Common formulas use the TIME function or arithmetic to build a schedule sheet with start and end times. 

- Use =A2+TIME(0,B2,0) to add minutes in cell B2 to a time in cell A2.
- Round start times to the next 15-minute mark with =CEILING(A2,1/96).
- Enter times as real Excel times, like 9:00 AM, not text.
- Set results to a time format so values show as clock times.
- Build a schedule by copying a start time plus duration formula down a column.
 

## Start with a real time value 

A schedule time formula needs entries Excel recognizes as times. Type a time like 9:00 AM or 14:30 into a cell. Excel stores it as a decimal fraction of one day, with 0.5 for noon. 

Verify a cell holds a real time by checking the Number Format. Select the cell and choose a Time format from the Home tab. Real times align right by default, while text aligns left. 

Avoid entering times as text like nine or 9am without a space. Text values break time arithmetic and lead to errors. Use a colon between hours and minutes, like 9:00. 

## Add minutes to a time 

Add minutes to a current time with a formula that sums the time cell and a minute value. Put a time in cell A2 and minutes in cell B2. Use =A2+TIME(0,B2,0) to return a new time. 

The TIME function converts hours, minutes, and seconds into an Excel time. Using TIME(0,B2,0) gives a duration of zero hours and B2 minutes. Excel adds that duration to the start time. 

Format the formula cell as a time to display a clock time. Without time formatting, the result shows as a decimal fraction of a day. Copy the formula down to fill a whole schedule column. 

- Enter a start time in cell A2, like 9:00 AM.
- Enter minutes in cell B2, like 90.
- In cell C2, type =A2+TIME(0,B2,0).
- Drag the formula down column C for more rows.
 

## Create a time schedule with start and end 

Build a time schedule sheet with start and end times for each match. Put start times in one column and durations in minutes in another. Use an add minutes formula to compute end times. 

For a series of matches, set the first start time manually. Enter the expected match length in minutes for each row. The end time for each match is the start time plus its duration. 

Start the next match at the previous end time plus any break. This chain of formulas keeps the schedule consistent. Adjust one duration and all later times update automatically. 
| Match | Start Time | Duration (min) | End Time Formula | 
| 1 | 9:00 AM | 75 | =A2+TIME(0,C2,0) | 
| 2 | 10:15 AM | 90 | =A3+TIME(0,C3,0) | 
| 3 | 11:45 AM | 60 | =A4+TIME(0,C4,0) |  

## Round start times to a fixed interval 

Round a time in Excel to the nearest 15 minutes with a simple formula. Use =MROUND(A2,1/96) to round cell A2 to the closest quarter hour. Excel stores one day as 1, so 15 minutes is 1/96. 

To always round up to the next quarter hour, use =CEILING(A2,1/96). This suits a schedule where matches start on the quarter hour. Rounding down uses =FLOOR(A2,1/96). 

Apply rounding to start times before adding durations, or round the end times separately. A rounded start time produces cleaner schedule slots. Keep the original unrounded values hidden if needed. 

## Use HOUR and MINUTE functions 

The HOUR and MINUTE functions extract parts from a time cell. =HOUR(A2) returns the hour as a number from 0 to 23. =MINUTE(A2) returns the minute from 0 to 59. 

These functions help when a schedule needs hour-based conditions. For example, a formula may subtract one hour if a match starts before noon. Nest them inside IF statements for custom schedule logic. 

Combine HOUR and MINUTE with the TIME function to create new times. =TIME(HOUR(A2),MINUTE(A2)+B2,0) adds B2 minutes while ignoring the seconds in A2. This avoids small rounding errors. 

## Calculate elapsed time for a match 

Elapsed time calculation finds the minutes between two clock times. Subtract the start time from the end time with =B2-A2. Format the result with a custom format to show minutes. 

Format an elapsed time cell as [h]:mm or [mm] to show total hours or minutes. The square brackets stop Excel from rolling over after 24 hours. This is useful when a match runs past midnight. 

Convert an elapsed time to a decimal number of minutes by multiplying by 1440. Use =(B2-A2)*1440 to get minutes as a plain number. This makes it easier to compare or total match lengths. 

## Handle times that cross midnight 

A scheduled time can cross midnight when a round runs late. Subtract the start time from the end time with =IF(B2<A2, B2+1-A2, B2-A2). This adds one day when the end time is smaller. 

Adding one day, represented by 1, adjusts for the midnight wrap. Use this formula for any elapsed time calculation in a schedule. It returns the correct duration even if the event ends after 12 AM. 

Enter times with the date included to avoid ambiguity. Type 1/1/2024 11:00 PM in a cell, then format it as h:mm AM/PM. Excel keeps the date internally, and simple subtraction works. 

## Troubleshoot common schedule formula errors 

A schedule time formula often returns a number like 0.375 instead of a time. Change the cell format to Time to display a clock time. Go to Home, then Number Format, and choose Time. 

A #VALUE! error means Excel sees text instead of a number. Check that time cells contain real times, not text like 9 am. Edit the cell and retype the time with a colon and space, like 9:00 AM. 

A negative time result shows as ##### in a time-formatted cell. This happens when the end time is earlier than the start time. Use the midnight-crossing formula or add a date to both times. 

## Schedule Time Formula Questions 

### How do I create a time schedule in Excel? 

Yes, build a time schedule by entering start times and durations, then using formulas to calculate end times. Put start times in one column and durations in minutes in another, and apply the formula =A2+TIME(0,B2,0) to add minutes. Format the results as time, and chain start times from prior end times. 

### What is the formula to add minutes to a time in Excel? 

Use =A2+TIME(0,B2,0) where A2 holds the original time and B2 holds the minutes to add. The TIME function converts zero hours, B2 minutes, and zero seconds into an Excel time value, which then adds to the start time. 

### How do I round time to the nearest 15 minutes in Excel? 

Use =MROUND(A2,1/96) to round a time in cell A2 to the nearest 15 minutes, since 15 minutes equals 1/96 of a day. To always round up, use =CEILING(A2,1/96). 

### Can Excel formulas schedule times that go past midnight? 

Yes, use =IF(B2<A2, B2+1-A2, B2-A2) to calculate elapsed time when the end time is after midnight. For a schedule with start and end times, include the date with each time to allow simple subtraction across midnight. 

### How do I calculate elapsed time between two cells in Excel? 

Subtract the start time from the end time with =B2-A2, and format the result with a time format like [h]:mm to show total hours and minutes. For decimal minutes, multiply by 1440: =(B2-A2)*1440. 

### Why does my time formula show a decimal number instead of a time? 

Excel stores times as decimal fractions of a day, so a formula result may appear as a decimal until you apply a time format. Select the cell, go to the Home tab, choose Number Format, and pick a time format like h:mm AM/PM.
