As you can see I have a switchif formula for the new rows… everything works except when a new row is created, if a press “apply to __ blank rows” it works.
I think what is happening, is that Coda checks the value for the hours column before the hours column has anything in it.
Try and create new rows using a button and addRow(). This should (I think) ensure that there is a value in hours column when Coda executes the switchif().
When you use the plus to add new rows, the “new” row is created with blank values, and via executes the switchif upon creation of the new row.