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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!