+ Reply to Thread
Results 1 to 6 of 6

Changing color format in cells based on 3 range values in a different column cells.

  1. #1
    Registered User
    Join Date
    07-04-2019
    Location
    Venezuela
    MS-Off Ver
    2019
    Posts
    6

    Changing color format in cells based on 3 range values in a different column cells.

    Good Afternoon Friends,

    So I have a table on Contents that goes from A2 to E500 and I want them to change fill color based on the following criteria or value found on cells in column F:

    Between 0 and 49 = Yellow
    Between 50 and 89 = Orange
    Above 90 = Blue

    Values in column I go from F2 to F500

    If any of you have an idea on how to approach this, will be greatly appreciated.

    NOTE:Column F and G already is formated independent from A to E to change color based on range of values above.

    Apologize if i didn't explain myself correctly, just didn't know how else to do it.

    Excel.png

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily NL, sometimes UK
    MS-Off Ver
    2010
    Posts
    2,263

    Re: Changing color format in cells based on 3 range values in a different column cells.

    Hi again. You can use Conditional Formatting for this.

    1. Select your range (the range you want to format - A2:E500).
    2. On the Home tab of the ribbon, click 'Conditional Formatting', then 'New Rule', then 'Use a formula to determine which cells to format'.
    3. In the formula box, enter this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    4. Click 'Format' then choose yellow fill.
    5. Click OK twice to get back to the worksheet.

    Repeat for orange fill and blue fills with these formulae:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If the figures are percentages, then use (for example) 50% instead of just 50, like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that does what you want.
    Regards,
    Aardigspook

    My internet connection can be intermittent, so sometimes I may not reply quickly to questions. Sorry - it's not personal and I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    07-04-2019
    Location
    Venezuela
    MS-Off Ver
    2019
    Posts
    6
    Hi Again my friend,

    You just blew my mind, didnt know i could use =AND in vonditional. THANKS again for your help and swift response. Best regards,
    Last edited by AliGW; 07-08-2019 at 08:11 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily NL, sometimes UK
    MS-Off Ver
    2010
    Posts
    2,263

    Re: Changing color format in cells based on 3 range values in a different column cells.

    You're welcome, glad I could help.

    Just a note: in future, please don't quote whole posts when replying - it makes the threads very difficult to follow. If you're replying to the post above, no need to quote at all. If you're replying to an earlier post then quoting is fine but please cut it down to the bare minimum to show which part you're replying to. Thanks.

  5. #5
    Registered User
    Join Date
    07-04-2019
    Location
    Venezuela
    MS-Off Ver
    2019
    Posts
    6

    Re: Changing color format in cells based on 3 range values in a different column cells.

    OK understood, thank you for the heads up. Definitely makes sense.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2019 (Win 10 - Work) & 365 Subscription Insider (Win 10 - Home)
    Posts
    34,185

    Re: Changing color format in cells based on 3 range values in a different column cells.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ 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