Convert Text to Date Values in Excel - Multiple Examples
Вставка
- Опубліковано 28 лип 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 - Навчання та стиль
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.
Thank you very much. Your comment is much appreciated.
That is stunning. Thank you so much Alan. I appreciate your efforts to make such great videos.
Thank you Salim. You're very welcome.
Hi Alan.. another great lesson. Thanks for the conversion tips and tricks. Gaga is always full of useful and informative information. Thumbs up!
Thank you Wayne.
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.
Thanks, Mel. I'm happy to hear that it helped.
Thank you! it's very helpful to me, too much useful.
Great to hear Sakawat 👍
Thank you! it's very helpful to me.
Great to hear. Happy to help Patil.
Very cool, good tips, it will help a lot. Thank you
You're welcome.
Thank you so much. It very useful for me while working on text date big data.
You're welcome, Divya. Great to hear that the video helped.
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
Thank you.
Fantastic. Thank You
You're welcome Joshua. Thank you.
Great video! Thank you very much!!!!!!
You're welcome, Joanne. Thanks.
Alan, thank you so much you save my nerves and time to replace COMA in LONG list of Date data. Regards Alexander.
Glad to help, Alexander 👍
Thank you! You saved me a lot of frustration!
Excellent! That pleases me.
thanks for this- it helped me a lot!
Its really helpful video for me God bless you you solve my problem
Great to hear. You're welcome 😀
Any suggestions to covert for example: 1m 30s to 1.5 or 4m 30s to 4.5 ???? Please
Thank you! This was the exact answer I was looking for :)
Glad it was helpful 🙂
Very clear and just what I needed. Thank you
Glad it was helpful!
Excellent, solved all doubts. Thank you
Great! Thank you.
Very Thankful to you Sir
No worries 👍
You just solved a headache for me... thank you!! you deserve a like and subscribe for this for sure!!...
Thank you very much. Happy to have helped.
THANK YOUUUU!
You're welcome.
Thank you, thank you, THANK YOU!!!!!!
You're welcome 👍
Thanks well explained.
Thank you, Ishtiaq.
Find and replace proved helpful. Thanks.
You're welcome!
STUNNING!
Thank you 😊
Very helpful Thank you mate
No problem 👍
this is what I needed today. thank you so much.. yes its useful.
Great! You're so welcome!
Thank you so much
You're welcome 😊
Thankyou so much for the technique. You really helped me today :)
You are so welcome! Happy to help.
Thank you. This is very useful :)
Great to hear. You're welcome.
really so useful thanks for sharing ^^
You're welcome 😊
Thank you. You saved me a lot of time.
Great to hear. You are welcome.
Thanks so much!!!!
You're very welcome 👍
Fantastic man, Thank you
You're welcome. Thank you, Hadi.
Thank you. It worked
You're welcome!
thanks, you made my life easy
Good to hear. No worries 👍
Thank you
You're welcome, Arsipku.
thanks for sharing date fun.
My pleasure. It is fun 😃
Thank you so much sir
You're welcome 👍
Hello, region where I am in we follow month/day/year, how do I change that with the formula..
it is unbelievable sir really great ideas you served up easily.
Excellent! Thank you, Umesh.
Search channel "off to office". I accidentally came across it. Handling dates has been beautifully explained there.
thank you sir
You're welcome Vikash.
Thanks sir.
My pleasure Babar.
Thanks a lot..!!
Welcome 😊
It works thankyou👍
No problem 👍
Poli sadanam , Thanks
My pleasure, Ganesh.
T’hank you very much
You're welcome 👍
Great Computer Gaga!
Thank you, Shanmuga.
REALLY ITS HELPFULL FOR US THANKS
Great! You're welcome.
thankx alot dear your video helped me alot
Most welcome, Khawar 😊
Thank You
You're welcome!
thanks just what i need to know
Awesome! You're welcome.
Expained as if I was a 4 year old. Just what I needed, thank you!
😆 You're welcome Juan.
My problem is resolved,Thank you so much
You're very welcome.
Thank you..
You're welcome 😁
Thanks
You're welcome, Arvind.
Really helpful
Thank you, Nishad.
Awesome formula....
Thank you, Malise.
loved it
😊
tq so much
You're very welcome, Naren.
thank you
You're welcome
Saved lots of time tq man 😍
No problem 👍
THNX A LOT I WANTED TO REPLACE 2021 TO 2022 SO UR VIDEO HELPED ME A LOT THNX ONCE AGAIN
You're welcome!
Great video
Thank you, Anil.
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
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.
Thank you very much ^_^
No problem 😊
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!
skip to 3:21 this works
@@mrteacup8781 Thanks pal, I’ll check it out 😃👍🏼
I hope it worked for you David.
awesome
Thank you 😊
Thank you bro (visitor from INDIA )
No worries 👍
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.
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.
@@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.
@@crazydrifter13 nice work 👍
@@Computergaga 👍🏼 that's what I should say. You are doing all the nice work. Thanks.
Nice
Thank you, Almamun.
@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.)
Sorry for the delayed response on this. I've just seen it while replying to another comment. I hope you fixed the data Ramnik.
@@Computergaga , yes thanks! I was able to resolve it.
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
thanks for the examples... but I have 220109 type date in my dataset.. how to convert that ? 220109 is (9th January 2022)
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))
i got what i wanted in this video.
Great to hear 👍
useful
Thank you.
if my Excel file does not recognise the values as dates, is there any solutions?
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.
Thank you. How do I change '21-Oct-2020' to 21-OCT-2020'? I'd appreciate your help.
=UPPER(TEXT(E3,"dd/mmm/yyyy"))
You can use the UPPER function to convert case
You're an Angel I needed desperately. Wow! Thank you very much!
You are so welcome
Thanks! Now if I delete the first column, the referenced data in the second will vanish! How to avoid that?
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.
How do I EXACTLY order data by date if its written in format looking like this "Apr-13-21"?
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 - ua-cam.com/video/FErqhZl1Vds/v-deo.html Text to Columns is a quick approach.
Helped be sort an issue I had. Thank you
Great! Happy to help.
4-Jul returns #value..can y help me
#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.
WOW ♥
Thank you Hazem.
Dude i have big issue..
How can i transfer the date from 21.11.2022 to 11/21/2022
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.
so what do you do when it comes up that it cant find the ''.'' to replace ;(
Sounds like they are already date values and just need formatting. Or you accidentally typed a space before or after the .
@@Computergaga cheers formatted 😉
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.
Sir in previous video I have asked a question in your comment box about decimal value plz solve the problem
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.
@@Computergaga sir dont say sorry you are very helpful for me
Thank you Afzal.
@@Computergaga sir did you find my comment on another video
No I didn't
dear all, anyone know about " Thu 5/5/2022 10:26 AM " how to convert to date.
thanks - was about to throw out my laptop when just in time i saw your video
Excellent! Happy to help you and save a laptop.
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.
i have 10-Sep-12 and isnt date how to convert it folk?
If Text to Columns didn't work, try the DATEVALUE function.
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.
Its really helpful video for me..🎈✨
Excellent!! Great to hear Sujith.
how to change Date to number like (Aug-20) to (08-20) in Excel
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.
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)
Thanks RickK Evil for the tip.
Search channel "off to office". I accidentally came across it. Handling dates has been beautifully explained there.
27/04/2019 is not a correct format. How can I put it in the correct format 04/27/2019?
You can use Text to Columns. On the third step, specify that you want the MDY format.
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.
YOU CAN USE =TEXT(A1;"mm/dd/yyyy")
Use replace
I have for one specific instance
=DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2))
Unfortunately No example worked for me. How to convert text into date for text like "Jan 01, 2015"
I just tried it using Text to Columns and specifying MDY format. It worked perfectly.
@@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
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.
@@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.👏👏👏
You're welcome, Naveen. Thank you for your comments.
Impressive! How can I give you double "Like", or double "Subscribe"?😄
You just did 👍 thank you
Listening your accent reminded me of Peaky blinders😁
However, it was a great lesson. I got to know a lot new things.
Thanks
That's great. Thanks 😊