Use MATCH to find the last position of a matching value.
earl_bennett
✭✭✭✭✭✭
In the period column I have a MATCH formula to get the position of the matching value in Current Month.
=IFERROR(MATCH([Current Month]@row, June@row:May@row, 0), "")
In this case the value returned is 5.
How would I get the position of the last matching value, which would return 8?
Thank you!
Answers
-
@earl_bennett I think would need a helper row that has the number 1-8 in the months. So june- 1, july- 2, etc.
Then you would need a formula such as
=MAX(COLLECT(june$1:january$1, june@row:january@row, [Current Month]@row))
Where June$1:January$1 is your helper row with the numbers 1 through 8.
You would not be able to make this a column formula
-
Of course... Should have thought of that myself, thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 405 Global Discussions
- 215 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!