Solved

Date formatting

Posted on 2014-01-06
9
239 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
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 94

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:Michael74
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 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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 94

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

Expert Comment

by:Ingeborg Hawighorst
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 94

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

820 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