Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

formula

ResolvedVersion 2010

Tracy has attended:
No courses

Formula

What formula do i need to put in the excel spread sheet ro work out days, months and years.

RE: Formula

Hello Tracey,

Thank you for your question regarding date formulas in Excel.

I'm not exactly sure what are looking for here. Correct me if I am wrong, but I think you may be referring to custom formatting. If I am correct then you can do this as follows:

Assume a date has been entered into a cell e.g. 10/05/2013

Excel often will format this as 10-May without mentioning the year. To fix this select the cell containing the date and then from the Home ribbon click the top drop-down in the Number group choose Custom and in the Type box on the right hand side type the following:

dd (this is for days and will show as a number displaying 2 characters)

mm (this is for months and will show as a number displaying 2 characters)

yy (this is for years and will show as a number displaying 2 characters)

You can add special characters between these letters to separate the three sections as follows:

dd/mm/yy (10/05/13)

dd-mm-yy (10-05-13)

dd/mm/yyyy (10/05/2013)

dd-mm-yyyy (10-05-2013)


If this is not what you are looking for please reply to this forum post and provide me with more details.


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,

Rodney
Microsoft Office Specialist Trainer

Excel tip:

Use the Format Painter to copy formatting more than once in Excel

The format painter tool provides a quick and easy way to copy formatting from one cell to another in Word.

The only problem is that if you click the Format Painter once to turn it on, you can only click and drag over a single cell or adjacent range of cells; then the Format Painter turns itself off automatically.

If you want to copy formatting to cells or groups of cells that are not adjacent to each other, double-click the Format Painter - this way you will be able to copy formatting to multiple cells.

When you have finished using Format Painter, press the Esc key or click on the Format Painter button once to turn it off.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.