Excel Tips - Converting a Text String to a Date

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2015
  • This tip will show you how to convert a string of numbers into a valid Excel Date Format

ความคิดเห็น • 73

  • @denislawton6292
    @denislawton6292 2 ปีที่แล้ว +1

    You are the man! CTRL ALT V - mind blown!

  • @lescalante86
    @lescalante86 11 หลายเดือนก่อน

    Thank you so much for this video!! I have been looking for a solution to this for the longest time! the data that I download doesn't translate as a date and I've been having to type in the information for each line. I guess I haven't been searching the right way to change the numbers to a date before, until today and your video popped up! And it worked!!! This is a report we have to pull every day!! Thank you!

  • @mando116976
    @mando116976 ปีที่แล้ว +1

    I've seen many videos of this but this was the easiest most helpful one! Thank you!

  • @mirjaavad
    @mirjaavad 3 ปีที่แล้ว +3

    great video. exactly what i needed. helped a lot. thanks!

  • @rwfrench66GenX
    @rwfrench66GenX ปีที่แล้ว +1

    Great tip! Thank you very much! My data had the month in from, day in the middle and year at the end and I had to rearrange the order for my formatting. Also I had 2 digits for the year but I also had 1 and 2 digit months so I had to sort the sheet so I could change where the Mid function started from the left. It was easier to sort the whole sheet and have the dates in numerical order so I could drag the formula down instead of retyping when I found another 2 digit month.

  • @alhamdow
    @alhamdow 6 ปีที่แล้ว +1

    Very useful! Thanks for sharing!

  • @sridharbasavaraju9097
    @sridharbasavaraju9097 4 ปีที่แล้ว +1

    Thank you very much, you made my work easy.. though very basic, very useful for beginners in need

  • @kattarhindu8601
    @kattarhindu8601 7 ปีที่แล้ว +1

    thank u rob this was mine situation at audit in a company yesterday with software exporting the date in number format, now m free of worries because of this video.....ty

    • @soulcanyon
      @soulcanyon  7 ปีที่แล้ว +1

      Thanks Karan. I'm happy it helped!

  • @asthanarain1173
    @asthanarain1173 3 ปีที่แล้ว +1

    REALLY HELPFUL, THANKS ROB :)

  • @bhanugupta7543
    @bhanugupta7543 2 ปีที่แล้ว +1

    Great video. Thank you for sharing.

  • @khushbudesai8126
    @khushbudesai8126 4 ปีที่แล้ว

    Thank you for this, it helped big time 🙂

  • @rajeswarip6711
    @rajeswarip6711 5 ปีที่แล้ว

    Lovely thank you so much for the help.

  • @dogg91702
    @dogg91702 11 หลายเดือนก่อน

    Thank you, this is what I needed❤

  • @Shirowaheire
    @Shirowaheire ปีที่แล้ว

    Very helpful, thank you!

  • @Lerumles
    @Lerumles 8 ปีที่แล้ว +8

    You just solved one of my biggest problems

    • @soulcanyon
      @soulcanyon  7 ปีที่แล้ว

      Awesome. Thanks for the feedback!

  • @lungultrasound371
    @lungultrasound371 4 ปีที่แล้ว +1

    you've helped me. tx

  • @raumgehll
    @raumgehll 4 ปีที่แล้ว +1

    MY. MAN. Thank you.

  • @somureddy_01
    @somureddy_01 2 ปีที่แล้ว +1

    Thank you so much you saved me thanks alot❤️❤️

  • @rajnikanojia438
    @rajnikanojia438 ปีที่แล้ว

    Thank you sir. You Solved Big Problem

  • @oddanneout
    @oddanneout 4 ปีที่แล้ว

    NICE. thank you!

  • @arcotkarthik1452
    @arcotkarthik1452 3 ปีที่แล้ว +1

    Very helpful 🙏

  • @tanujagoswami8634
    @tanujagoswami8634 3 ปีที่แล้ว

    You help me alot today... Thnku soo much #fromIndia ❤️

  • @jeffrinvite1107
    @jeffrinvite1107 ปีที่แล้ว

    Best one!!!!

  • @roset3887
    @roset3887 2 ปีที่แล้ว +1

    Thank you

  • @BalaMurugan-co1jj
    @BalaMurugan-co1jj ปีที่แล้ว

    Thanks very much...

  • @aykumar26
    @aykumar26 3 ปีที่แล้ว

    Great video

  • @MuhammadAwais-qh2if
    @MuhammadAwais-qh2if 3 ปีที่แล้ว +1

    Thanks Dear

  • @sabrina4902
    @sabrina4902 2 ปีที่แล้ว +1

    Thank you!

    • @soulcanyon
      @soulcanyon  2 ปีที่แล้ว

      You are welcome!

  • @baneledludlu7983
    @baneledludlu7983 ปีที่แล้ว

    Thank you very much, this helps a lot, thanks a lot, The Lord bless you!.

  • @bck4589
    @bck4589 11 หลายเดือนก่อน

    Hello sir, in my data first month, mid date and last year how i convert it to day, month and year format? All data was in text format separated by /

  • @mauriciosalazar7418
    @mauriciosalazar7418 2 ปีที่แล้ว +1

    hi i have this information as text 20200930 and my excersise says " you will need to separate and rejoin the separate parts of the date using an appropriate date function" . I tried with a conctenate(left,mid,right) but is not working . I dont know if I have to put value before al the formula o what am i missing,. Thanks
    Pd how would you do the same example that you showed but insted of 15 You have 2015

    • @soulcanyon
      @soulcanyon  2 ปีที่แล้ว +1

      If 20200930 is in cell M26, then: =DATE(LEFT(M26,4),MID(M26,5,2),RIGHT(M26,2))

  • @nuthannuthan479
    @nuthannuthan479 2 ปีที่แล้ว

    13.01.2021 is in plain format after downloading the file, how to convert this to date format.

  • @GoosebumpsLoaded
    @GoosebumpsLoaded 5 ปีที่แล้ว +2

    you can use simply text function =text(select value,"mm/dd/yy")

    • @wilmanrahmatnugraha1672
      @wilmanrahmatnugraha1672 3 ปีที่แล้ว

      how to do it reverse?

    • @soulcanyon
      @soulcanyon  2 ปีที่แล้ว +3

      The point of the video is that I don't want it in text format -- I want it in date format.

  • @martynaskavabata8042
    @martynaskavabata8042 7 ปีที่แล้ว

    Wicked skills! I was wondering if there is the complete opposite function to this? I was trying to source some sports data from the web but walked into a very nagging problem. For example, I Tried copying soccer results to excel and instead of result 3-1 I get 03:01:00, but when I try to convert it to the number I get the result of 0.13. is there any clever way of going around this? I wouldn't mind to do it individually for one result, but we talking about thousands, which would literally take me forever to convert.

    • @soulcanyon
      @soulcanyon  7 ปีที่แล้ว +1

      The reason for it being a number value of .13 is that time values are 0-1.0 (a decimal value between 0 and 1). For your problem, use Text to Columns with a delimiter of - on the score. It will put the two parts of the score in separate columns, but then you can just concatenate them again if you want them together.

  • @RichieRK7
    @RichieRK7 ปีที่แล้ว +1

    I know this video is 7 years old but I'm having an issue getting it correct with the full year not just the last 2 digits. I have 20220224 and it showed up with the formula as 08/24/2040 rather than 02/24/2022...Any tips on what I can change in the formula to display correctly?

    • @soulcanyon
      @soulcanyon  ปีที่แล้ว +1

      This video is timeless! Say 20220224 is in cell E2. Here is the function: =DATE(LEFT(E2,4),MID(E2,5,2),RIGHT(E2,2)). If you are REALLY attached to the leading zero for the month then Format Cells --> Custom Format --> mm/dd/yyyy

  • @steltec
    @steltec 7 ปีที่แล้ว +2

    how can you use the 'left' formula if your text string is 71201... meaning 1st of December 2007 ?

    • @soulcanyon
      @soulcanyon  7 ปีที่แล้ว +1

      Left, Right and Mid just pull whatever you have apart based on where the pieces are. In your situation the first 1 or 2 positions are year, the second 1 or 2 are day (depending on whether there is a 0 or not when the month is single digit -- then you may have to embed Left, Right and Mid into an IF function in those cases. Just use those functions to pull it apart depending on what is where.

  • @cynthiazuniga9202
    @cynthiazuniga9202 7 ปีที่แล้ว +1

    What can I do if I got 01312015 for 01/31/15

  • @jskaran5
    @jskaran5 6 ปีที่แล้ว +1

    how to change date in string as:
    01/05/2009 into " first may two thousand nine.
    plz. tell me.

  • @kunalvasita2570
    @kunalvasita2570 4 ปีที่แล้ว +2

    can you please explain how we can convert the 03142020 into 03 is month , 14 is day and 2020 is yr ? can you please provide me the formula ?

    • @soulcanyon
      @soulcanyon  4 ปีที่แล้ว

      If A1 contains 03142020, then the formula to convert it would be: =DATE(RIGHT(A1,4),LEFT(A1,2),MID(A1,3,2)). Make sure the cell that has this formula is formatted for date mm/dd/yyyy

  • @CurtisWarnasch
    @CurtisWarnasch 4 ปีที่แล้ว

    Please help, I have year 2000 and this keep failing 20000107 makes the year 1999

  • @robinsanvideos7694
    @robinsanvideos7694 5 ปีที่แล้ว

    Thank you dude

  • @jyotiloomba464
    @jyotiloomba464 4 ปีที่แล้ว +1

    I am using DDMMYY format, I want to convert 051119 to 5/11/2019?

    • @soulcanyon
      @soulcanyon  4 ปีที่แล้ว +1

      If A1 contains 051119, then the formula to convert it would be: =DATE(CONCATENATE(20,RIGHT(A1,2)),LEFT(A1,2),MID(A1,3,2)). Format the cell that contains this formula with Format Cells --> Custom --> dd/mm/yyyy and you will get 11/05/2019

    • @TechGuide4U
      @TechGuide4U 4 ปีที่แล้ว

      You can check this website - www.juliandate.net/
      It will allow you to convert date to YYDDD format

    • @jyotiloomba464
      @jyotiloomba464 4 ปีที่แล้ว +1

      @@soulcanyon thanks brother it's working

    • @soulcanyon
      @soulcanyon  4 ปีที่แล้ว

      @@jyotiloomba464 Awesome!

  • @muhamadhairol8818
    @muhamadhairol8818 3 ปีที่แล้ว +1

    Thank bro. I can convert 2022021 to 2-Feb-21.

    • @soulcanyon
      @soulcanyon  3 ปีที่แล้ว

      Yup. You got it?

  • @javierfito5077
    @javierfito5077 3 ปีที่แล้ว

    crap, this doesn´t work for me. they used the day for first number so it has diferent lenght

  • @mahaboobhossain5076
    @mahaboobhossain5076 5 ปีที่แล้ว

    I NEED THIS FILE BROTHER PLZZZZZZZZZZZZZZZZZZZZZZZZZZ

  • @utpaldutta3237
    @utpaldutta3237 5 ปีที่แล้ว

    How to date format solve text file to excel date format Like DD/MM/YYYY LIKE TEXT FILE DATE
    12/06/1967, 1/6/75, 01/6/2023, 25/10/31 .

  • @jajraj
    @jajraj 4 ปีที่แล้ว +1

    20200218
    plz convert this in date format, left 4 number is year mid 2 is month right 2 num is date, plz help me

    • @soulcanyon
      @soulcanyon  4 ปีที่แล้ว +2

      If 20200218 is in cell D2, then: =DATE(LEFT(D2,4),MID(D2,5,2),RIGHT(D2,2))

    • @jajraj
      @jajraj 4 ปีที่แล้ว +2

      @@soulcanyon thanks

  • @mahaboobhossain5076
    @mahaboobhossain5076 5 ปีที่แล้ว

    IT IS HELPFUL PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ

  • @user-dg9ks7gd5h
    @user-dg9ks7gd5h 2 ปีที่แล้ว

    how to turn serial hour into date in excel

  • @mohiinit
    @mohiinit ปีที่แล้ว

    For,2009 it's not working

  • @rakshithkumar9101
    @rakshithkumar9101 5 ปีที่แล้ว

    Date (yyyymmdd.000) convert to Date (mm/dd/yyyy) need formula

    • @soulcanyon
      @soulcanyon  2 ปีที่แล้ว

      =date(left(value,4),mid(value,5,2),mid(7,2))

  • @symphonyofdestruction2015
    @symphonyofdestruction2015 4 ปีที่แล้ว

    What if i have 1402202510215

  • @mohiinit
    @mohiinit ปีที่แล้ว

    Very helpful!!! Thank you!!