# Excel minutes format

Add Hours, Minutes and Seconds | Add Up Times | Subtract Minutes | Time Difference

Use the TIME function in Excel to add or subtract hours, minutes and seconds. To add up times in Excel, simply use the SUM function.

### Add Hours, Minutes and Seconds

Remember, to enter a time, use the ":" (colon).

1. Enter a time into cell A1.

2. To add 2 hours and 30 minutes to this time, enter the formula shown below.

Explanation: the TIME function has 3 arguments. First, use HOUR, MINUTE and SECOND to create the time entered in cell A1. Next, add 2 hours and 30 minutes.

To change the Time format, execute the following steps.

3. Select cell B1.

4. Right click, and then click Format Cells (or press CTRL + 1).

5. In the Category list, select Time, and select a Time format.

6. Click OK.

7. Enter a time into cell A1 (use 2 colons to include seconds).

8. To add 10 seconds to this time, enter the formula shown below.

Note: we changed the Time format to 13:30:55 (see step 5).

To add up times in Excel, simply use the SUM function. To display a total of more than 24 hours, change the Time format.

1. For example, task A requires 8 hours to complete, task B requires 4 hours and 30 minutes to complete, etc.

2. To calculate the total duration, simply use the SUM function.

3. Change the duration of task D from 5 hours to 7 hours.

To display a total of more than 24 hours, execute the following steps.

4. Select cell B6.

5. Right click, and then click Format Cells (or press CTRL + 1).

6. Select the Custom category.

7. Type the following number format code: [h]:mm

8. Click OK.

### Subtract Minutes

To subtract hours, minutes or seconds from a time, use the TIME function (and HOUR, MINUTE and SECOND).

1. Enter a time into cell A1.

2. To subtract 33 minutes from this time, enter the formula shown below.

### Time Difference

Calculating the difference between two times in Excel can be tricky.

1. To calculate the difference between two times in the same day, simply subtract the start time from the end time.

Note: we changed the Time format to 13:30 (see step 5 under "Add Hours, Minutes and Seconds").

2. This simple formula doesn't work if the start time is before midnight and the end time is after midnight. The Time Difference formula below always works.

3. The formula below calculates the difference between two times in hours as a decimal value.

## Time Duration in Excel

By default, Excel displays the format hh:mm:ss as time am/pm when clicked whether it is real time or time duration. This is just they way Excel views the data within the cell, but you may still add time duration if needed.

As refered to an article from Microsoft here are the steps to take to accomplish this to show total time duration.

Suppose that you want to know how many hours and minutes it will take to complete two tasks. You estimate that the first task will require 12 hours and 45 minutes and the second task will require 15 hours and 30 minutes.

1. In cell A1, type 12:45, and then type 15:30 in A2.

2. In cell A3, type =A1+A2.

By default, Excel interprets the time values you entered in the two cells as elapsed time from midnight. In this case, adding 12:45 to 15:30 results in 28:15, which is equal to one full day plus 4:15.

However, if the cells in which you entered the time values were originally set to the General format, Excel returns 4:15 as the result (28:15 minus 24 hours). To make Excel display the value that you expect (in this case, 28:15), do the following:

1. On the Home tab, in the Cells group, click Format, and then click Format Cells.

2. In the Format Cells dialog box, click the Number tab.

3. Under Category, click Custom.

4. In the Type box, type [h]:mm.

TIP   You can also show the results in minutes and seconds by setting the format to [m]:ss, or minutes only by typing [m].

5. Click OK.

Excel displays 28:15 if you used the format [h]:mm).

Sours: https://help.livehelpnow.net/1/kb/article/71990/time-duration-in-excel

When you type a date or time in a cell, it appears in a default date and time format. This default format is based on the regional date and time settings that are specified in Control Panel, and changes when you adjust those settings in Control Panel. You can display numbers in several other date and time formats, most of which are not affected by Control Panel settings.

### Display numbers as dates or times

You can format dates and times as you type. For example, if you type 2/2 in a cell, Excel automatically interprets this as a date and displays 2-Feb in the cell. If this isn't what you want—for example, if you would rather show February 2, 2009 or 2/2/09 in the cell—you can choose a different date format in the Format Cells dialog box, as explained in the following procedure. Similarly, if you type 9:30 a or 9:30 p in a cell, Excel will interpret this as a time and display 9:30 AM or 9:30 PM. Again, you can customize the way the time appears in the Format Cells dialog box.

1. On the Home tab, in the Number group, click the Dialog Box Launcher next to Number.

You can also press CTRL+1 to open the Format Cells dialog box.

2. In the Category list, click Date or Time.

3. In the Type list, click the date or time format that you want to use.

Note: Date and time formats that begin with an asterisk (*) respond to changes in regional date and time settings that are specified in Control Panel. Formats without an asterisk are not affected by Control Panel settings.

4. To display dates and times in the format of other languages, click the language setting that you want in the Locale (location) box.

The number in the active cell of the selection on the worksheet appears in the Sample box so that you can preview the number formatting options that you selected.

