#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Dates

I have a problem with dates in two columns see below.

Basically all cells are formatted at dd/mm/yyyy but only those that are
right justified seem to be correctly formatted as dates.

The only way i can find to right justify them(so they are proper dates) is
by double clicking in the cells then pressing enter.

04/03/2006 04/03/2006
04/06/2006 04/06/2006
04/10/2006 04/10/2006
13/04/2006 13/04/2006
16/03/2006 17/03/2006
20/03/2006 31/03/2006

Is there any way to automate what i'm doing manaually please?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Dates

Hi,

Try find & replace / with /. You will need to expand the options so you can
uncheck 'Match entire cell contents'.

Regards,

Chris.

--
Chris Marlow
MCSD.NET, Microsoft Office XP Master


"mhd143" wrote:

I have a problem with dates in two columns see below.

Basically all cells are formatted at dd/mm/yyyy but only those that are
right justified seem to be correctly formatted as dates.

The only way i can find to right justify them(so they are proper dates) is
by double clicking in the cells then pressing enter.

04/03/2006 04/03/2006
04/06/2006 04/06/2006
04/10/2006 04/10/2006
13/04/2006 13/04/2006
16/03/2006 17/03/2006
20/03/2006 31/03/2006

Is there any way to automate what i'm doing manaually please?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Dates

Make sure your windows short date setting (under control panel|regional
settings) is set for dmy.

Then try selecting your range and
edit|replace
what: / (slash)
with: / (slash)
replace all

Excel will see it as a change to the cell and see that it's a date.

mhd143 wrote:

I have a problem with dates in two columns see below.

Basically all cells are formatted at dd/mm/yyyy but only those that are
right justified seem to be correctly formatted as dates.

The only way i can find to right justify them(so they are proper dates) is
by double clicking in the cells then pressing enter.

04/03/2006 04/03/2006
04/06/2006 04/06/2006
04/10/2006 04/10/2006
13/04/2006 13/04/2006
16/03/2006 17/03/2006
20/03/2006 31/03/2006

Is there any way to automate what i'm doing manaually please?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking computer dates (time) to spreadsheet dates that have formu bigisle Excel Worksheet Functions 3 January 3rd 10 08:05 PM
Stop dates from showing as numbers - when formated as dates JR Excel Discussion (Misc queries) 1 October 29th 08 04:38 PM
Toggle a range of Julian dates to Gregorian Dates and Back PSKelligan Excel Programming 4 May 8th 07 05:51 AM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM


All times are GMT +1. The time now is 10:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"