+ Reply to Thread
Results 1 to 5 of 5

Conditinal Formatting

  1. #1
    Registered User
    Join Date
    12-08-2008
    Location
    South Africa
    Posts
    21

    Conditinal Formatting

    For a certain column, there are 3 options that can happen
    1. "PAID"
    2. "UNDERPAID BY ..." (... is a variable number)
    3. "OVERPAID BY ..." (... is a variable number)

    I am trying to use conditional formatting to make "PAID" in a green box, "UNDERPAID BY..." in a red box and "OVERPAID BY..." in any colur box.

    The problem is with the "UNDERPAID BY ..." and "OVERPAID BY...." as they are variables.
    Is there any way around this?
    Last edited by Tziggy; 12-09-2008 at 04:35 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284
    Use a formula of

    =ISNUMBER(SEARCH("UNDERPAID BY",A2))

    in the CF

  3. #3
    Registered User
    Join Date
    12-08-2008
    Location
    South Africa
    Posts
    21
    OK thanks got the colour coding to work

    just 1 thing, in some cells, for eg. it will say "UNDERPAID BY R345.60007932" (R is used as currency - Rand)

    Formating the cells to 2 decimal places does not change anything.
    Is there a way to change it?
    Last edited by Tziggy; 12-09-2008 at 04:55 AM.

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284
    Presumably you are getting the value from another cell? If so use,

    ="UNDERPAID BY R" & ROUND(A2,2)

  5. #5
    Registered User
    Join Date
    12-08-2008
    Location
    South Africa
    Posts
    21
    Thank you it works now!

+ 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