How to convert to @row functionality

I cannot seem to reference the next row down if I convert row numbers to @row
from this:
=IF(COUNT(ANCESTORS([Task Name]3)) < COUNT(ANCESTORS([Task Name]4)), COUNT(ANCESTORS([Task Name]3)))
to this:
=IF(COUNT(ANCESTORS([Task Name]@row)) < COUNT(ANCESTORS([Task Name]4)), COUNT(ANCESTORS([Task Name]@row))) what do I do for [Task Name]4?
Answers
-
@row only works to reference the column in the same row as the formula. If you want to reference a cell in a different column you will have to use a numerical reference. You could technically add a helper column to adjust your values in the non @row column by whatever number of rows before/after, then reference this new column with @row
👨🏼💻 Dan Palenchar | School of Sheets Solutions Consulting | Smartsheet Aligned Gold Partner
If this helped, help me & the SSC by accepting and reacting w/ 💡insightful, ⬆️ Vote Up, and/or ❤️Awesome!
- 🆘 Smartsheet Consulting Inquiries: schoolofsheets.com/workwithus
- ▶️ Smartsheet Tutorial Videos: schoolofsheets.com/youtube
PS - If you have a follow up response tag me @SoS | Dan Palenchar so I get notified of your reply!
-
I'll work on that. Me and helper columns are old friends.
Help Article Resources
Categories
Check out the Formula Handbook template!