Solved

Date formatting

Posted on 2014-01-06
9
241 Views
Last Modified: 2014-01-06
It's that time of year, right? I'm working on a spreadsheet of expenses during 2013, and I can't figure out if there's an easy way to make my date column show 2013 when I enter 2/17 for February 17; Excel automatically wants to enter the date as 2/17/14.

Thanks!

ep
0
Comment
Question by:ericpete
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 200 total points
ID: 39761013
I have the same issue. Natively in Excel you cannot change this feature so far as I know.

1. I have grown used to typing 12/28/2013 in my date fields in 2014.

2. If you have a lot of rows (say) with dates, enter them, then select them, Replace 2014 with 2013.

Please do not change your system clock or anything like that.

December 31 is my year-end as well.

.... Thinkpads_User
0
 
LVL 23

Expert Comment

by:Michael Fowler
ID: 39761039
You could also use autofill to enter the dates. Just manually enter the first correctly and drag down from the bottom right corner.

Michael
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 300 total points
ID: 39761043
Hello,

omitting the year portion in a date entry will always default to the current year in Excel.

In addition to TPU's suggestion, you could create a helper column with a formula that shows the desired date. For example, with column A receiving entries like

12/31

and making them into a 2014 date, use a formula in column B to display 2013 dates:

=date(2013,month(a1),day(a1))

Once you're done with data entry for 2013, copy column B, paste as values over column A and then discard column B.

cheers, teylyn
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 15

Author Comment

by:ericpete
ID: 39761045
thinkpads_user,

Thanks, but that's what I'm trying to avoid.

Michael,

Good idea, but it won't work. The autofill leaves each row as a single date:

2/17/12
2/18/12
2/19/12
...
6/13/12
6/17/12

The problem is that I can have several entries on one date, which means I would have to change the dates as I went along (this spreadsheet will wind up being close to 1000 lines).

So autofill won't work as a solution.

ep
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 39761049
Part 2 of my suggestion was to use Select and Replace. This means working carefully but it does work.

... Thinkpads_User
0
 
LVL 15

Author Comment

by:ericpete
ID: 39761087
teylyn,

I assume this means that there's no formatting trick that can change it, correct? Like setting the format to mm/dd/2013?

ep
0
 
LVL 50
ID: 39761118
Weeeeeellll. You CAN format with custom format

mm/dd"/2013"

and Excel will display 2013 as the year, BUT I strongly recommend not to do that. I don't think formatting a number to show a different value is ever a good idea (exception for rounding).
0
 
LVL 15

Author Closing Comment

by:ericpete
ID: 39761144
I used teylyn's solution, but thinkpad_user's solution also works.

Thanks to both of you for your prompt, accurate replies.
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 39761149
You are most welcome and I was happy to help. I face the very same issues every year-end!

Cheers, .... Thinkpads_User
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question