Counting how many days between to cells
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!