+ Reply to Thread
Results 1 to 6 of 6

Display TRUE as C

  1. #1
    Forum Contributor
    Join Date
    06-29-2016
    Location
    Bristol, England
    MS-Off Ver
    2007
    Posts
    355

    Display TRUE as C

    Hi. I have a column of cells (say column J) that return a logical TRUE or FALSE, and display TRUE or FALSE accordingly. I would like to display C or zero instead.

    I know how to do this using an IF , applied to the logical expression concerned. The problem is that the logical expression in J is very complex (developed with your help), and I don't want to make it any longer.

    One option would be to create a new column, with an IF inside it to test the column J and return C or zero. Then hide column J.

    Any simpler ideas ?

    Thanks as always

    K

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Display TRUE as C

    Quote Originally Posted by Trebor777 View Post
    the logical expression in J is very complex (developed with your help), and I don't want to make it any longer.

    One option would be to create a new column, with an IF inside it to test the column J and return C or zero. Then hide column J.

    Any simpler ideas ?
    Well, if you don't want to make the original formula any longer then the new column is about your only other option.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Display TRUE as C

    Hi

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But why not just wrap your long formula inside an IF and avoid an additional column. You're only extending the formula by 4 characters.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Display TRUE as C

    If you relented to using 1 and 0 versus C and 0, you could use

    =--(your formula)
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Contributor
    Join Date
    06-29-2016
    Location
    Bristol, England
    MS-Off Ver
    2007
    Posts
    355

    Re: Display TRUE as C

    Hi and thanks all for the ideas. As I expected there is no magic solution. I suspect the 1,0 route might be simplest. K

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Display TRUE as C

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display all TRUE cell charts
    By rajre in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-28-2015, 01:33 AM
  2. [SOLVED] If formula to display text if true
    By Tortus in forum Excel General
    Replies: 1
    Last Post: 07-23-2015, 04:47 PM
  3. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  4. [SOLVED] display all rows when condition is true
    By lemuel in forum Excel General
    Replies: 1
    Last Post: 12-07-2012, 02:44 PM
  5. Display true false with IF formula
    By pcoutlaw in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-22-2012, 09:48 AM
  6. using the display value, not the true value
    By richardlaw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-14-2010, 06:08 PM
  7. Display data in last cell that IF() is true.
    By wcnwzrd in forum Excel General
    Replies: 4
    Last Post: 04-04-2009, 07:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1