Share via

Conditional Formatting - copy paste to adjacent cells

Anonymous
2010-10-25T16:52:55+00:00
  • How do I copy and paste conditional formatting for a series of cells - incrementing the cell positions accordingly?

For eg:

I have 12 columns for each month of the year...

Each column has the sales performance of the staff in that particular month.

If the staff has performed below target for 3 continuous months, that 3rd month should be highlighted in red.

Right now, i have put the below formula in the column for March

A1 = Staff Name

B1 = Target for the year

C1 = Jan

D1 = Feb

E1 = Mar

=and(c1<b1/12,d1<b1/12,e1<b1/12)

if the above formula is true, then it highlights in red..

how do i drag this formula to other adjacent cells such that in the month of July, it will automatically check if May, June and July has less than the target figures.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-10-25T21:18:05+00:00

Make the CF for cell A1 "CellValue not equal to  0" and apply formatting

Make the CF for cell A2 "Formula is =$A$1<>0" and apply formatting

Then, you can select A2 and then the Paint Brush and then select whatever other cells you want the same CF is A1 does not equal zero.

hth

Vaya con Dios,

Chuck, CABGx3

Was this answer helpful?

0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-08-05T14:08:54+00:00

    Make the CF for cell A1 "CellValue not equal to  0" and apply formatting

    Make the CF for cell A2 "Formula is =$A$1<>0" and apply formatting

    Then, you can select A2 and then the Paint Brush and then select whatever other cells you want the same CF is A1 does not equal zero.

    hth

    Vaya con Dios,

    Chuck, CABGx3

     

    Hello,

    I am facing the same problem. I have a set of data in which column B have different values and I want for one specific value (Text) it should highlight all the adjacent cell from A column till G column. Please help!

    Kunal

    Hi Kunal.......

    First, highlight A1:g1

    Then, on the HOME Tab, select Conditional Formatting, and then New Rule.

    Then select "Use a formula to determine which cells to format"

    Then in the box marked "Format values where this formula is true:, type =$B1="yes"

    Then click the Format button and select your format, say maybe Fill Tab, the choose Yellow box, then OK.

    Then OK again,

    Then click on Row 1 to highlight the entire row, and choose the Home Tab, Paintbrush.

    Then click on the rest of the Row numbers you wish to have the sale Conditional Format.

    When finished all Column A:G in all rows that have "yes" in column B will be highlighted.

    HTH

    Vaya con Dios,

    Chuck, CABGx3

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-08-05T07:51:10+00:00

    Make the CF for cell A1 "CellValue not equal to  0" and apply formatting

    Make the CF for cell A2 "Formula is =$A$1<>0" and apply formatting

    Then, you can select A2 and then the Paint Brush and then select whatever other cells you want the same CF is A1 does not equal zero.

    hth

    Vaya con Dios,

    Chuck, CABGx3

     

    Hello,

    I am facing the same problem. I have a set of data in which column B have different values and I want for one specific value (Text) it should highlight all the adjacent cell from A column till G column. Please help!

    Kunal

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-10-25T17:53:53+00:00

    this works when this is a formula in a cell.

    i've applied this formula in a conditional formatting place.... so how do i copy paste the formula from a conditional format??

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-10-25T17:50:07+00:00

    Just need to add a few asbolute references:

    =AND(c1<$b1/12,d1<$b1/12,e1<$b1/12)

    When you copy this 3 cells to the right, it will automatically become:

    =AND(f1<$b1/12,g1<$b1/12,h1<$b1/12)

    Was this answer helpful?

    0 comments No comments