Consulting

Results 1 to 6 of 6

Thread: Conditional Formatting from one row to another

  1. #1
    VBAX Newbie
    Joined
    Feb 2016
    Location
    OH
    Posts
    3
    Location

    Conditional Formatting from one row to another

    I was wondering if there was some way I can copy a conditional format from one row to another with out having to update all of the rules for the new row to reflect the updated reference cell.

    I have rows 5 thru 8 set but I ultimately want to get up to 500 rows. To do each rule it takes roughly 10 mins per column to adjust when I just copy and special paste formatting.



    Thank you.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    If you go into the CF, you should be able to update the range that the CF is applied to.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Feb 2016
    Location
    OH
    Posts
    3
    Location
    That is what is taking so long, I was hoping there was some code I could input to have the system updated the rules for me.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Long? Changing say $A$1 to $A$1:$A$10 takes a long time?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Newbie
    Joined
    Feb 2016
    Location
    OH
    Posts
    3
    Location
    I set up the rules for a row, and then copy and paste special formatting and then have to go to each rule for the new line to update the rule to change the formating.

    example:

    =$A$1="Y" $A$1:$T$1 = row rules
    =$A$1="Y" $A$2:$T$1 = copied rules

    I have to go update copied rule to =$A$2="Y" for all the rules pertaining to that row (about 20 rules for each row), need to do 500 rows.

    This is what I mean by taking so long. I have to edit each conditional format for specific blocks.

    That is what I was asking if there was a quicker way to update the rules not the applied to.

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    No, you select all 500 rows, row 1 first, and use

    =$A1="Y"

    notice, no $ before the 1
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •