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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 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!