Disable Auto Date Formatting

YaoPau

Board Regular
Joined
Jun 11, 2009
Messages
54
I copy stats from websites and paste them into Excel, and often the stats come in the form of x-y, as in x out of y. My goal is to use text to columns to create one column for all x's and another for all y's.

But if I'm pasting in 7-12, Excel converts it to July-12, and I don't know how to convert it back, or stop it from happening in the first place. Anyone know how to end this monstrosity? Thanks in advance.
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
Format the destination cells as TEXT prior to pasting..
 

doofusboy

Well-known Member
Joined
Oct 14, 2003
Messages
1,325
Excel does this if the cell is formatted as 'General'. You could change cell format to 'Text' to stop the 'conversion'.
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
That is bazarre, does it for me too.
I think because that web page is actually embedding an Excel Sheet. So it really is a DATE, formatted as d-m

Anyway, this formula will convert it back..

=TEXT(A1,"m - d")
 

Watch MrExcel Video

Forum statistics

Threads
1,123,531
Messages
5,602,202
Members
414,513
Latest member
junbuggle

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
Top