Conditional formatting

NGrace

New Member
Joined
Oct 17, 2019
Messages
3
HI,

Newbie here, have formatted a table to grey out rows based on a condition on a column, but it has overridden my rag colouring, can anyone help? I have the if = to AR then format then this is for the lines - [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=$R10="Yes"[/FONT]
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,177
Office Version
365
Platform
Windows
Welcome to the Board!

but it has overridden my rag colouring
That is the way Conditional Formatting works. If the condition is met, it will override any manual formatting you have applied and apply the Conditional Formatting (if there is any direct conflict between the two, i.e. they hare both highlighting the cell).

So I am not sure what you want to happen.
 

NGrace

New Member
Joined
Oct 17, 2019
Messages
3
Is there maybe a way to omit a column from the row that is being highlighted?
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,177
Office Version
365
Platform
Windows
Yes.

If you wanted to exclude the 4th column, you could use this formula:
Code:
=AND($R10="Yes",COLUMN()<>4)
 
Last edited:

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,177
Office Version
365
Platform
Windows
Brilliant, thank you, what if i wanted to omit 2 columns?
Just keep adding more criteria to the AND statement, i.e. to exclude columns 2 and 4
Code:
=AND($R10="Yes",COLUMN()<>2,COLUMN()<>4)
You can keep going with this to exclude even more columns. Just follow the same pattern.
 
Last edited:

Forum statistics

Threads
1,078,486
Messages
5,340,620
Members
399,387
Latest member
amrita34

Some videos you may like

This Week's Hot Topics

  • Problem with Radio Button's format control
    I am creating an employee evaluation template (a sample is below) Column A is the category Column B, C D, E and F will be ratings (unacceptable...
  • Last Display on userform to a Listbox
    [CODE=vba] lstdisplay.ColumnCount = 15 lstdisplay.RowSource = "A1:O600000" [/CODE] So when i do this it Displays everything on the sheet i am...
  • Rename and move files to a new location
    Dear all, I have an excel file with the following information. The actual file name is at column A but i want to rename it using the following...
  • Help with True/False Formula
    Hello! Am stumped how to fix this formula, in which my result returns 'True', but it should return False. =IF(AG2=True...
  • Clear extra characters from a provided range of cells
    Dear All, I have following code which gives me desired output to remove extra characters from a provided range. But it takes too much time when...
  • Help with Current and highest streaks
    Hi there, I've just joined the forum and this is my first post. I've already spent quite a bit of time searching the net and this forum for a...
Top