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!
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 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!