Force auto fill formula to increment from the top of sheet

Darren Mullen
Darren Mullen Community Champion
edited 01/20/20 in Formulas and Functions

Hi,

I have a sheet with project workflows. Each workflow has an ID# and they have indented rows. I have a form that enters new rows into the top of the sheet. Everything is working fine as far as auto-filling all the gnarly formulas I have in various cells, except I have one issue:


Currently, I have to assign the ID# manually. I'd like it to auto increment, but I can't seem to get a formula to work correctly. Auto increment isn't appropriate in this application because child rows are added at various times and I don't want child rows to have ID's assigned, only the new parent rows.


A formula such as =ID2+1 works as long as no child rows are inserted. I'm not sure if there is a way to do this...


Below is an example sheet of the structure. I would like the next row inserted to be "6" under the ID column


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!