+ Reply to Thread
Results 1 to 3 of 3

How can I do a conditional format to change the color when my formula shows a "loss" ?

  1. #1
    Registered User
    Join Date
    02-12-2021
    Location
    Okinawa Japan
    MS-Off Ver
    2007
    Posts
    2

    How can I do a conditional format to change the color when my formula shows a "loss" ?

    How can I format a cell with a conditional format to the change the color in the cell when my formula shows a "loss". Either a red color change on the text or a red background with my
    formula shows a "loss'? Below is the formula:

    =IF(K8=0,"",IF(K8<=(O8),"LOSS",IF(K8>=(O8),"GAIN")))

  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: How can I do a conditional format to change the color when my formula shows a "loss" ?

    Just use

    =K8="LOSS"

    or

    =K8<=O8
    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
    Registered User
    Join Date
    02-12-2021
    Location
    Okinawa Japan
    MS-Off Ver
    2007
    Posts
    2

    Re: How can I do a conditional format to change the color when my formula shows a "loss" ?

    Thanks Rich for a quick replay and help. It worked

    George

+ 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. Auto Change Date format from "." to "/" when copy data from SAP T-code - VF05
    By abhinavbinkar in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-29-2019, 05:20 AM
  2. Conditional format to change cell color if over "x" days late
    By matador1872 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2015, 12:17 PM
  3. [SOLVED] formula help: conditional format of one column based on "YES"/"NO" content of four others!
    By 10 Dollar Bill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-20-2014, 01:59 PM
  4. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  5. Change cell color in a cell formula "without conditional"
    By ConeTopper in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-23-2013, 05:11 AM
  6. Custom date format shows "051117.Thu" for today. Way to have "051117.Th", instead?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-17-2005, 06:25 PM
  7. Replies: 5
    Last Post: 06-28-2005, 11:05 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