+ Reply to Thread
Results 1 to 8 of 8

Help! Conditional Formatting Noob.

  1. #1
    Registered User
    Join Date
    12-05-2014
    Location
    Ontario, Canada
    MS-Off Ver
    MS Excel 2013
    Posts
    9

    Help! Conditional Formatting Noob.

    I'm currently establishing a tracking system for our company (we service heavy equipment) and I'd love to have this spreadsheet done today. I've managed to figure out other conditional formatting necessary, however this one has me stumped:

    I need to highlight the appropriate cells when "Current Machine Hours on Record" (K2) are "250 hours" (M2) ABOVE the "Machine hours at last service" (H2)

    ANY assistance would be appreciated!


    Thanks in advance.
    Last edited by MMolloy; 12-05-2014 at 10:23 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help! Conditional Formatting Noob.

    What are "the appropriate cells"? It would be very helpful if you attach your file.

    To attach a file:
    1. Under the text box where you type your reply click the Go Advanced button.
    2. In the next screen look above the reply box and click the "paper clip" icon. You will get a pop-up screen.
    3. In the pop-up, click Add then Select to select a file from your local drive
    4. Click the Upload button to upload the file
    5. Click Done to attach it.

    It will be displayed as an attachment underneath your post text. Alternatively as the last step you can click the Insert Inline button and a hyperlink to the file will be inserted directly into your post text in the spot where your cursor is set at the moment you click the button.

    Here are step-by-step instructions with screen shots
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-05-2014
    Location
    Ontario, Canada
    MS-Off Ver
    MS Excel 2013
    Posts
    9

    Re: Help! Conditional Formatting Noob.

    Thanks Hope this helps. *edit* I should also add that by saying "appropriate cells", I simply meant I need to highlight the row.
    Attached Files Attached Files
    Last edited by MMolloy; 12-05-2014 at 05:17 PM.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help! Conditional Formatting Noob.

    That helps a LOT! Thanks.

    You already have two rules in place that will change the fill color of rows based on time since last service. (Those need to be cleaned up but I can help with that.) For the rule based on machine hours, which one is supposed to take precedence if both are true? What color do you want to use for the machine hours rule?

  5. #5
    Registered User
    Join Date
    12-05-2014
    Location
    Ontario, Canada
    MS-Off Ver
    MS Excel 2013
    Posts
    9

    Re: Help! Conditional Formatting Noob.

    I'm sure it looks like a distaster to an educated eye! I basically just need the row to change red if it had been either 250 hours since the last service, or if it has been 180 days since the last service - which ever comes first.
    The yellow formatting comes into play as a 'warning' that a service needs to be scheduled soon (150 days since last service).

    Its embarrassing to let anyone see my awful Excel "skills".
    Last edited by MMolloy; 12-05-2014 at 07:28 PM.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help! Conditional Formatting Noob.

    You have individual rules set up for each row. If you write the rule properly you can use one for all rows.

    There are now three rules, and they apply to rows 2-100.

    I left the first rule alone.

    The "blank cell" rule now cover rows 2-100. It adds logic that assumes that if cell in column A is blank, it's OK for the rest of the row to be blank. If the cell in column A is non-blank, then any blank cells in that row will be shaded.

    I modified your "red" rule to extend to rows 2-100, and apply only to cells in rows with a non-blank cell in column A. I also added the condition to check for the number of hours since the last service and compare to the number in column M.

    I modified the "yellow" rule to extend to rows 2-100, and apply only to cells in rows with a non-blank cell in column A.

    You'll note that in the CF formulas, I removed the $ from the row number (changed $F$2 to $F2). That is essential to get this to work in every row.

    Let me know if this is what you are trying to get to. Conditional formatting starting with Excel 2007 changed quite a bit. It is much more powerful, but also difficult for beginners to learn. This might be helpful.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-05-2014
    Location
    Ontario, Canada
    MS-Off Ver
    MS Excel 2013
    Posts
    9

    Re: Help! Conditional Formatting Noob.

    I love you so much, it hurts.

    Can I bake you some cookies, or wash your car?

    Thank you!!!

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help! Conditional Formatting Noob.

    Thanks for the offer I suppose the car thing is out unless you happen to be in the Washington, D.C., area. Next time I'm in Ontario I'll stop by for a cookie Last time I was in Ontario was 1981 when I lived in Ann Arbor and drove over to Windsor to get the superior Canadian beer.

+ 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. Replies: 5
    Last Post: 11-05-2014, 03:34 PM
  2. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  3. [SOLVED] Total Noob needs help - I think with formatting.
    By mdtiberio in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-16-2013, 01:38 PM
  4. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  5. [SOLVED] Conditional Formatting Formula needed for noob
    By Patrick Byrne in forum Excel General
    Replies: 1
    Last Post: 04-04-2012, 05:48 PM

Tags for this Thread

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