Poll: Mass C. F. a Column w/ 3 Rules based of Adjacent Cell

+ Reply to Thread
Results 1 to 11 of 11

Mass Conditionally Format a column with 3 rules, based on adjacent cell value

  1. #1
    Registered User
    Join Date
    10-07-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    6

    Question Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    How can i Mass Conditionally Format a Column based on adjacent cell.

    I am conditionally formatting a column using 3 rules. which are Between, Greater than, and Less than.

    Column E is a specific date, My Conditionally Format is in Column F.

    Each Cell in Column F is based on the adjacent date in column E. Both columns are going to have a specific date value entered.

    Column F value will stay plain with regular automatic black text when date entered lands within 7 days of adjacent date in column E.
    If any other date that is entered other than the specific 7 days will have RED Bold Text with a light red cell fill.

    So for example:
    Cell F4 is conditionally formatted with 3 Rules based on Cell E4
    Cell F5 is conditionally formatted with 3 Rules based on Cell E5
    Cell F6 is conditionally formatted with 3 Rules based on Cell E6
    and so on....

    Is there a way to do this in a Mass Copy and Paste or am I stuck going one cell at a time?

  2. #2
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    Will the format painter work or is that not doing the trick? Can you send you sheet for review?

  3. #3
    Registered User
    Join Date
    10-07-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    I have not tried format painter and will look into it.

    i can send a copy of the sheet for review.

  4. #4
    Registered User
    Join Date
    10-07-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    Working Log 9 30 13.xlsx

    here is the sheet

  5. #5
    Registered User
    Join Date
    10-07-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    format painter does not work.

    each cell in Column F has to be base on the date adjacent in Column E.

  6. #6
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    here is your sheet back. I think it now does what you want. I used the format painter, but I first had to change your conditions from absolute to relative references. I hope this gets what you need.
    Attached Files Attached Files

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    It seems to me that you only have 2 conditions to format, i.e. less than or greater than, and you could combine them into one condition. You can do this in one operation by highlighting all the cells in column F - suppose your data starts with F2, then click on Conditional Formatting | New Rule and choose Use a Formula from the bottom of the list. Then enter this formula in the dialogue box:

    =OR($F2<$E2-7,$F2>$E2+7)

    Then click the Format button and choose your colour from the Color drop-down, as well as Bold, and on the Fill tab you can choose light red for the background.

    When you exit the dialogue box Excel will adjust those cell references to suit the other highlighted cells.

    If you need to apply the format to other rows, you can use the Format Painter icon.

    Hope this helps.

    Pete

  8. #8
    Registered User
    Join Date
    10-07-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    Thank you that was pretty fast. What did you change in the conditions can you walk me through this?

  9. #9
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    Sure. You had your formatting set up as absolute cell references. I went into your condtions and changed all the "$E$#" into "$E#". This allowed me to use the format painter to change the rest of the cells.

    Also if you want to reduce the number of conditions you have Pete_UK made an excellent point. Your form should work fine the way you have it, but you could reduce to just 2 conditions. Glad we could help!

  10. #10
    Registered User
    Join Date
    10-07-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    Thank You both. This was very helpful. I tried to think of a formula earlier but I keep using "=IF", never even thought of "=OR"

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Mass Conditionally Format a column with 3 rules, based on adjacent cell value

    Maybe I am misj-interpreting this but this is how I see it.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Format cell based on adjacent cell / apply to column
    By mknispel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2013, 11:29 AM
  2. Replies: 4
    Last Post: 06-04-2012, 12:08 PM
  3. [SOLVED] Excel 2007 : Conditionally Format Bar Chart based on another column
    By asavage in forum Excel General
    Replies: 3
    Last Post: 04-03-2012, 03:43 AM
  4. Conditionally Format Row Based on Leading Cell
    By 605Scorpion in forum Excel General
    Replies: 7
    Last Post: 06-12-2010, 08:26 AM
  5. conditionally format a column based upon another column
    By jcavigli in forum Excel General
    Replies: 1
    Last Post: 06-29-2009, 11:40 PM

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