Top of Page

### Create a custom date or time format

1. On the Home tab, click the Dialog Box Launcher next to Number.

You can also press CTRL+1 to open the Format Cells dialog box.

2. In the Category box, click Date or Time, and then choose the number format that is closest in style to the one you want to create. (When creating custom number formats, it's easier to start from an existing format than it is to start from scratch.)

3. In the Category box, click Custom. In the Type box, you should see the format code matching the date or time format you selected in the step 3. The built-in date or time format can't be changed or deleted, so don't worry about overwriting it.

4. In the Type box, make the necessary changes to the format. You can use any of the codes in the following tables:

Days, months, and years

To display

Use this code

Months as 1–12

m

Months as 01–12

mm

Months as Jan–Dec

mmm

Months as January–December

mmmm

Months as the first letter of the month

mmmmm

Days as 1–31

d

Days as 01–31

dd

Days as Sun–Sat

ddd

Days as Sunday–Saturday

dddd

Years as 00–99

yy

Years as 1900–9999

yyyy

If you use "m" immediately after the "h" or "hh" code or immediately before the "ss" code, Excel displays minutes instead of the month.

Hours, minutes, and seconds

To display

Use this code

Hours as 0–23

h

Hours as 00–23

hh

Minutes as 0–59

m

Minutes as 00–59

mm

Seconds as 0–59

s

Seconds as 00–59

ss

Hours as 4 AM

h AM/PM

Time as 4:36 PM

h:mm AM/PM

Time as 4:36:03 P

h:mm:ss A/P

Elapsed time in hours; for example, 25.02

[h]:mm

Elapsed time in minutes; for example, 63:46

[mm]:ss

Elapsed time in seconds

[ss]

Fractions of a second

h:mm:ss.00

AM and PM     If the format contains an AM or PM, the hour is based on the 12-hour clock, where "AM" or "A" indicates times from midnight until noon and "PM" or "P" indicates times from noon until midnight. Otherwise, the hour is based on the 24-hour clock. The "m" or "mm" code must appear immediately after the "h" or "hh" code or immediately before the "ss" code; otherwise, Excel displays the month instead of minutes.

Creating custom number formats can be tricky if you haven't done it before. For more information about how to create custom number formats, see Create or delete a custom number format.

Top of Page

### Tips for displaying dates or times

• To quickly use the default date or time format, click the cell that contains the date or time, and then press CTRL+SHIFT+# or [email protected]

• If a cell displays ##### after you apply date or time formatting to it, the cell probably isn't wide enough to display the data. To expand the column width, double-click the right boundary of the column containing the cells. This automatically resizes the column to fit the number. You can also drag the right boundary until the columns are the size you want.

• When you try to undo a date or time format by selecting General in the Category list, Excel displays a number code. When you enter a date or time again, Excel displays the default date or time format. To enter a specific date or time format, such as January 2010, you can format it as text by selecting Text in the Category list.

• To quickly enter the current date in your worksheet, select any empty cell, and then press CTRL+; (semicolon), and then press ENTER, if necessary. To insert a date that will update to the current date each time you reopen a worksheet or recalculate a formula, type =TODAY() in an empty cell, and then press ENTER.

### Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Sours: https://support.microsoft.com/en-us/office/format-numbers-as-dates-or-times-418bd3fe-0577-47c8-8caa-b4d30c528309
Format Time in Excel - Tutorial

## Entering Time data in excel in mm:ss format (without the leading 0: for the hours)

There is a solution! Place this VBA code in your worksheet module, i.e.:

1. Open the Visual Basic Editor (-)
2. In the top left treeview, double click on the sheet you want to enter your times
3. In the central code panel, place the below code.
4. Close VBE

Use this code:

In case you already formatted the range you're entering the data in, use this line instead as the first line:

Note that this will change the value and format - every time you enter either a time - or something that is between 0 and 1! If you want to restrict it to a certain column, add this line:

or this line to restrict it to a certain range

answered Mar 5 '13 at 12:01

Peter AlbertPeter Albert

## Working with Minutes

Some people use Excel to help keep track of elapsed time. This may sound like a rather esoteric use of Excel, but it is not, really. For instance, you may develop a timesheet. You enter a starting time in a cell, an ending time in another cell, and then calculate the elapsed time between the two by simply subtracting the starting time from the ending time.

If you use Excel in this way, you may have a need to display your results in just minutes, with no hours showing. You can do this in one of two ways. The first is to simply format the cell containing the aggregate of your elapsed times. Follow these steps:

1. Select the cell in which you want your result displayed as minutes.
2. Choose Cells from the Format menu. Excel displays the Format Cells dialog box.
3. Make sure the Number tab is displayed.
4. In the Category list (left side) choose Custom. (See Figure 1.)
5. Figure 1. The Number tab of the Format Cells dialog box.

6. In the Type box, enter the format as [mm], which consists of a left and right square bracket with two lowercase ms in the middle.
7. Click on OK.

Your cell now contains only elapsed minutes. This is great for displaying results, but you may actually want a cell to literally contain a number representing the number of elapsed minutes. This need brings us to the second solution: simply multiply the aggregation cell by 1440 and format the result as a regular number (not as a date or time). This effectively takes a value out of the special date/time format maintained by Excel and puts it back into the realm of regular numbers.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2820) applies to Microsoft Excel 97, 2000, 2002, and 2003.

##### Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. Learn more about Allen...

When working with large amounts of data, it is a good idea to make sure that the data all consistently follows a pattern. ...

Discover More

Selecting a Table

There are several different ways you can select an entire table in Word. The various methods and shortcuts are described ...

Discover More

Tools to Boost Motivation and Productivity

Sometimes a writer needs motivation to keep ploughing ahead in their craft. Word doesn't really include any tools to help ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

There are calendar days and then there are business days. Excel provides the NETWORKDAYS function that is helpful to ...

Discover More

Using Excel for Timing

Excel allows you to store times in a worksheet. If you want to use Excel to time certain events, there are a couple of ...

Discover More

Excel allows you to perform quite a few operations using dates in your worksheet. Sometimes, however, the answer may not ...

Discover More
Sours: https://excel.tips.net/T002820_Working_with_Minutes.html
Excel VBA Format Textbox Hours and Minutes for Start Time and End Time

## How to Make Excel Read Hours, Minutes and Seconds

While Microsoft Excel automatically reformats time values as hours and minutes, you can manually change the cell's time format to display the seconds as well. Using the Function Library on the Formulas ribbon, you can select the specific time function to apply to a cell in your worksheet. If you've already entered time into a cell, you can easily reformat it to include hours, minutes and seconds using the Format Cells dialog.

### Insert Time Formula

Select the cell you want to convert to a time format in your Excel workbook.

Click on the "Formulas" tab to open the Formulas ribbon.

Click the "Date & Time" drop-down menu in the Function Library group and then click "Time."

Fill in the fields under TIME, respectively. For example, enter "11" into the Hour field, "15" into the Minute field and then "30" into the Second field to set the time to 11:15:30 AM. Note that the values should be entered in the 24 hour time format.

Click the "OK" button to insert the time. By default, the cell is formatted as H:MM -- where H represents the hour and M represents minutes.

### Customize the Time Format

Right-click the cell that you want to reformat to time in your Excel worksheet and then click "Format Cells…" to open the Format Cells dialog.

Click on "Time" in the Category box of the Number tab.

Select the time format you want to use in the "Type" box. For example, click "1:30:55 PM" to format the text as H:MM:SS -- where H represents hours, M represents minutes and S represents seconds. Alternatively, you can select "13:30:55" to use the 24-hour time format.

Click the "OK" button to apply the time formatting to the selected cell.

References

Tips

• You can apply a cell's formatting to adjacent cells by dragging the bottom right corner of the selected cell into nearby cells. Alternatively, select a cell, click the "Format Painter" paintbrush icon in the Clipboard group of the Home ribbon and then click on the cell you wish to copy your formatting to.

Warnings

• Information in this article applies to Microsoft Excel 2013. Steps may vary slightly or significantly with other versions or products.

Writer Bio

Located in Denver, Chad Davis has been writing about technology for more than 10 years. He is a technical writer for information technology and product development. Davis provides grant writing and marketing services to small businesses. He holds a Bachelor of Arts in professional writing from the University of New Mexico.

### How to display time in minutes format only in Excel?

Supposing you have a list of HH:MM:SS time format cells, and now you want to display this time cells in minutes format only. What can you do? In this tutorial, we will show you two methods of displaying time in minutes format only in Excel.

Display time in minutes and seconds format with Format Cells function
Display time in minutes format with Kutools for Excel

#### Display time in minutes and seconds format with Format Cells function

You can format the HH:MM:SS cells to minutes and seconds only by customizing a format in the Format Cells dialog box. Please do as follows.

1. Select and right click the cells with time you want to display in minutes and seconds, and then click Format Cells in the right-clicking menu. See screenshot:

2. In the Format Cells dialog box, click Custom in the Category box under Number tab, type [m]:ss into the Type box, and then click the OK button. See screenshot:

Then the selected time cells are displayed in minutes and seconds only as below screenshot shown.

#### Display time in minutes format with Kutools for Excel

You can also display HH:MM:SS time format cells in minutes with the Convert Time utility of Kutools for Excel.

1. Select the cells with time you want to display in minutes, and then click Kutools > Content > Convert Time > Time to Minutes.

Then all HH:MM:SS time format cells in selected range are displayed in minutes only immediately (you can specify the decimal number as you need). See screenshot:

Note: With this Convert Time feature, you can also display the time format as hours or seconds only.

If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.

### The Best Office Productivity Tools

#### Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

• Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
• Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
• Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
• Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
• Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
• Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
• Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
• Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
• More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.

#### Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Sours: https://www.extendoffice.com/documents/excel/3112-excel-display-minutes-only.html

15226 15227 15228 15229 15230