Single Cell Formula

Piper5299X

New Member
Joined
Nov 17, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I need to enter total minutes in a cell, but I want that cell to display in decimal hours. Example: I enter 360 in cell A5, but I want A5 to display 6.0
Another example: I enter 150 in cell A5, but I want A5 to display 2.5.
I've tried entering =Sum(A5/60) and =Sum(A5)/60 in cell A5.

I'm thinking VBA, but no idea how to do it. I've also tried the convert function, but I receive the #VALUE error.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Date and Time.xlsm
ABCDEFGHIJK
2Date18-11-20Alternative
3CodeMonTueWedThuFriSatSunTotalMinutesHours
4Total8.008.004808.00
5400150.25150.25
17b
Cell Formulas
RangeFormula
B4B4=SUM(B5:B12)/60
I4I4=SUM(B4:H4)
J4J4=SUM(B4:H4)*60
K4K4=SUM(K5:K12)
I5I5=SUM(B5:H5)/60
J5J5=SUM(B5:H5)
K5K5=J5/60
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,699
Members
449,048
Latest member
81jamesacct

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