+ Reply to Thread
Results 1 to 10 of 10

Conditional Formatting Question

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    Porterville, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Question Conditional Formatting Question



    I have a spreadsheet that I want the top cell of that column font to turn red if in that same column a specific cell meets the criteria of = to or greater than 5. So here, if D2 was 6, then D1 font would turn red.

    A B C D E F G
    1 ROOM NUMBER: score: 310a 310b 311a 311b 312a
    2 TOTAL RN ACUITY: 0 0 0 0 0


    Thank you!!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Conditional Formatting Question

    In Cf for Cell D1 use

    =D2>=5

    format red
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    06-03-2013
    Location
    Porterville, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Conditional Formatting Question

    Doesn't work. Sorry, I am attaching the actual spreadsheet so you can see where I got my information. Concept is the same.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional Formatting Question

    Not exactly sure where you want to apply this, but assuming it is for D1:AK1...

    1. highlight the range you want to apply the conditional formatting to (D1:AK1)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =MAX(D$2:D$30)>5 format fil as requited

    If you dont want to include the total in row 30, adjust accordingly
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    06-03-2013
    Location
    Porterville, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Conditional Formatting Question

    Okay, that sort of worked. What I want is if my total in the RN Acuity field = or greater than 5, the room number will turn red. For that row. If it needs to be the whole row, that is fine, I really want it to be just the room number. So, in my spreadsheet, if row 31 (any column) has a score equal to or greater than 5, then row 1 to the corresponding column that was equal to or greater than 5, will turn red. The result I got from the above formula was it turned the first column red.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional Formatting Question

    If you applied the CF exactly as I said, then it will turn a cell in D1:AK1 *red* if there is any value in the corresponding row beneath, that is greater than 5 (you could change that to >=). If applied correctly, it should not change an entire column

  7. #7
    Registered User
    Join Date
    06-03-2013
    Location
    Porterville, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Conditional Formatting Question

    Okay, I applied it and it did do just that cell. Sorry, I was doing something wrong before. However, it is only doing it for greater than 5, I need to include 5. I think I can fix that. And the other thing, I don't want it to be the total from row 30, I want it to be the total from row 31 only. Is that possible?
    Last edited by cadustin; 06-19-2013 at 02:04 PM.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional Formatting Question

    deleted....

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional Formatting Question

    change the rule to...=D$31>=5

  10. #10
    Registered User
    Join Date
    06-03-2013
    Location
    Porterville, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Red face Re: Conditional Formatting Question

    Thank you FDibbin! I just moved the row up one that I wanted to calculate off of. It works great! Thank you so much for helping me with this one!!

+ 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