Keeping date format

nuserame

New Member
Joined
Jul 12, 2012
Messages
3
mrexcel.jpg
Hi,

Is it possible to keepa date format regardless of the position of the date in a cell?
When I add a space or line (alt+enter) before the date , excel doesn't recognize it anymore, and displays the original input.

Example:

Hope this is clear.
Thanks for reading / helping.
Bye


[TABLE="width: 500"]
<tbody>[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Welcome to MrExcel.

When you format the cell, in the Type box position your cursor at the front, hold down Alt and type 010 on the numeric keypad. The row height won't autofit - you will need to adjust it manually.
 
Upvote 0
Thank you Andrew,

But I don't understand what you mean with 'Type box position'.
I format the cel after i've entered a date (8-9-201) by right clicking .
I adjust the format to 'ddd d-m'.
And then I add a line by placing my cursor in the cel, in front of the date, and typing 'Alt+enter'.
The line is created but the date is displayed as '8-9-2012'.
Sorry if it's not so clear
 
Upvote 0
The Type box is where you enter a custom number format. When you are adjusting the format put your cursor in front of ddd d-m, hold down Alt and press 010 on the numeric keypad. You won't see anything change, but a line feed will be added at the beginning.
 
Upvote 0
Thank you Andrew,

I love this site.
Everytime I have a question about Excel, I come here, and people help me to get the problem solved.
Super !
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,453
Members
452,514
Latest member
cjkelly15

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top