no problem, just right click in the cell, and select "Format Cells"
about half-way down the list.
Select the "Number" tab.
Select "Custom" from the category list.
left click the "Type" box and use delete key to clear anything in this
box (if it isn't empty already) and type in the date format of your
choice, i.e. "yyyymmdd".
You should see the date in the way you want in the "Example" box.
This works because Excel holds dates as the number of days since 1
January 1900. So 9 September 2005 is held as 38604, tomorrow will be
held as 38605, etc. Therefore Excel can convert this into a date in any
format, so long as you tell it what you want.
For fun, try using yyyyMMMDDD (not case sensative).
HTH
Art
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.