# Cell Colouring within Power Table

**URL:** <https://forum.inductiveautomation.com/t/cell-colouring-within-power-table/24363>\
**Category:** Ignition\
**Created:** [April 24, 2019, 3:49pm UTC](https://forum.inductiveautomation.com/t/cell-colouring-within-power-table/24363 "2019-04-24T15:49:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fnazzali](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@fnazzali](https://forum.inductiveautomation.com/u/fnazzali)\
**Post date:** [April 24, 2019, 3:49pm UTC](https://forum.inductiveautomation.com/t/cell-colouring-within-power-table/24363/1 "2019-04-24T15:49:39Z")

</div>

Currently trying to color a cell different colors if the value is within a certain range. I’m able to color the whole row but i’m having issues specifying that i only want the process cell to change in color. My main question is, how do i specify that i would like to change the colour property of cell or any other property like font, foreground, etc… My buffer is set to 10% as a custom property. Please see below:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f492e067bab1b501878293e4fb61f978fec1cae6.png)

---

<div class="post-metadata">

**Author:** ![nick.schuetz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nick.schuetz/32/6160_2.png) [@nick.schuetz](https://forum.inductiveautomation.com/u/nick.schuetz)\
**Post date:** [April 24, 2019, 3:54pm UTC](https://forum.inductiveautomation.com/t/cell-colouring-within-power-table/24363/2 "2019-04-24T15:54:53Z")

</div>

You can wrap the logic inside of

```auto
if colName == 'Process':

```

then, the code will only run for that column. Note that colName is the name of the column in the underlying dataset.
