+ Reply to Thread
Results 1 to 7 of 7

Please help - Conditional formatting

  1. #1
    Registered User
    Join Date
    08-03-2012
    Location
    Grand Rapids
    MS-Off Ver
    Excel 2010
    Posts
    4

    Please help - Conditional formatting

    Hello all,

    I am a beginner with Excel and currently struggling with how to format it to do what I want. Here is the skinny. I have a cell "O7" that calculates a total number. I need formulas that according to that number will change the fill color in a column of cells related to that number. If O7 is 1-5 then J5 through J9 force the fill to be yellow. no other columns should be affected. Then if the number in O7 is >=6 and <=10 it will do the same as before but to column k and so on and so forth. I hope this makes sense and someone can help me with figuring this out. I am pretty close but clearly I have done something wrong because not all the cells change the fill in my selection, just the top on I selected. Any help would be greatly appreciated!

  2. #2
    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,944

    Re: Please help - Conditional formatting

    try highlighting the entire range of cells you want to CF 1st, and then apply the formula you have, using "use formula"

    if this doesnt work, upload a sample and i will give you a hand with it
    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

  3. #3
    Registered User
    Join Date
    08-03-2012
    Location
    Grand Rapids
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Please help - Conditional formatting

    I did that the first time, I think it is more in the formula that I am trying to use. I am a beginner and it shows...lol. I am attaching a simple sample of what I am trying to do with a brief description. I think I attached the file correctly. Thanks in advance for the help......
    Attached Files Attached Files

  4. #4
    Forum Contributor CheshireCat's Avatar
    Join Date
    10-11-2011
    Location
    Victoria, Canada
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    258

    Re: Please help - Conditional formatting

    Try this:

    Please Login or Register  to view this content.
    as the Conditional Format formula.
    Docendo discimus.

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

    Re: Please help - Conditional formatting

    In Column D (D1:D13) use
    =AND(1<=$K$1,$K$1<=5)

    In Column E (E1:E13) use
    =AND(6<=$K$1,$K$1<=10) and so on

    You could define minimum and maximum limits for each column i separate cells and use them as a reference too. See attached
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Registered User
    Join Date
    08-03-2012
    Location
    Grand Rapids
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Please help - Conditional formatting

    Ace,

    Thanks! That worked exactly how I wanted....

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Please help - Conditional formatting

    @ Shawn1973

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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