+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting of numbers which include a < sign.

Hybrid View

renosguy Conditional formatting of... 03-22-2012, 03:03 PM
dilipandey Re: Conditional formatting of... 03-22-2012, 03:09 PM
ChemistB Re: Conditional formatting of... 03-22-2012, 03:28 PM
  1. #1
    Registered User
    Join Date
    03-22-2012
    Location
    Kingston, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    1

    Conditional formatting of numbers which include a < sign.

    I wish to use conditional formatting to highlight values to that exceed a specific standard. I have a significant amount of data and this would be a huge time saver. Included in the lab data are a significant number of values that are expressed as <0.05 for example. Because of the < sign conditional formatting does not recognise that cell as a number, and therefore the conditional formatting won't work. I'm curious to see if there are any thoughts out there on a work around, or if there is a way to tell conditional formatting to ignore the < sign and look at the number. To put it in persepctive I have probably 10,000 values that need to be compared against various criteria. probably 50-60% of the values have the < sign.

    I understand how conditional formatting works. I am stuck on the issue of < sign in the cell with the number.


    Cheers.
    Thanks for any thoughts in advance.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Conditional formatting of numbers which include a < sign.

    Hi renosguy,

    Welcome to the forum.

    See the attached file where I have some numbers with <sign and I have conditional formatting applied to green the background of the cells in which value is greater than 4. Thanks.


    regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

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

    Re: Conditional formatting of numbers which include a < sign.

    Or you can use this formula in conditional formatting

    =IF(LEFT(A2,1)="<",(MID(A2,2,10)+0)>4,A2>4)
    (or probably half a dozen other acceptable ways
    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

+ 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