PC Review


Reply
Thread Tools Rate Thread

Disable autoformat of "true" and "false" text

 
 
drs207
Guest
Posts: n/a
 
      23rd Jul 2008
Hi,

When I enter the words "true" or "false" by themselves in any excel cell (I
am using 2007 Pro), they are automatically centered and displayed in upper
case. When included in a sort (e.g., A-Z ascending) in this format, they
always appear at the bottom of the sort.

I am aware of some workarounds like preceding the text with an apostrophe as
in 'true or 'false or just adding an empty space right after it. But is there
a more direct way of simply turning off this feature? I can't seem to find
any when I go to excel options.

Thanks again for your valuable help.


 
Reply With Quote
 
 
 
 
John C
Guest
Posts: n/a
 
      23rd Jul 2008
You could format the cells you will be typing true or false into as text.
Turning off the TRUE/FALSE aspect of Excel I think in general is just a bad
idea, as that is the inherent use of Excel in the first place, to do 1 thing
if a condition is met, and something else if it isn't.
--
John C


"drs207" wrote:

> Hi,
>
> When I enter the words "true" or "false" by themselves in any excel cell (I
> am using 2007 Pro), they are automatically centered and displayed in upper
> case. When included in a sort (e.g., A-Z ascending) in this format, they
> always appear at the bottom of the sort.
>
> I am aware of some workarounds like preceding the text with an apostrophe as
> in 'true or 'false or just adding an empty space right after it. But is there
> a more direct way of simply turning off this feature? I can't seem to find
> any when I go to excel options.
>
> Thanks again for your valuable help.
>
>

 
Reply With Quote
 
Wigi
Guest
Posts: n/a
 
      23rd Jul 2008
No, there isn't.


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"drs207" wrote:

> Hi,
>
> When I enter the words "true" or "false" by themselves in any excel cell (I
> am using 2007 Pro), they are automatically centered and displayed in upper
> case. When included in a sort (e.g., A-Z ascending) in this format, they
> always appear at the bottom of the sort.
>
> I am aware of some workarounds like preceding the text with an apostrophe as
> in 'true or 'false or just adding an empty space right after it. But is there
> a more direct way of simply turning off this feature? I can't seem to find
> any when I go to excel options.
>
> Thanks again for your valuable help.
>
>

 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      23rd Jul 2008
hi,

No other way that I'm aware of. These are operators used by Excel in Boolean
evaluation and I think your stuck with the workarounds you mention.

Mike

"drs207" wrote:

> Hi,
>
> When I enter the words "true" or "false" by themselves in any excel cell (I
> am using 2007 Pro), they are automatically centered and displayed in upper
> case. When included in a sort (e.g., A-Z ascending) in this format, they
> always appear at the bottom of the sort.
>
> I am aware of some workarounds like preceding the text with an apostrophe as
> in 'true or 'false or just adding an empty space right after it. But is there
> a more direct way of simply turning off this feature? I can't seem to find
> any when I go to excel options.
>
> Thanks again for your valuable help.
>
>

 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      23rd Jul 2008
Try formatting the cell(s) or column (whichever applies to your situation)
as Text first.

Rick


"drs207" <(E-Mail Removed)> wrote in message
news:BCF0DC74-68B0-443D-ADD7-(E-Mail Removed)...
> Hi,
>
> When I enter the words "true" or "false" by themselves in any excel cell
> (I
> am using 2007 Pro), they are automatically centered and displayed in upper
> case. When included in a sort (e.g., A-Z ascending) in this format, they
> always appear at the bottom of the sort.
>
> I am aware of some workarounds like preceding the text with an apostrophe
> as
> in 'true or 'false or just adding an empty space right after it. But is
> there
> a more direct way of simply turning off this feature? I can't seem to find
> any when I go to excel options.
>
> Thanks again for your valuable help.
>
>


 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      23rd Jul 2008
TRUE and FALSE have a special meaning in Excel. That's why Excel does what
it does!

One way to do this:

Try adding these to your AutoCorrect library:

Tools>AutoCorrect options
Replace: false
With: 'false

Do the same with true.

Note that this will apply to all Office programs, not just Excel. So, if you
open a Word document and type in false it will change to 'false. The
apostrophe won't be displayed in Excel but it will in Word. You might just
want to "live with it" the way it is!

--
Biff
Microsoft Excel MVP


"drs207" <(E-Mail Removed)> wrote in message
news:BCF0DC74-68B0-443D-ADD7-(E-Mail Removed)...
> Hi,
>
> When I enter the words "true" or "false" by themselves in any excel cell
> (I
> am using 2007 Pro), they are automatically centered and displayed in upper
> case. When included in a sort (e.g., A-Z ascending) in this format, they
> always appear at the bottom of the sort.
>
> I am aware of some workarounds like preceding the text with an apostrophe
> as
> in 'true or 'false or just adding an empty space right after it. But is
> there
> a more direct way of simply turning off this feature? I can't seem to find
> any when I go to excel options.
>
> Thanks again for your valuable help.
>
>



 
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
change "true" and "false" to "availble" and "out of stock" =?Utf-8?B?aW50aGVzdGFuZHM=?= Microsoft Excel Worksheet Functions 2 19th Jul 2007 07:05 PM
Setting values for "TRUE","FALSE" and "#REF!" Hurtige Microsoft Excel Programming 1 11th Aug 2006 12:31 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB Microsoft Excel New Users 7 13th May 2006 10:02 PM
IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") =?Utf-8?B?U291cmlz?= Microsoft Excel Programming 2 17th Aug 2005 05:33 AM
User Control Page_Load Twice AutoEventWireup="false" SmartNavigation="true" magister Microsoft ASP .NET 2 1st Nov 2004 11:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:01 PM.