Typing in dates

ALLAROUNDOFFICE

Board Regular
Joined
Apr 26, 2014
Messages
61
How can I hard code a column of cells to convert the user entered data of "042614" or "42614" into a specific date format such as 04/26/2014?
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
36,334
Office Version
  1. 2010
Platform
  1. Windows

Whatever you attempted to show us in this message did not post correctly.
 

MARK858

MrExcel MVP
Joined
Nov 12, 2010
Messages
13,336
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
Then I'm stumped. All I can suggest is putting your workbook on a file hosting site like Box.com, make sure you mark it for sharing and post a link in the thread.
 

ALLAROUNDOFFICE

Board Regular
Joined
Apr 26, 2014
Messages
61
Then I'm stumped. All I can suggest is putting your workbook on a file hosting site like Box.com, make sure you mark it for sharing and post a link in the thread.
If I type 042614 in A3, Excel changes it to 09/01/16. If I type 042614 in A4, Excel changes it to 042614...
 

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
36,334
Office Version
  1. 2010
Platform
  1. Windows
Try one of the add-ins shown in my signature line at the bottom of this message...
 

ALLAROUNDOFFICE

Board Regular
Joined
Apr 26, 2014
Messages
61

ADVERTISEMENT

Then I'm stumped. All I can suggest is putting your workbook on a file hosting site like Box.com, make sure you mark it for sharing and post a link in the thread.
Is there any other way around this? Can I just type in a formula instead of doing the event code thing since that is not going to work on my system for some reason...All I need is to convert the digits entered by the user to a six digit date with slashes...
 

ALLAROUNDOFFICE

Board Regular
Joined
Apr 26, 2014
Messages
61
FYR.
Convert an 8-digit number into Excel-recognizable Date | wmfexcel
This is actually inspired by Rick some time ago.
I read the article, but I am somewhat of a novice on formulas. All of the cells are blank right now and the users will be typing in a date as the sale happens. As you probably know, every person types in dates differently so I want to hard code the sale date column to convert to a six or eight digit date with slashes regardless of how the user types it in..i.e. for April 26th, 2014 I've seen 42614, 4262014, 042614, 04262014, 4-26-14, 04-26-2014, etc...
 

Watch MrExcel Video

Forum statistics

Threads
1,109,405
Messages
5,528,573
Members
409,827
Latest member
Tmcgrew05

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top