Counting how many days between to cells

SRenner
✭✭✭
Hello,
i am trying to create a formula that will show how many days from the last delivery on the 23rd to the time before on the 13th based on the run name? a screen shot of the data is below. I would like a formula that would calculate the two most recent days based on the run name QUEN.
thank you
Best Answer
-
You can use a LARGE/COLLECT combo for this...
=LARGE(COLLECT(Date:Date, [Run Name]:[Run Name], "QUEN"), 1) - LARGE(COLLECT(Date:Date, [Run Name]:[Run Name], "QUEN"), 2)
Answers
-
You can use a LARGE/COLLECT combo for this...
=LARGE(COLLECT(Date:Date, [Run Name]:[Run Name], "QUEN"), 1) - LARGE(COLLECT(Date:Date, [Run Name]:[Run Name], "QUEN"), 2)
-
That works!!! thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 503 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 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!