Changing a Cell colour

Copper Contributor

Dear all,


For a Sharepoint online "list", I would like to have a cell changed with colour (or added a colour) whenever the base value changes. Or at least, as soon as someone makes a change to that cell, I would like it automatically changed.


Is this possible?


Thank you in advance,


1 Reply

@ElwinH You might be able to do it using JSON column formatting in SharePoint.


Check below documentation: Use column formatting to customize SharePoint 


For example: Show orange color if text column has any value else do not color the column: 


  "$schema": "",
  "elmType": "div",
  "txtContent": "@currentField",
  "style": {
    "background-color": "=if(@currentField == '', '', 'orange')"




Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.