SharePoint Online list conditinal formatting

Sanjay Adsure 1 Reputation point
2021-10-22T05:00:33.047+00:00

Hi All,

Using SharePoint Modern list. Have a scenario like below. Here 'Completed' & 'Active' are list columns.

If Active !=1 then don't apply any color to entire row but for 'Completed' column values (Yes or No) apply formatting as choice pills CSS.

If Active ==1 then format entire row with yellow color & in this scenario, 'Completed' column should not have any color applied.

I can apply column formatting to 'Completed' column but not able to remove this formatting for the rows where Active=1. Want to remove column formatting if row formatting is applied.

Can anyone help?

Thanks,
Sanjay

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JoyZ 18,126 Reputation points
    2021-10-22T07:09:02.907+00:00

    @Sanjay Adsure ,

    Per my test, we can not remove column formatting if row formatting is applied where Active ==1.

    These two are independent and do not interfere with each other.

    As a workaround, we can edit the default Choice pills in advanced mode:

    142828-image.png

    Then change the column color to be the same as the row color:

    142836-image.png

    Result for your reference:

    142884-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.