+ Reply to Thread
Results 1 to 7 of 7

Conditionally Formatting Formula Results

  1. #1
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Conditionally Formatting Formula Results

    How would I change the colour of a cell depending on the result of a formula? I cannot change the formula itself to include an IF function.

    I have several cells that im using CONCATENATE on to combine them. The cells im combining do not always have data. If the CONCATENATE only returns 1 character i would like to turn it green. Conditional Formatting is not recognizing it thus far.

    if A1 = 1 then green
    if A1 = 2 then green
    if A1 = 12345 then nothing
    Last edited by GaidenFocus; 06-15-2012 at 12:21 PM.

  2. #2
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Conditionally Formatting Formula Results

    Attach an example workbook with the problem so we can examine your conditional formatting formulas.....
    Ted
    "Live Long and Prosper"

  3. #3
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Re: Conditionally Formatting Formula Results

    this is all i can do, my work book contains sensitive information.

    =IF(A1<>"","Solved",K12)

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditionally Formatting Formula Results

    =LEN(A1)=1
    format as green
    assuming there aren't any spaces or other invisible characters as a result of your concat.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Re: Conditionally Formatting Formula Results

    Awesome that did work, how would i apply that to a range? K1:S9

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditionally Formatting Formula Results

    Select your range then in the conditional formatting reference the first cell in your range. Excel will automatically compensate with the other cells, so

    =LEN(K1)=1
    Glad to help

  7. #7
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Re: Conditionally Formatting Formula Results

    Works great. I really appreciate it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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