Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Display TRUE / FALSE Instead Of 1 / 0

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Display TRUE / FALSE Instead Of 1 / 0

To display TRUE or FALSE instead of 1 or 0 in Excel:
  1. Type your true/false formula in a cell. For example, let's say your formula is
    Code:
    =A1B1
    , which will return either TRUE or FALSE depending on whether the value in cell A1 is greater than the value in cell B1.
  2. Click on the cell where you want the result to be displayed.
  3. Type the following formula:
    Code:
    =IF(A1B1,"TRUE","FALSE")
    . This formula will check the result of your original formula (
    Code:
    A1B1
    ) and display the word "TRUE" if it's true, or "FALSE" if it's false.
  4. Press Enter to see the result. You should now see either "TRUE" or "FALSE" displayed in the cell, depending on the result of your original formula.

Note that you can customize the text that's displayed by changing the words "TRUE" and "FALSE" in the formula to whatever you like. For example, you could use "Yes" and "No" instead.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Display TRUE / FALSE Instead Of 1 / 0

What's your formula look like?

Biff

"ExcelUser123" wrote in message
...
How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Display TRUE / FALSE Instead Of 1 / 0

it depends on which logical formaula but here's one way.

=IF(AND(1<A2, A2<100), 1, 0)

"ExcelUser123" wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 150
Default Display TRUE / FALSE Instead Of 1 / 0

In article ,
ExcelUser123 wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?


Can you post the formula?


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default Display TRUE / FALSE Instead Of 1 / 0

hi exceluser

for an IF formula
maybe like this
=if(1=1,1,0) then replace it with
=if(1=1,TRUE,FALSE)

regards
--
*****
birds of the same feather flock together..



"ExcelUser123" wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Display TRUE / FALSE Instead Of 1 / 0

Here is another way if your cell is either 1 or 0,

=IF(B5=1,"TRUE",IF(B5=0,"FALSE","NULL"))


Hope it helps


Hank

"ExcelUser123" wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Display TRUE / FALSE Instead Of 1 / 0

Remember that if you put "TRUE" and "FALSE" in quotes, they will be text
strings, not logical values.
--
David Biddulph

"Hank" wrote in message
...
Here is another way if your cell is either 1 or 0,

=IF(B5=1,"TRUE",IF(B5=0,"FALSE","NULL"))


"ExcelUser123" wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Display TRUE / FALSE Instead Of 1 / 0

As long as the formula truly results in a logical 1 or 0, then you can
create a custom format like:

"TRUE";;"FALSE";

positive #;negative #;zero;text

So for any non-zero number (which if the formula is truly a logical could
only be 1) the format will be "TRUE", nothing visible if it's negative,
"FALSE" if 0, and nothing if text...


"ExcelUser123" wrote in message
...
How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Display TRUE / FALSE Instead Of 1 / 0

The formula is =D540 where D54 is a the NPV of an investment being evaluated
in a finance model across multiple years.

I understand how to write the IF statement to generate the text values of
"TRUE" or "FALSE".

I am trying to determine why this formula on my Desktop computer results in
a display of TRUE or FALSE (logical values not text) and on my Laptop
computer it results in a display of 1 or 0. Both machines are running
identical installations of Office 2003 in XP. I looked at display options,
formatting, styles, etc. but cannot find anything that explains the
difference.

Anyone have any ideas or similar experience?

"Domenic" wrote:

In article ,
ExcelUser123 wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?


Can you post the formula?



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Display TRUE / FALSE Instead Of 1 / 0

Toggle this setting:

Tools|Options|Transition tab
Uncheck "Transition formula evaluation"

You may find it better to uncheck all those lotus 123 settings.

ExcelUser123 wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?


--

Dave Peterson
  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Display TRUE / FALSE Instead Of 1 / 0

That's a completely different question.........


"ExcelUser123" wrote in message
...
The formula is =D540 where D54 is a the NPV of an investment being

evaluated
in a finance model across multiple years.

I understand how to write the IF statement to generate the text values of
"TRUE" or "FALSE".

I am trying to determine why this formula on my Desktop computer results

in
a display of TRUE or FALSE (logical values not text) and on my Laptop
computer it results in a display of 1 or 0. Both machines are running
identical installations of Office 2003 in XP. I looked at display

options,
formatting, styles, etc. but cannot find anything that explains the
difference.

Anyone have any ideas or similar experience?

"Domenic" wrote:

In article ,
ExcelUser123 wrote:

How do I make the result of a true/false formula display as TRUE or

FALSE
instead of 1 or 0?


Can you post the formula?



  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Display TRUE / FALSE Instead Of 1 / 0

Thank you Dave. Updating that setting solved the problem.

"Dave Peterson" wrote:

Toggle this setting:

Tools|Options|Transition tab
Uncheck "Transition formula evaluation"

You may find it better to uncheck all those lotus 123 settings.

ExcelUser123 wrote:

How do I make the result of a true/false formula display as TRUE or FALSE
instead of 1 or 0?


--

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
Formula Question (Organizing Data) Telobamipada Excel Discussion (Misc queries) 3 January 4th 07 02:24 PM
Repeatable Fixed Width Import donnie darko Excel Discussion (Misc queries) 9 December 6th 06 06:47 PM
Disable CUT via toolbars or shortcut keys sparx Excel Discussion (Misc queries) 0 April 30th 06 08:34 PM
Help in VBA code! Martin Excel Discussion (Misc queries) 5 April 19th 06 11:19 AM
Grand Totals @ Same Place Amber M Excel Worksheet Functions 2 December 30th 04 07:13 PM


All times are GMT +1. The time now is 12:16 AM.

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"