Excel Magic Trick 1076: Convert Date-Time Values to Serial Numbers w TEXT & Custom Number Format

preview_player
Показать описание

See how to Convert Date-Time Values in the form YYYYMMDDHHMMSS to proper date time Serial Numbers that Excel understands using TEXT function & Custom Number Formatting: 0000-00-00 00\:00\:00
1) TEXT converts value to text
2) Custom Number Format: "0000-00-00 00\:00\:00"
3) Math operation converts Text Number back to Number
4) Custom Number Format Cell to display as desired

Tricks learned from barry houdini @ Mr Excel Message Board and Leonid Koyfman @ YouTube

Reference videos:
Excel Magic Trick 721: Convert Text Time Numbers Without A Colon To Time 0655 into 06:55 AM
Excel Magic Trick 1058: Convert YYYYMMDD to Serial Number Date with =TEXT(A1,"0000-00-00")
Рекомендации по теме
Комментарии
Автор

Excel Magic Trick 1076: Convert Date-Time Values to Serial Numbers w TEXT & Custom Number Format 

excelisfun
Автор

Dear Mike, amazing tricks to converting date. It is really helpful, it made my job very easy.

khanasifkhan
Автор

Olá Mike, mais um vídeo excelente..obrigado.

Luciano_mp
Автор

Mike, thanks a million. Excell is fun! Im gonna review other videos of yours to improve this worksheet with additional stats. By the way, can you explain why in your formula the #1440 was used? Thanks.

chowman
Автор

Hello thank you. If you want to convert a date into the serial number what function would you use. the context is that want to concatenate the date value as part of a string as a unique code for a vlookup
Thank you.

londontownfc
Автор

folk it was great but exists a lot of diffirent ways to do dates and i cant figure out which is for each problem..do y have a video with all dates tranformations ways?

oddnumber
Автор

Hi Mike, you amaze me. Like the video. Ive posted a post concerning the calculating of times. Ive checked some of your other videos but I'm stuck in two areas. For example, the sheet I created logs calls, when they start n when they end. Can I format the cell to read only in total minutes? Ie, 1:22:34 to read 82:34 mins. I then need to calculate the cost, lets say .24 cents per minute. If my math is correct this call cost me $19.76 @ .24 pm...right? Hope u can help or tell me what trick can aide me on this problem. If you like to consider this problem on a feature video, consider the following issues...time n date stamps for the start n end of a call, total hours n minutes, cost n filtering the report by date. I know that I can use the built in filter function in excel. Again, thanks n keep those videos coming. God bless.

chowman
Автор

Is there any way to make some encryption also? like to embed the current date and time into serial number but encrypted. Would be interesting.

dimitrikolotauri
Автор

Nice video, can i replicate in Portuguese?

simpleConciliation
Автор

Hello ExcellsFun, I have an format of April 14, 2015, 12:00:00 AM
Which I need to change to normal dd-mm-yyyy hh:mm:ss . Please let me know how to do it

InvincibleDR
Автор

I need your help Sir.

How can I split this format 6/23/2014  6:41:08 PM  to this format 6:41:08 PM

I'll be really grateful for your help.

ahmedjamalhumakani