Returning the value in a corresponding cell that returns the largest number in Sheet Summary

I have been able to return the largest number for a specific day in the sheet summary using =LARGE(COLLECT([Profit]:[Profit], Date:Date, =Date#), 1) but I am having trouble returning the corresponding transaction number for the returned value of the above formula. I want to be able to return the transaction number in another line in the sheet summary.
Thanks in advance.
Best Answer
-
Try the below, profit# should be a reference to the sheet summary field you mentioned in your comment
=index(collect(trans#:trans#, Date:Date, =Date#, [Profit]:[Profit], profit#),1)
Answers
-
Try the below, profit# should be a reference to the sheet summary field you mentioned in your comment
=index(collect(trans#:trans#, Date:Date, =Date#, [Profit]:[Profit], profit#),1)
-
This works! Thank you so much @Leibel S.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!