Convert Text to Date Values in Excel - Multiple Examples

Sdílet
Vložit
  • čas přidán 4. 08. 2024
  • In this video, we will demonstrate a variety of techniques to convert text to date values in Excel. These will include formulas and also good old classic Excel tips.
    Read the full article I wrote at HowTo Geek - www.howtogeek.com/415246/how-...
    Analysing data using dates is very commonplace. But if Excel does not recognise the values as dates, then its all useless.
    This video walks through different scenarios and their solutions to convert the text to date.
    Find more great free tutorials at;
    www.computergaga.com
    ** Online Excel Courses **
    The Ultimate Excel Course - Learn Everything ► bit.ly/UltimateExcel
    Excel VBA for Beginners ► bit.ly/2JvnnRv
    Advanced Excel Tricks ► bit.ly/3CGCm3M
    Excel Formulas Made Easy ► bit.ly/2t3netw
    Creating Sports League Tables and Tournaments in Excel ► bit.ly/2viGg3J
    Connect with us!
    LinkedIn ► / 18737946
    Instagram ► / computergaga1
    Twitter ► / computergaga1
  • Jak na to + styl

Komentáře • 228

  • @penguin0075
    @penguin0075 Před 4 lety +2

    You have made some of the best Excel videos I've ever seen. Please keep them coming, although, I am only about 3 or 4 videos into your library of tutorials. Helping me no end with my day job :) All the best Sir.

    • @Computergaga
      @Computergaga  Před 4 lety +1

      Thank you very much. Your comment is much appreciated.

  • @sasavienne
    @sasavienne Před 5 lety +3

    That is stunning. Thank you so much Alan. I appreciate your efforts to make such great videos.

  • @wayneedmondson1065
    @wayneedmondson1065 Před 5 lety +1

    Hi Alan.. another great lesson. Thanks for the conversion tips and tricks. Gaga is always full of useful and informative information. Thumbs up!

  • @melguzman2322
    @melguzman2322 Před 2 lety

    Amazing. The internet is sweet but your presentation is sweeter. I am giving you lots of hugs of appreciation for making complicated life very simple. You are the best Alan. Thank you.

    • @Computergaga
      @Computergaga  Před 2 lety

      Thanks, Mel. I'm happy to hear that it helped.

  • @84matka
    @84matka Před 9 měsíci

    thanks for this- it helped me a lot!

  • @sakawathossainshohag111

    Thank you! it's very helpful to me, too much useful.

  • @MariaB-sr6or
    @MariaB-sr6or Před 4 měsíci +1

    Thank you! This was the exact answer I was looking for :)

  • @alexandrkrav
    @alexandrkrav Před 2 lety

    Alan, thank you so much you save my nerves and time to replace COMA in LONG list of Date data. Regards Alexander.

  • @Luciano_mp
    @Luciano_mp Před 5 lety +1

    Very cool, good tips, it will help a lot. Thank you

  • @shallymarcoe
    @shallymarcoe Před 3 měsíci

    Very clear and just what I needed. Thank you

  • @rkpatil3518
    @rkpatil3518 Před 4 lety

    Thank you! it's very helpful to me.

  • @divyanivalkar7877
    @divyanivalkar7877 Před 2 lety

    Thank you so much. It very useful for me while working on text date big data.

    • @Computergaga
      @Computergaga  Před 2 lety

      You're welcome, Divya. Great to hear that the video helped.

  • @abrahamchiluba3940
    @abrahamchiluba3940 Před 4 měsíci

    Find and replace proved helpful. Thanks.

  • @sd2009in
    @sd2009in Před rokem

    You just solved a headache for me... thank you!! you deserve a like and subscribe for this for sure!!...

    • @Computergaga
      @Computergaga  Před rokem

      Thank you very much. Happy to have helped.

  • @joanneosborne2428
    @joanneosborne2428 Před 3 lety

    Great video! Thank you very much!!!!!!

  • @luafahy6072
    @luafahy6072 Před 3 lety

    Thank you! You saved me a lot of frustration!

  • @neetubahl8976
    @neetubahl8976 Před 11 měsíci

    Thankyou so much for the technique. You really helped me today :)

  • @cash1webster
    @cash1webster Před měsícem

    Thank you. You saved me a lot of time.

  • @drmohdzulijaafar9997
    @drmohdzulijaafar9997 Před 3 lety

    STUNNING!

  • @majorkiki8340
    @majorkiki8340 Před rokem +1

    THANK YOUUUU!

  • @joshuamanampiu6489
    @joshuamanampiu6489 Před 4 lety

    Fantastic. Thank You

  • @mohammedalmashibi1727

    Excellent, solved all doubts. Thank you

  • @orical2832
    @orical2832 Před 3 lety

    Thank you, thank you, THANK YOU!!!!!!

  • @RA-rh5lb
    @RA-rh5lb Před rokem

    this is what I needed today. thank you so much.. yes its useful.

  • @sankarpadarthy6074
    @sankarpadarthy6074 Před rokem

    Very Thankful to you Sir

  • @yazvibes007
    @yazvibes007 Před 2 lety

    Thank you. It worked

  • @maktrinidad9025
    @maktrinidad9025 Před 3 lety

    Very helpful Thank you mate

  • @reddysiddiqui
    @reddysiddiqui Před 2 lety

    Thank you. This is very useful :)

  • @electronicsforever1
    @electronicsforever1 Před 2 lety

    Thank you so much

  • @nithikasn
    @nithikasn Před 3 lety

    Great Computer Gaga!

  • @fionawang6884
    @fionawang6884 Před 3 lety

    really so useful thanks for sharing ^^

  • @excuseme1911
    @excuseme1911 Před 3 lety

    Thanks so much!!!!

  • @hadikarimi2818
    @hadikarimi2818 Před 2 lety

    Fantastic man, Thank you

  • @ShubhamSingh-kp3mz
    @ShubhamSingh-kp3mz Před 3 lety

    It works thankyou👍

  • @entertainmentgalaxy971
    @entertainmentgalaxy971 Před 5 lety +1

    thanks for sharing date fun.

  • @DIGITAL_COOKING
    @DIGITAL_COOKING Před 5 lety +1

    Yes, very useful, I think we can use flash fill too to resolve the problem just write 12/02/2010 near 12.02.2010 for example, and use flash fill for the rest

  • @highaim2001
    @highaim2001 Před 3 lety

    Thanks well explained.

  • @KiyaniPlateOfFlavour
    @KiyaniPlateOfFlavour Před 4 lety

    Its really helpful video for me God bless you you solve my problem

  • @theatrecommeonveut9681

    T’hank you very much

  • @navvinbhat2342
    @navvinbhat2342 Před rokem

    THNX A LOT I WANTED TO REPLACE 2021 TO 2022 SO UR VIDEO HELPED ME A LOT THNX ONCE AGAIN

  • @wrsatish
    @wrsatish Před 3 lety

    Thanks a lot..!!

  • @mtajammalyasin
    @mtajammalyasin Před 3 lety

    thanks, you made my life easy

  • @subhamsaha2235
    @subhamsaha2235 Před 2 lety

    loved it

  • @glenhenryoconnor3370
    @glenhenryoconnor3370 Před 2 lety

    thanks just what i need to know

  • @arsipkubrebes
    @arsipkubrebes Před 3 lety

    Thank you

  • @kamilg1425
    @kamilg1425 Před 2 lety +1

    Thank you very much ^_^

  • @sanjaysby5866
    @sanjaysby5866 Před 2 lety

    My problem is resolved,Thank you so much

  • @rymmai_gracie
    @rymmai_gracie Před rokem

    Thank You

  • @khawarmehmood1835
    @khawarmehmood1835 Před 3 lety

    thankx alot dear your video helped me alot

  • @nurulsuhailadzulkeplee5475

    Thank you so much sir

  • @nagarajanc5092
    @nagarajanc5092 Před 2 lety

    Thank you..

  • @SpreadHappinessonly
    @SpreadHappinessonly Před 2 lety

    Thank you bro (visitor from INDIA )

  • @babarqureshi5043
    @babarqureshi5043 Před 5 lety +1

    Thanks sir.

  • @nagendrav1224
    @nagendrav1224 Před 2 lety

    REALLY ITS HELPFULL FOR US THANKS

  • @nishadnandakumar5142
    @nishadnandakumar5142 Před 3 lety

    Really helpful

  • @GS14221
    @GS14221 Před 3 lety

    Saved lots of time tq man 😍

  • @ganesht575
    @ganesht575 Před 2 lety

    Poli sadanam , Thanks

  • @aykumar26
    @aykumar26 Před 3 lety

    Great video

  • @MaliseJayasen
    @MaliseJayasen Před 3 lety

    Awesome formula....

  • @naren2389
    @naren2389 Před rokem

    tq so much

  • @vikashsaini6064
    @vikashsaini6064 Před 4 lety

    thank you sir

  • @nanicris7011
    @nanicris7011 Před 5 měsíci

    thank you

  • @tonytaf107
    @tonytaf107 Před 2 lety

    Any suggestions to covert for example: 1m 30s to 1.5 or 4m 30s to 4.5 ???? Please

  • @umeshmishra2010
    @umeshmishra2010 Před 4 lety

    it is unbelievable sir really great ideas you served up easily.

    • @Computergaga
      @Computergaga  Před 4 lety

      Excellent! Thank you, Umesh.

    • @SIMRANKAUR-eg7nc
      @SIMRANKAUR-eg7nc Před 3 lety

      Search channel "off to office". I accidentally came across it. Handling dates has been beautifully explained there.

  • @veag687
    @veag687 Před 3 lety +1

    Expained as if I was a 4 year old. Just what I needed, thank you!

  • @serekiau2422
    @serekiau2422 Před rokem

    Hello, region where I am in we follow month/day/year, how do I change that with the formula..

  • @ArvindKumar-mv4tj
    @ArvindKumar-mv4tj Před 3 lety

    Thanks

  • @teem5945
    @teem5945 Před 3 lety

    You're an Angel I needed desperately. Wow! Thank you very much!

  • @jainulabideen8842
    @jainulabideen8842 Před 3 lety

    awesome

  • @charliemacswan91
    @charliemacswan91 Před 5 lety +1

    I have a spreadsheet at work with a column listing training expiry dates. I need to use the set icon traffic light system. I want the expired dates to be red. Six months before the due date they need to be amber and one year before expiry date they can remain green. Please can anyone help I have been trying for a few hours and am flummoxed. Thank you Julie

    • @abhiseksingh4886
      @abhiseksingh4886 Před 3 lety

      U can use conditional formatting. There is an option of dates greater than less than kinda. u can watch a channel viz "off to office" to ward off ur confusions.

  • @bakihanma1680
    @bakihanma1680 Před rokem

    useful

  • @almamunhosen8236
    @almamunhosen8236 Před 2 lety

    Nice

  • @kidsstoriesverse
    @kidsstoriesverse Před 3 lety

    i got what i wanted in this video.

  • @david_wright
    @david_wright Před 2 lety +1

    Hi, I've just seen your video and I was wondering if you could advise how I would convert this text example string "January 7, 2022" into an actual date in UK format (ignore quotations) - thanks in advance!

    • @mrteacup8781
      @mrteacup8781 Před 2 lety +1

      skip to 3:21 this works

    • @david_wright
      @david_wright Před 2 lety

      @@mrteacup8781 Thanks pal, I’ll check it out 😃👍🏼

    • @Computergaga
      @Computergaga  Před 2 lety +1

      I hope it worked for you David.

  • @hazemali382
    @hazemali382 Před 5 lety

    WOW ♥

  • @NiamhCostello-en6mf
    @NiamhCostello-en6mf Před 4 měsíci

    Hi, I have a list of different date/times in different types (I attached a small section of the list). They're all down as text but I really need it to be as a date format to do some calculations. I tried all the methods to change it but really unsure what else I can do, any help is appreciated!
    Mar 21 2024 12:01AM
    Mar 21 2024 12:01AM
    Mar 22 2024 12:00AM
    Mar 26 2024 9:17AM
    Mar 26 2024 12:00AM
    Mar 25 2024 12:00AM
    Mar 24 2024 12:00AM
    Mar 23 2024 12:00AM
    25/03/2024 00:00:22
    24/03/2024 00:00:22
    23/03/2024 00:00:33
    22/03/2024 00:00:21
    21/03/2024 00:02:54

  • @vivienneseymour1756
    @vivienneseymour1756 Před 3 lety +1

    Helped be sort an issue I had. Thank you

  • @crazydrifter13
    @crazydrifter13 Před 2 lety +1

    Very nice video but when I use =Value () function on a date column in dd/mm/yyyy format, it still throws a #value error in ones that have text formatted dates.

    • @Computergaga
      @Computergaga  Před 2 lety

      I would need to see it to explain in adequate detail, but essentially Excel cannot recognise the number. It is not in a format recognised by your locale formatting. Text to Columns is a better approach for situations like this, or even the DATE function and give it the three parts using text functions.

    • @crazydrifter13
      @crazydrifter13 Před 2 lety

      @@Computergaga thank you so much for your reply. I eventually fixed it by changing "region and language" in windows to US English. US English has those slash type date formats and English India did not have them so it was throwing an error. We use these slash format dates in India a lot but they aren't listed in our region for some reason.

    • @Computergaga
      @Computergaga  Před 2 lety

      @@crazydrifter13 nice work 👍

    • @crazydrifter13
      @crazydrifter13 Před 2 lety

      @@Computergaga 👍🏼 that's what I should say. You are doing all the nice work. Thanks.

  • @pauravshah7516
    @pauravshah7516 Před rokem

    thanks for the examples... but I have 220109 type date in my dataset.. how to convert that ? 220109 is (9th January 2022)

    • @Computergaga
      @Computergaga  Před rokem

      You're welcome. You can use the Text to Columns technique and apply YMD. Or, you could use a formula such as =DATE(LEFT(A1,2),MID(A2,3,2),RIGHT(A1,2))

  • @ramnik.khanna
    @ramnik.khanna Před 2 lety

    @Computergaga thanks for a nice tutorial! I appreciate that you're still responding to messages here, even though your tutorial is 2+ years old!
    I need your urgent help.
    I converted a very important .db database file to csv format using a SQL a convertor tool, and all the dates (and time) in the output file are showing as 13 digit numbers.
    Thereafter, I saved the exported / output .csv file as an Excel file.
    How do I convert these numbers back to a ddmmYYY date fomat in Excel? (I am in the GST +5.30 hours Time Zone.)

    • @Computergaga
      @Computergaga  Před 2 lety +1

      Sorry for the delayed response on this. I've just seen it while replying to another comment. I hope you fixed the data Ramnik.

    • @ramnik.khanna
      @ramnik.khanna Před 2 lety

      @@Computergaga , yes thanks! I was able to resolve it.

  • @fuhaili2597
    @fuhaili2597 Před rokem

    if my Excel file does not recognise the values as dates, is there any solutions?

    • @Computergaga
      @Computergaga  Před rokem

      Depends on their structure, but sounds like we need to use an examples such as this formula
      =DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2))
      This formula is used on a date in the yyyymmdd format, so if your is different, a variation of the formula is required.

  • @mollycoddleher4843
    @mollycoddleher4843 Před 3 lety

    Thank you. How do I change '21-Oct-2020' to 21-OCT-2020'? I'd appreciate your help.

    • @chhayeav
      @chhayeav Před 3 lety

      =UPPER(TEXT(E3,"dd/mmm/yyyy"))

    • @Computergaga
      @Computergaga  Před rokem

      You can use the UPPER function to convert case

  • @javaidahmad7926
    @javaidahmad7926 Před 2 lety

    Thanks! Now if I delete the first column, the referenced data in the second will vanish! How to avoid that?

    • @Computergaga
      @Computergaga  Před 2 lety

      You're welcome. Convert the second column to values only. You can do this by copying the rage and past as Values and Number Formatting over them.

  • @MrBardun111
    @MrBardun111 Před 2 lety

    How do I EXACTLY order data by date if its written in format looking like this "Apr-13-21"?

    • @Computergaga
      @Computergaga  Před 2 lety +1

      The first task is to convert them to dates, because they are probably stored as text. Then you can sort them as usual. This video shows how to convert them to dates quick and easy - czcams.com/video/FErqhZl1Vds/video.html Text to Columns is a quick approach.

  • @sujithp6402
    @sujithp6402 Před 3 lety

    Its really helpful video for me..🎈✨

  • @leewilliams9137
    @leewilliams9137 Před 4 lety +1

    so what do you do when it comes up that it cant find the ''.'' to replace ;(

    • @Computergaga
      @Computergaga  Před 4 lety +2

      Sounds like they are already date values and just need formatting. Or you accidentally typed a space before or after the .

    • @leewilliams9137
      @leewilliams9137 Před 4 lety

      @@Computergaga cheers formatted 😉

    • @abhiseksingh4886
      @abhiseksingh4886 Před 3 lety

      If u use a tilde sign before wild cards excel will search even asterisk also.
      Text to columns at length has been explained in one of the videos at "off to office". Apart from the date aspects u will find other interesting usages of text to columns.

  • @muzammilanwar2766
    @muzammilanwar2766 Před rokem

    Dude i have big issue..
    How can i transfer the date from 21.11.2022 to 11/21/2022

    • @Computergaga
      @Computergaga  Před rokem

      The Text to Columns Approach should fix this. Or the DATE function can be used along with LEFT, MID and RIGHT to extract each date element.
      Depending on your region, you may need formatting to present it in the M/D/Y structure.

  • @oddnumber8149
    @oddnumber8149 Před 4 lety

    4-Jul returns #value..can y help me

    • @Computergaga
      @Computergaga  Před rokem

      #VALUE! is an error normally indicating the value is off the wrong type i.e., the data is stored as text and not a number. I can't provide a specific answer outside of the video examples here as it depends on many factors such as region. But we may result to splitting the value before converting it.

  • @oddnumber8149
    @oddnumber8149 Před 4 lety +1

    i have 10-Sep-12 and isnt date how to convert it folk?

    • @Computergaga
      @Computergaga  Před 4 lety

      If Text to Columns didn't work, try the DATEVALUE function.

    • @abhiseksingh4886
      @abhiseksingh4886 Před 3 lety

      It's already a date format.let us say if it has been entered into cell using =" 10-sep-20". U can use copy and paste special to retain value only from the copied cell. And using find replace get rid of = and ". I have now converted it into date which u can check. Or u can check even that with date value function.
      For further understanding u can onve visit "off to office" and c if it clears ur doubt.

  • @StefanDevito
    @StefanDevito Před 4 lety +2

    thanks - was about to throw out my laptop when just in time i saw your video

    • @Computergaga
      @Computergaga  Před 4 lety +1

      Excellent! Happy to help you and save a laptop.

    • @abhiseksingh4886
      @abhiseksingh4886 Před 3 lety +1

      Would do anything to save ur laptop. Along with this videos U can save it by watching a video at "off to office" dedicated to text to column feature.

  • @user-tm5mx8hx4s
    @user-tm5mx8hx4s Před 5 měsíci

    dear all, anyone know about " Thu 5/5/2022 10:26 AM " how to convert to date.

  • @afzalzamiransari
    @afzalzamiransari Před 5 lety

    Sir in previous video I have asked a question in your comment box about decimal value plz solve the problem

    • @Computergaga
      @Computergaga  Před 5 lety

      Hi Afzal, sorry I get a lot of comments and other messages. I'm not sure where that comment is or what video it is on.

    • @afzalzamiransari
      @afzalzamiransari Před 5 lety

      @@Computergaga sir dont say sorry you are very helpful for me

    • @Computergaga
      @Computergaga  Před 5 lety

      Thank you Afzal.

    • @afzalzamiransari
      @afzalzamiransari Před 5 lety

      @@Computergaga sir did you find my comment on another video

    • @Computergaga
      @Computergaga  Před 5 lety

      No I didn't

  • @rickkeev4919
    @rickkeev4919 Před 5 lety +1

    Instead of using the Value formula just add a zero to the cell value(after periods are replaced with slashes). (Still need to format as date)

    • @Computergaga
      @Computergaga  Před 5 lety +1

      Thanks RickK Evil for the tip.

    • @SIMRANKAUR-eg7nc
      @SIMRANKAUR-eg7nc Před 3 lety

      Search channel "off to office". I accidentally came across it. Handling dates has been beautifully explained there.

  • @jeanclaudekouassi1400
    @jeanclaudekouassi1400 Před 4 lety +1

    27/04/2019 is not a correct format. How can I put it in the correct format 04/27/2019?

    • @Computergaga
      @Computergaga  Před 3 lety

      You can use Text to Columns. On the third step, specify that you want the MDY format.

    • @abhiseksingh4886
      @abhiseksingh4886 Před 3 lety

      Text to columns at length has been explained in one of the videos at "off to office". Apart from the date aspects u will find other interesting usages of text to columns.

    • @mikibg8134
      @mikibg8134 Před 3 lety

      YOU CAN USE =TEXT(A1;"mm/dd/yyyy")

  • @vamsimunikrishna4030
    @vamsimunikrishna4030 Před 2 lety

    how to change Date to number like (Aug-20) to (08-20) in Excel

    • @Computergaga
      @Computergaga  Před 2 lety

      You can do this with custom number formatting Vamsi. Open Format Cells, click Custom and specify the format in the Type field as MM-YY.

  • @ivanatamanuk231
    @ivanatamanuk231 Před 3 lety

    =DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2))

  • @atereoluwashina3052
    @atereoluwashina3052 Před 8 měsíci

    Impressive! How can I give you double "Like", or double "Subscribe"?😄

  • @arunkumarbalmiki6904
    @arunkumarbalmiki6904 Před 2 lety

    Use replace

  • @naveenofficial3680
    @naveenofficial3680 Před 3 lety

    Unfortunately No example worked for me. How to convert text into date for text like "Jan 01, 2015"

    • @Computergaga
      @Computergaga  Před 3 lety

      I just tried it using Text to Columns and specifying MDY format. It worked perfectly.

    • @naveenofficial3680
      @naveenofficial3680 Před 3 lety

      @@Computergaga It's not working brother. I downloaded stock data from investing.com and date is in text format. Not able to convert using text to column feature

    • @Computergaga
      @Computergaga  Před 3 lety +1

      Ok. I'm not sure why. There are other formulas and Power Query techniques to do it. But the sample data I used Text to Columns was enough. And the other techniques are more extensive.

    • @naveenofficial3680
      @naveenofficial3680 Před 3 lety

      @@Computergaga Ok big brother 👍 thanks for reply. Your each and every tutorial is very interesting and useful. They helped me a lot in creating complex excel models. Now I'm able to do my research systematically. Thanks again.👏👏👏

    • @Computergaga
      @Computergaga  Před 3 lety

      You're welcome, Naveen. Thank you for your comments.

  • @amangusain3581
    @amangusain3581 Před 2 lety

    Listening your accent reminded me of Peaky blinders😁
    However, it was a great lesson. I got to know a lot new things.
    Thanks