+ Reply to Thread
Results 1 to 3 of 3

Multiply a text value by FALSE

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

    Multiply a text value by FALSE

    Hi

    I have a cell (A1) which evaluates to TRUE or FALSE. In A2 I have a complex formula which gives a text string. I want to make the text disappear if A1 is FALSE.

    If A2 were a number it would be easy, I just multiply A1*A2 (my workbook does not display zeros). But I can't do that with a text.

    I could do it OK with an IF function, set A2 to 0, or null, but the formula in A2 is already messy.

    I doubt there is an easier way to do this, but if anyone has a trick please let me know.

    Thx as always, Trebor

  2. #2
    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: Multiply a text value by FALSE

    How messy is it really just to wrap you formul in an
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you really don't want to touch your formula you could use a conditional format that makes the font colour white(or the same as the background colour if not white) if A1 is False.
    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.

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

    Re: Multiply a text value by FALSE

    I agree, and suspect I will have to use this route. I want to avoid conditional formatting because I use it so extensively already, and it can get messy. Thanks for the input.

+ 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. [SOLVED] userform multiply a text box value
    By AllenF in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2016, 01:53 PM
  2. [SOLVED] Multiply 2 cells, one of which has text
    By Bob0 in forum Excel - New Users/Basics
    Replies: 24
    Last Post: 03-29-2015, 02:15 PM
  3. Multiply text with a quantity
    By Collinder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-18-2014, 09:58 AM
  4. Text into values and then multiply
    By Puth2012 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-12-2013, 02:30 PM
  5. [SOLVED] Find Text In Range With Part Of Text & Return True or False
    By tis28 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-30-2013, 09:35 PM
  6. multiply with - if text
    By potzo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2006, 08:42 AM
  7. convert text & multiply
    By Boenerge in forum Excel General
    Replies: 2
    Last Post: 05-07-2005, 04:06 PM

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