JustAnswer > Programming
Ask A Question|Register|Login|Help
JustAnswer

Programming

Ask a Programming Question, Get an Answer ASAP!

Have your own Programming question?

3 Programmers are Online Now
characters left:
Not a Programming Question?
Bookmark and Share

Question

I am having trouble with dates.
Even though I format a column 03/06/09 I get some cells 3/6/09
In some cells I have to put the day in first to get the correct date, in others the month

Submitted: 123 days and 3 hours ago.
Category: Programming
Value: $22
Status: AWAITING CUSTOMER ACTION
+
Read More
Posted by lifesaver 123 days and 2 hours ago.

Answer

Hi there,

You can format the cells in order mm/dd/yy preserving the 0's.

For excel 2007 follow the steps below:-

1> Select the cell(s) containing the date(s).

2>Right click select .Format cells.

3>Go to date.Select the type 03/14/01

here are some screenshots.

graphic
View Full Image


4>Click Ok.The cells will be formatted.

graphic
View Full Image


To format in order dd/mm/yy

Right click cell(s).Format-> custom. In the "type" text field you will see something like m/d/yyyy , delete it, and type the following instead: dd-mmm-yy

Click Ok.

Hope this helps.

Best regards,
lifesaver

123 days ago.

Reply

I have done this as I explained in the question.

The format cammand does not work on all the cells.

When I go to the offending cell individually and format it, it does not work.

The cell reads 6/3/09. I format it to read 06/03/09 and it does not change the cell

Some cells in the range accept month day year others you have to enter day month year

Posted by lifesaver 123 days ago.

Info Request

Hi there,

The formatting option should work.

Anyway i am out of ideas.I will free you up for other experts here.

Posted by John D 122 days and 23 hours ago.

Answer

Hi

 

lifesaver asked me to try to assist you with this question.

 

I am assuming that you are having this issue only on this spreadsheet. If so can you try resetting the formatting of the worksheet by selecting the entire sheet and then clicking Format > Cells > Numbers , then choose 'General' .(to select the entire sheet click on the little square in the upper left corner of sheet just above row numbers).

 

Next click on the cell that you want to format and type 5/28/09 and hit Enter. Then apply the date format that you want. Let me know what is displayed when you do that.

 

122 days and 23 hours ago.

Reply

Tried a completely new spreadsheet

Formatted 03/06/09

typed 6/12/09 got 12/6/09

 

Tried you suggestion on the old sheet The cells do not format consistently Some have number some have date in different formats

Posted by John D 122 days and 23 hours ago.

Answer

hmm...I did not suggest that you do any of that!

 

Can you please just tell me the exact result that you got in that cell after following my instructions, especially after typing 5/28/09. Thanks.

 

 

 

 



Edited by John D on 7/22/2009 at 9:43 PM

Posted by John D 122 days and 22 hours ago.

Info Request

After typing 5/28/09 say in cell A1, please type =A1+1 in cell B1. Do you get a #VALUE! error?

 

That is basically what I wanted to know.

 

 

 



Edited by John D on 7/22/2009 at 10:22 PM

121 days and 4 hours ago.

Reply

How do i insert a file in this box

Posted by John D 121 days and 4 hours ago.

Answer

I think it would be easier to upload your file at http://www.rapidshare.com/ then when it finishes uploading you will get a "download link" . Highlight that link then copy it and paste it in your reply box here.

 

Let me know if you face any difficulties.

 

121 days and 3 hours ago.

Reply

To your earlier question Yes I get a value error

Accepted Answer

Did you upload the file. If so you need to send me the link so that I can access that file.

 

Ok since you are getting a #VALUE! error it means that the entry is in A1 is not being understood by Excel as a correct date. If you type 28/5/09 in A1 i instead of 5/28/09 and you do not get the VALUE error in cell B1, then the problem is in your global computer date settings (not just in Excel). Here is how to correct that it (the exact procedure depends on your operating system).

 

In Windows XP, close all applications and files, click Start > Control Panel then open 'Regional and Language Options'.then click on the tab 'Regional Option', and in the drop down list at the top change the language from "English (United States)" to "English (United Kingdom)" . Click Apply. Then reboot your computer.

 

Now open that Excel file and let me know if the problem gets resolved or not.

 

Hope this helps. Let me know if you have any questions.

 

 

 

 

Picture
Expert: John D
Pos. Feedback: 99.7 %
Accepts: 
Answered: 7/24/2009

BS Degree in Engineering

20 years experience in Excel programming and various major applications.

121 days and 2 hours ago.

Reply

That worked Thank you

Posted by John D 121 days and 1 hours ago.

Answer

Glad to hear that. Thank you very much for the accept and bonus.

 

 

+
Read More

Related Programming Questions

  • I have been using an Asus P4C800-E for many years and recent...
  • I need to interview an IT professional. Is there anyway you
  • I am tring to build a fomula that will look up a certain num...
  • The following web site has an issue when viewed in IE 7 (it
  • I have an online gaming website that I really want to expand
  • I am trying to print a spreadsheet and it keeps printing the
  • Im having a problem to get into my email , cannot find the
  • Im trying to upgrade my phpBB3 forum boards from version 3.0...



Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Question List | Become an Expert | Terms of Service | Security & Privacy | About Us
© 2003-2009 JustAnswer Corp.