I am trying to convert a cell with date format to text, but it can't be done. Can anyone help?
I am trying to convert a cell with date format to text, but it can't be done. Can anyone help?
Hi
If A1 contains the date, then try
=TEXT(A1,"dd/mm/yyyy")
or any other format you prefer.
I've tried, it works. But i hv a problem which i copy a cell (A1) from another sheet, it reads 19970107, to a new cell, the A1 (19970107) turns into 2E+07. I think probably there is a hidden formula or something in this A1 cell. Could you help?
You don't stipulate the format that the number represents - ie yyyymmdd or yyyyddmm - we'll presume the former.
=TEXT(TEXT(A1,"0000-00-00"),"dd/mm/yyyy")
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks. will work on it again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks