English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

For example, let's start with 5:34:55 (5 hours, 34 minutes, 55 seconds). What formula do I use to convert it to 335 minutes?

2006-11-27 00:15:03 · 1 answers · asked by TopRamen 3 in Computers & Internet Software

1 answers

Set cell A1 to 5:34:55 and some other cell to:

=(HOUR(A1))*60+MINUTE(A1)+ IF(SECOND(A1)>30, INT(1+ SECOND(A1)/60), SECOND(A1)/60)

2006-11-27 00:23:47 · answer #1 · answered by nospamcwt 5 · 1 0

This Site Might Help You.

RE:
In Excel, how do I convert hours, minutes, seconds to minutes?
For example, let's start with 5:34:55 (5 hours, 34 minutes, 55 seconds). What formula do I use to convert it to 335 minutes?

2015-08-18 14:38:42 · answer #2 · answered by ? 1 · 0 0

Convert between time units
To do this task, use the CONVERT function.

If the CONVERT function is not available, install and load the Analysis ToolPak add-in.

How?

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click OK.
If necessary, follow the instructions in the setup program.
Example
The example may be easier to understand if you copy it to a blank worksheet.

How to copy an example

Create a blank workbook or worksheet.
Select the example in the Help topic.
Note Do not select the row or column headers.



Selecting an example from Help

Press CTRL+C.
In the worksheet, select cell A1, and press CTRL+V.
To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.

1
2
A
Data
6
Formula Description (Result)
=CONVERT(A2,"day","hr") Convert 6 days to hours (144)
=CONVERT(A2,"hr","mn") Convert 6 hours to minutes (360)
=CONVERT(A2,"yr", "day") Convert 6 years to days (2191.5)


Note For conversions using a year, a year is treated as 365.25 days

2006-11-27 00:24:52 · answer #3 · answered by ToadysFroggy 3 · 2 0

fedest.com, questions and answers