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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 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!