What is the MINUTE function?
=MINUTE(serial_number)MINUTE returns only the minute of a time as a number from 0 to 59.
You can pass a cell with a time, the result of TIME or NOW, or text such as "14:30:45". The part taken is highlighted in green.
Use MINUTE to pull the minutes out of start and end times, for example to snap them to 15-minute blocks or to turn a clock time into minutes after midnight. It only returns the minute part of a time (0 to 59), so for elapsed time longer than an hour multiply the difference by 1440 (24 × 60) instead.
Arguments
- serial_number
- The time to take the minute from. If it includes a date, only the time part is used.
MINUTE examples
Example 1. Take the minute
=MINUTE("14:30:45")30.
Example 2. From the current time
=MINUTE(NOW())The minute of the current time.
Example 3. The minute part versus total minutes
=MINUTE(B2-A2)Taking the minute of the difference loses every full hour. For total minutes, multiply by 1440.
Start End =MINUTE(B2-A2) =(B2-A2)*1440 9:00 9:45 45 45 9:00 10:30 30 90 13:10 15:25 15 135 Example 4. Minutes after midnight
=HOUR(A2)*60+MINUTE(A2)For 8:45 the result is 525. Handy when you want to compare times as plain numbers.
Example 5. Round down to 15 minutes
=FLOOR(MINUTE(A2), 15)For 9:52 the result is 45. =TIME(HOUR(A2), FLOOR(MINUTE(A2),15), 0) turns it back into the time 9:45.
Common mistakes
Times over 24 hours
MINUTE looks only at the time within a day. For totals over 24 hours, such as hours worked, multiply the value by 24 to get hours.
Text formats
Text Excel cannot read as a time returns #VALUE!.
Counting a long task
A 90-minute task gives only 30 with MINUTE. Total minutes are =(B2-A2)*1440.
Shifts past midnight
If the end is 1:00 the next day, the difference is negative and shows as ####. Use =MOD(B2-A2, 1) first.
FAQ
- How do I put the parts back together?
- Use TIME.
- And the date part?
- Use YEAR, MONTH and DAY.
- How do I turn minutes back into a time?
- =TIME(0, 525, 0) is 8:45. Minutes over 59 carry into hours automatically.
- And seconds?
- SECOND returns the seconds. Total seconds are =A2*86400.