PC Review


Reply
Thread Tools Rate Thread

Cell requires double click to 'activate' date format change

 
 
BLTibbs
Guest
Posts: n/a
 
      29th Nov 2008
I have saved a file from quickbooks into excel. when I open the report, the
dates in my transaction date column are in text format. When I change the
column to date format, nothing happens until I double click in each cell. It
is as if I have to enter the cell and leave it to 'activate' my command to
change date formats.

this will not do of course, because I have thousands of rows. how do I get
them to all update when I change the format?
 
Reply With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      29th Nov 2008
When a cell is formatted as one type and you change that format type by
going to the menu Format>Cells, the new format isn't applied until you edit
the cell. That's what you're doing when you double click the cell.

Try this...

Select the range of cells that hold the text dates.
Goto the menu Data>Text to Columns
Click Finish

This will usually reset the format to General and then Excel will recognize
the dates as true Excel dates then automatcally set the format to date.


--
Biff
Microsoft Excel MVP


"BLTibbs" <(E-Mail Removed)> wrote in message
news:6E848790-C157-4F56-BB79-(E-Mail Removed)...
>I have saved a file from quickbooks into excel. when I open the report,
>the
> dates in my transaction date column are in text format. When I change the
> column to date format, nothing happens until I double click in each cell.
> It
> is as if I have to enter the cell and leave it to 'activate' my command to
> change date formats.
>
> this will not do of course, because I have thousands of rows. how do I
> get
> them to all update when I change the format?



 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      29th Nov 2008
Hi,

Problem:
When numbers are enter as text they may not calculate within formulas as
they should. A few formulas will work fine despite the numbers being entered
as text. Numbers can be stored as text by 1. preformatting the cell to Text
and entering the number, 2. Typing an apostrophy in front of the number '123,
3. Because the data was downloaded from a soure inwhich it was stored as a
number, 4. Because you used the Text to Columns command and converted it to
text., and....

There is no sure indicator that a number is stored as text, although numbers
are usually right aligned and text left aligned, this may not be the case.
If you are using a later version of Excel, Error Checking green triangles may
appear at the top left corner of these cell, but this feature may be off or
the version of Excel may not support it. (2000 and earlier).

You can find out what data type the entries are by using the =ISTEXT(A1) or
=ISNUMBER(A1) functions. You can not tell by checking the Format. If a
number was entered in a cell preformatted as General or as a number, then it
will be a number, even if it's current format is Text. Likewise a number
entered in a cell preformatted as Text will be text even if it's current
format is Number, General, Date, Currency and the like.

Solution:
1. Change the format to one that is numeric and then reenter the numbers
(too slow and error prone.)
2. Select the cells and open the Error Checking options and choose Convert
to Numbers - but this won't work with dates.
3. Select an empty cell and copy it. Select the text number cell and choose
Edit, Paste Special, Add (or Subtract). This method is ~100 times faster
than #2.

Dates are numbers, and if they are stored as text, you will not get an Error
Checking triangle, so method #3 is obligatory if there is a substantial
number of dates to convert.

If this information is helpful, please click the Yes button.
Cheers,
Shane Devenshire

"BLTibbs" wrote:

> I have saved a file from quickbooks into excel. when I open the report, the
> dates in my transaction date column are in text format. When I change the
> column to date format, nothing happens until I double click in each cell. It
> is as if I have to enter the cell and leave it to 'activate' my command to
> change date formats.
>
> this will not do of course, because I have thousands of rows. how do I get
> them to all update when I change the format?

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      29th Nov 2008
I'd go just a step further using Biff's instructions.

I'd do the same data|text to columns
then fixed width (but remove any lines)
And choose Date and the correct order (dmy, mdy, ...) just in case the order of
the text entry doesn't match the order of my windows short date.

It may not be necessary in all cases, but those extra 10 seconds would give me
peace of mind!

"T. Valko" wrote:
>
> When a cell is formatted as one type and you change that format type by
> going to the menu Format>Cells, the new format isn't applied until you edit
> the cell. That's what you're doing when you double click the cell.
>
> Try this...
>
> Select the range of cells that hold the text dates.
> Goto the menu Data>Text to Columns
> Click Finish
>
> This will usually reset the format to General and then Excel will recognize
> the dates as true Excel dates then automatcally set the format to date.
>
> --
> Biff
> Microsoft Excel MVP
>
> "BLTibbs" <(E-Mail Removed)> wrote in message
> news:6E848790-C157-4F56-BB79-(E-Mail Removed)...
> >I have saved a file from quickbooks into excel. when I open the report,
> >the
> > dates in my transaction date column are in text format. When I change the
> > column to date format, nothing happens until I double click in each cell.
> > It
> > is as if I have to enter the cell and leave it to 'activate' my command to
> > change date formats.
> >
> > this will not do of course, because I have thousands of rows. how do I
> > get
> > them to all update when I change the format?


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Net user control in a VB6 app requires double-click to activate holysmokes99@hotmail.com Microsoft VB .NET 1 28th Sep 2006 05:21 PM
.Net user control in a VB6 app requires double-click to activate holysmokes99@hotmail.com Microsoft Dot NET 1 28th Sep 2006 05:21 PM
HELP! .Net user control in a VB6 app requires double-click to activate holysmokes99@hotmail.com Microsoft VB .NET 1 26th Sep 2006 11:05 PM
HELP! .Net user control in a VB6 app requires double-click to activate holysmokes99@hotmail.com Microsoft Dot NET 1 26th Sep 2006 11:05 PM
double click a cell with Date format qqxz Microsoft Excel Misc 1 24th Jan 2006 02:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:56 AM.