PapaSki
New Member
- Joined
- Aug 10, 2006
- Messages
- 3
I'm a long-time lurker and first-time poster.
I have a data column called "Deadline." Sometimes, the deadline is only a date, a time or both. I would like to enter only the data required (date, time or both), and I would like to format the cell as follows:
date only
ENTER: 10/1/07
FORMAT SHOWS: Mon, 10/1/2007
time only
ENTER: 5 p
FORMAT SHOWS: 5:00 pm
both
ENTER: 10/1/07 5 p
FORMAT SHOWS: Mon, 10/1/2007 5:00 pm
Is there a way to set up a custom number format to do this? When I use "mmm, m/d/yyyy, h:mm am/pm" and enter the date only, it automatically adds midnight as the time.
I'd prefer to use custom number format, if possible, but I'll happily use a formula if necessary. I cannot use VBA because I have to share the spreadsheet and it's a nightmare in our company for various reasons.
Thanks in advance for any insight or help.
David
I have a data column called "Deadline." Sometimes, the deadline is only a date, a time or both. I would like to enter only the data required (date, time or both), and I would like to format the cell as follows:
date only
ENTER: 10/1/07
FORMAT SHOWS: Mon, 10/1/2007
time only
ENTER: 5 p
FORMAT SHOWS: 5:00 pm
both
ENTER: 10/1/07 5 p
FORMAT SHOWS: Mon, 10/1/2007 5:00 pm
Is there a way to set up a custom number format to do this? When I use "mmm, m/d/yyyy, h:mm am/pm" and enter the date only, it automatically adds midnight as the time.
I'd prefer to use custom number format, if possible, but I'll happily use a formula if necessary. I cannot use VBA because I have to share the spreadsheet and it's a nightmare in our company for various reasons.
Thanks in advance for any insight or help.
David