+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting for a cell that has a formula in it?

  1. #1
    Registered User
    Join Date
    12-29-2015
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    1

    Conditional formatting for a cell that has a formula in it?

    So I'm working on a budget, and in a cell I have and =IMSUB formula. I'm trying to format that cell so that it turns green for a positive value and red for a negative value, but no matter what I try the cell stays green regardless of the number. Can someone help me?

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,597

    Re: Conditional formatting for a cell that has a formula in it?

    If Positive value is shown by having "+" in the result (as IMSUB returns a TEXT field) then

    =ISNUMBER(SEARCH("+",B1)) Green

    in CF will give the required results

    =ISNUMBER(SEARCH("-",B1)) Red

+ 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. Replies: 3
    Last Post: 06-19-2015, 07:16 AM
  2. [SOLVED] Conditional Formatting of a cell that already has a formula in it
    By RJL3313 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-14-2015, 02:48 PM
  3. Conditional formatting if cell contains a formula
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2014, 02:18 PM
  4. Conditional Formatting a cell with a formula in.
    By af25 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-01-2014, 07:59 AM
  5. Conditional Formatting if cell contains formula
    By brokenbiscuits in forum Excel General
    Replies: 3
    Last Post: 07-26-2014, 01:45 AM
  6. [SOLVED] Conditional Formatting a cell that contains a formula
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2014, 11:22 AM
  7. Replies: 2
    Last Post: 03-25-2011, 02:15 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