osx - Create a timestamp given date values columns in Excel -


i have date in following format:

column a: day (number form) column b: month (number form) column c: year (yy number form, in case 15 , 16 2015 , 2016) column d: hour (number form, 0 through 23) column e: minute (number form) 

how can convert timestamp (namely, timestamp representing number of minutes)? don't see kind of "dateserial" type function in excel (at least on mac version).

you can formula:

=date(2000+c1,b1,a1)+time(d1,e1,0) 

this number around 42000, need format in number format want.

enter image description here

then if want time difference between 2 rows use:

=f2-f1 

and format cell custom format of [hh]:mm:ss

enter image description here

note method excel stores date/time is:

dates whole numbers each day since jan 1st 1900 in 42000's.

time decimal based on 24 hours being 1.

so both current time 42531.63956 or 6/10/2015 3:21:33 or so, when mask applied.

excel uses method can math on values. method on how output displayed depends on format of cell in number resides.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -