+ Reply to Thread
Results 1 to 8 of 8

Need help color coding cells based on a numerical range.

  1. #1
    Registered User
    Join Date
    02-03-2014
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    9

    Need help color coding cells based on a numerical range.

    I am creating a spreadsheet to track equipment such as forklifts, cranes, excavators, etc. I am trying to build a maintenance log to track when oil changes are due, etc. is there a way to color code the cell based on a numerical value? Example would be: hours of last service at 1200. next service due 1700. can it change color at 300 hrs for yellow and 400 hrs at orange and then red when expires at 500 hrs.? Any help would be greatly appreciated. Thank you in advance for your assistance.


    HOURS OF LAST MAINTENANCE LAST MAINTENACEPERFORMED
    OIL FILTER AIR FILTER OIL Change PLUGS HYDR FLUID HYDRO FILTER
    1200
    Last edited by william.pudifin; 01-19-2021 at 11:36 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Need help color coding cells based on a numerical range.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-03-2014
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need help color coding cells based on a numerical range.

    I have attached the spreadsheet showing the values and an example equipment.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Need help color coding cells based on a numerical range.

    You forgot this:

    ... and some manually calculated results.
    In your case, provide enough rows of dummy data to manually show all case scenarios (colour coding) that you require.

  5. #5
    Registered User
    Join Date
    02-03-2014
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need help color coding cells based on a numerical range.

    I did finally attach it. Sorry about that!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Need help color coding cells based on a numerical range.

    Yes, but what you have provided is of no use. It does not show us what you are trying to achieve. Where is the manual colour coding to show us what you expect that row to look like?

    You need at least three rows to demonstrate what you are trying to do.

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    1
    FLEET NUMBER
    MANUFACTURER
    SERIAL NUMBER
    HOURS
    ISSUES
    HOURS OF LAST MAINTENANCE
    LAST MAINTENACEPERFORMED
    2
    OIL FILTER @ 350
    AIR FILTER @ 500
    OIL @ 350
    PLUGS
    HYDR FLUID @ 350
    HYDRO FILTER @ 350
    FUEL FILTER @ 500
    3
    JBT-TEL1 CAT CATTL1055C
    1254
    HYDRAULIC FORKS WILL NOT RELEASE
    1200
    1200
    1000
    1200
    700
    1100
    1100
    500
    Sheet: Sheet1

  7. #7
    Registered User
    Join Date
    02-03-2014
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need help color coding cells based on a numerical range.

    Ok so now we have have changed the need for the different color changes and decided to go with just the one color like
    in the new attached spreadsheet. That problem has been fixed. Now I want to see if it is possible to send an email based
    on color change. So in the attached copy, anytime the color changes in columns G thru M an email will be sent to the
    email address in column R. Is this possible? Thank you for your time and patience as I am definitely a beginner at
    this and do not really understand some of the videos that I have watched.
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Need help color coding cells based on a numerical range.

    Oh! Well, first of all, this is a completely different query and it will require VBA, so I am afraid that I’m going to have to ask you to start a new thread in the VBA section with an appropriate title.

    Please mark this thread as solved. Thanks.

+ 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. Unable to do Ranking based on Conditional Formatting with Numerical Coding
    By mjoseph86 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-27-2018, 08:04 PM
  2. VBA for color coding a cell based on values in other cells
    By kalyanr12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2017, 09:27 PM
  3. Color Coding outputs from LIST and adding numerical values
    By switzd0d in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2014, 01:21 AM
  4. Color Coding Based on Uniqueness of Cells
    By zooropa33 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2014, 02:56 PM
  5. Color coding cells based on due dates for a series of milestones
    By popeye2295 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2013, 04:24 PM
  6. Color Coding Cells Based On Data From Another Cell
    By VBHendo in forum Excel General
    Replies: 10
    Last Post: 02-18-2013, 09:59 AM
  7. Color Coding Cells - Based on Time Since Entered Data
    By oojrod06oo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2013, 07:08 AM

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