?
Solved

Date formatting

Posted on 2014-01-06
9
Medium Priority
?
242 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:Eric AKA Netminder
[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 97

Assisted Solution

by:Experienced Member
Experienced Member earned 800 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 1200 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 15

Author Comment

by:Eric AKA Netminder
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 97

Expert Comment

by:Experienced Member
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:Eric AKA Netminder
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:Eric AKA Netminder
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 97

Expert Comment

by:Experienced Member
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

752 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