+ Reply to Thread
Results 1 to 5 of 5

How to set a range of values to be identified? (Pics included)

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    14

    How to set a range of values to be identified? (Pics included)

    So I'm trying to figure out how to set up my spreadsheet so that only numbers that fall within a certain range values will be identified or isolated

    For a better idea of what I'm talking about:

    \1

    In the duration column, I want to be able to do something along the lines of highlighting every row that is close to 27 min (so the range would be something like 26 to 28 min) green and then every other row that falls outside of that range, highlighted as red.

    Does anyone know if there is a formula that I can use to do that and then macro it so everything automatically repeats in that method whenever I load newer rows of data onto this spreadsheet?

    Basically in short, I want to be able to automatically highlight every cell that is close to 27 min as green and everything else that is not close as red. How do I do that without having to click on every single cell and changing the color manually? Thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: How to set a range of values to be identified? (Pics included)

    You can use conditional formatting to do that - no need for a macro.

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: How to set a range of values to be identified? (Pics included)

    Pete_UK is correct. CF is enough to solve your problem.

    Rule 1: [cell value] [between] [=time(0,26,0)] [=time(0,28,0)] - Green
    Rule 2: [cell value] [not between] [=time(0,26,0)] [=time(0,28,0)] - Red
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Registered User
    Join Date
    06-19-2013
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: How to set a range of values to be identified? (Pics included)

    Thanks for your help! That was a lot simpler than I thought.

  5. #5
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: How to set a range of values to be identified? (Pics included)

    So your problem solve?
    If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

+ 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