Google Sheets Formula Question

Hello! Me again, with another silly question…

I need a formula to calculate difference between 2 dates but if i put in the formula and drag it all the way down to infinity, it will use my 500/500 rows, i want the formula to trigger only when data exists, as in some sort of conditional format to only activate the formula when data in the row exists - is there a work around other than just an =IF formula?

I swear I looked…

First of all, dragging down will not work since Glide will add any new rows after the last row with a formula. An arrayformulas would be much better as it grows with your data. Also using an arrayformula, it will be best to delete all empty rows. For Glide to not recognize a row as filled, you need to set up your formula with an IF to check if another field is filled in the row. If the other field is empty, the formula will return empty and be ignored by Glide.

1 Like