My raw data in column B each on a new line looks like this:- 5.04,3.57,0.58,10.01 Left of . is minutes and right of . is seconds. I need to calculate the average of my data . Ho
You need to convert to a true time; one option is to use TIME
and parse the raw data:
In a new column, use:
=TIME(,LEFT(B1,FIND(".",B1)),MID(B1,FIND(".",B1)+1,999))
Another option is to use TIMEVALUE
:
=TIMEVALUE("00:"&SUBSTITUTE(B1,".",":"))
EDIT:
Use TEXT
to force the raw times to retain a trailing zero when parsing:
=TIMEVALUE("00:"&SUBSTITUTE(TEXT(B5,"00.00"),".",":"))
Another option, probably the best one actually, is just a bit of math:
=TIME(,TRUNC(B1),(B1-TRUNC(B1))*100)