View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten Niek Otten is offline
external usenet poster
 
Posts: 3,440
Default How can I covert dates to ccyymmdd?

FormatCellsCustom
In the Type box, enter:
yyyymmdd

If you need a text string that has these digits:

=TEXT(A1,"yyyymmdd")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Payroll" wrote in message ...
| Thank you for your help