+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting - Range of Cells

  1. #1
    Registered User
    Join Date
    01-25-2023
    Location
    Hong Kong
    MS-Off Ver
    MS Office 2016
    Posts
    1

    Conditional Formatting - Range of Cells

    Hi guys,

    Please could you advise how I may set up the conditional formatting for a range of cells in Excel. Please see attached.

    If the weight of the portfolios (A, B or C) is more than 1% than the model weight, then the corresponding cell will be highlighted as red.

    E.g. Cell A3 is 2%, if any of C3:E3 is more than or equal to 3%, then the corresponding cell will be red. All 3 cells will be red in this case.

    I know how to do for for one row, but I would like the same logic to be applied to all rows without setting up a conditional formula for each row (e.g. row 4 will be 4% and row 5 will be 6% for their respective rows). Imagine I have 100 rows in real life.

    Many thanks guys!

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: Conditional Formatting - Range of Cells

    use a formula
    =AND($A3<>"",C3>=$A3)

    for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
    Conditional Formatting

    Highlight applicable range >>
    C3:E100 - Change, reduce or extend the rows to meet your data range of rows

    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:
    =AND($A3<>"",C3>=$A3)

    Format [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Conditional formatting a range of cells based on the value of corresponding range
    By ahmadjumaa80 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2022, 04:14 AM
  2. [SOLVED] Conditional formatting - fill range if all cells in range are not blank
    By Kathi_TheTrueOne in forum Outlook Formatting & Functions
    Replies: 3
    Last Post: 02-24-2021, 07:24 PM
  3. Replies: 5
    Last Post: 01-01-2021, 05:39 PM
  4. Conditional Formatting a range of cells based on a range of cells on another sheet.
    By operationsahcc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2020, 05:47 AM
  5. Conditional formatting for a range of cells based on data from two cells
    By Tindomerel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-25-2014, 05:09 AM
  6. Replies: 3
    Last Post: 08-13-2013, 09:44 AM
  7. Conditional formatting - range of cells
    By kroz in forum Excel General
    Replies: 6
    Last Post: 03-09-2009, 07:58 AM

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