Return the highest and 2nd highest value
J. Angel
✭✭
Hello,
I need a formula which will return the highest and 2nd highest value. For the table below, it would need to return "Wednesday" as the highest and "Tuesday" as #2.
Answers
-
You are going to want to use the LARGE function inside of a nested IF statement.
=IF(Saturday@row = LARGE(Saturday@row:Friday@row, 1), "Saturday", IF(Sunday@row = LARGE(Saturday@row:Friday@row, 1), "Sunday", IF(Monday@row = LARGE(Saturday@row:Friday@row, 1), "Monday", ....................
To get the second highest you would change the 1 in the LARGE function to a 2.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 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!