Share via

Conditional Formatting horizontal cells only

Anonymous
2018-12-12T19:05:37+00:00

Hi, I am OK formatting cells D10 to FG10 to highlight numeric duplication, but how can i globally format a whole section of horizontal cells, without formatting the vertical cells. For example I want to format all horizontal cells between D10 to FG10 and D27 to FG28.

I hope i have explained this OK.

Many Thanks,

Graham.

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

Vijay A. Verma 104.9K Reputation points Volunteer Moderator
2018-12-12T19:12:05+00:00

You will have to do this for all horizontal ranges separately. Hence, do CF for D10 to FG10.

Now select D10:FG10, click Format Painter button two times in quick succession to enable Format Painter

Click D27 once to apply to D27:FG27

Click D28 once to apply to D28:FG28

Now press ESC to switch off Format Painter

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2018-12-12T19:14:46+00:00

D10:FG10  is a single row.

D27:FG28 is two adjacent rows.

What do you consider as vertical cells in either case?

Gord

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-12-12T20:24:23+00:00

    Hi Gord, I am taking the view that D10 down to D27 are vertical cells.

    Regards, Graham.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2018-12-12T20:49:00+00:00

    D10:D27 are not included in my reply.

    Do not select the entire block of cells from D10:FG28

    You must select the ranges separately as Vijay points out.

    Gord

    Was this answer helpful?

    0 comments No comments