date formats
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Date Formats

Date Formats

resolvedResolved · Urgent Priority · Version 2007

replyReply Mon 27 Jun 2011, 15:19Delegate Richard said...

Richard has attended:
Excel Intermediate course

Date Formats

Hi,

I am attempting to calculate the number of days between 2 dates. I am happy with how to do that except that the dates are sent to me on a spread sheet in the following format '20100627' - which excel doesn't seem to recognise as a date. Is there a way to calculate the days between 2 dates in that format?

Kind regards,

Rich

For upcoming training course dates see: Pricing & availability

replyReply Tue 28 Jun 2011, 23:24Trainer Mark said...

RE: Date Formats

Hello Rich,


Thank you for your question regarding date format.

Unfortunately there is no way excel can calculate the date in its present format. You need to convert these dates. One way is to select your dates, change the format to number no decimal places.
With these dates selected, from the Data Ribbon, Choose the Text to Columns button. Skip thru the wizard until step 3, then select the Date option, YMD, finish. The numbers will change, you can now format these to a date format.

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Mark
Microsoft Office Specialist Trainer

 

Please browse our web site to find out more about
microsoft+excel+training and other Microsoft training courses.

Excel tip:

Repeating headings on spreadsheets that print on more than one page

By default when you print a spreadsheet out and it prints on more than one page, the headings at the top and the side of the spreadsheet don't appear on all the pages following page 1.

To get Excel to repeat headings on all pages when printing, go to File - Page Setup - Sheet, then select the rows to repeat at the top of pages, and the columns to repeat at the side of pages by clicking on the red arrows at the right side of the two boxes under the 'Print titles' area. Then click OK.

If you view your spreadsheet in Print Preview, you should see the headings being repeated on each page.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard