fortune-sheet icon indicating copy to clipboard operation
fortune-sheet copied to clipboard

Change the color of the cell based if condition

Open gudipudipradeep opened this issue 1 year ago • 6 comments

conditional cell color change.
if(current_cel > other_cel: green, red)

gudipudipradeep avatar Jan 11 '23 02:01 gudipudipradeep

Is there any example in excel or google sheet

shuanhukexuejia avatar Jan 11 '23 05:01 shuanhukexuejia

@shuanhukexuejia not sure, let me check

gudipudipradeep avatar Jan 11 '23 05:01 gudipudipradeep

@shuanhukexuejia Conditional Formatting in excel. https://www.ablebits.com/office-addins-blog/change-background-color-excel-based-on-cell-value/

gudipudipradeep avatar Jan 11 '23 05:01 gudipudipradeep

@gudipudipradeep There is some different from the feature you discribe, conditional formatting is cellValue > specificValue while what you desire is currentCellValue > otherCellValue

shuanhukexuejia avatar Jan 11 '23 06:01 shuanhukexuejia

@shuanhukexuejia that's correct, Just to know how we can achieve this kind of behavior here.

gudipudipradeep avatar Jan 11 '23 06:01 gudipudipradeep

@shuanhukexuejia that's correct, Just to know how we can achieve this kind of behavior here.

Maybe it should base on conditional formatting(still incomplete), then we can modify it to make it compatible with custom formatting rules based on cellValue.Thus the first step should be completing conditinal formatting

shuanhukexuejia avatar Jan 11 '23 06:01 shuanhukexuejia