Hi
If I have Minutes displayed in cell as: 321:30
How do I Format it to display as Decimal so result would be: 321.50
I have played with the formatting but can not get it to work.
Any suggestions would be great
Thanks
Hi
If I have Minutes displayed in cell as: 321:30
How do I Format it to display as Decimal so result would be: 321.50
I have played with the formatting but can not get it to work.
Any suggestions would be great
Thanks
Try this in a helper column:
=LEFT(A1,FIND(":",A1)-1)&"."&(RIGHT(A1,2)*100)/60
then hide the column in question.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
If your 321:30 is stored as a time and formatted as [mm]:ss in cell A1...
Then to convert to a decimal, you could use
and format as a number.Formula:Please Login or Register to view this content.
let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source
If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE
Walking the tightrope between genius and eejit...
That worked a treat! Thanks so Much!
Problem solved - Will add to rep
Note: I did as Per AliGW - Which worked
Thanks for the rep, but I think Olly's reply is closer to what you asked for!
Here is another way
Enter formula in B1 and format cell as Number
Formula:Please Login or Register to view this content.
v A B 1 321:30 321.50
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Thanks All - You've really helped
use Olly's
Hi All
I am back again about this. Sorry. I thought it looked correct.
Using this: 2,455:13
I am trying to get the result of: 2455.219
The closet I have gotten is with AliGW opetion but its not quite there.
example: If I was to manually do it I would enter =(2455*60+13)/60 and I get the right result. But if I have 100's it would be very time consuming.
First :
Kindly provided by AliGW was
Result: I get 2,455.5Please Login or Register to view this content.
Secound:
Kindly provided by Olly was
And Format as a numberPlease Login or Register to view this content.
Result: #VALUE!
Third:
Kindly provided by AlKey was
And Format as a numberPlease Login or Register to view this content.
Result: #VALUE!
Any further help on this would be much appreciated.
Formula works fine for me. It works with real Date/Time and with text entries
Please see attached file.
If you are happy to settle for three decimal places in all, try this:
=SUBSTITUTE(LEFT(LEFT(E1,FIND(":",E1)-1)&"."&((RIGHT(E1,2)*100)/60)*100,FIND(".",LEFT(E1,FIND(":",E1)-1)&"."&((RIGHT(E1,2)*100)/60)*100)+3),",","")
The answer is not 2455.219, by the way - it's 2455.216.
Thanks you both I will take a look.
Thanks again for your help with this.
Try this:
=(SUBSTITUTE(LEFT(A1,FIND(":",A1)-1),",","")+(RIGHT(A1,2)/60))
BTW, you shouldn't be using values like 2,455:13 since this is neither Time nor a valid numeric value. However, if you do insist on using them then here is a modified formula
Formula:Please Login or Register to view this content.
Edit: removed IFERROR function
Last edited by AlKey; 08-11-2016 at 12:41 PM.
Maybe like this ...
=SUBSTITUTE(A1,",","")*24
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks