Forumula to pull oldest date in a column
I am trying to pull the oldest date into into a dashboard. I have my metrics sheet and keep getting the #invalid Column value error. I am using the MIN forumula and referencing the column on my sheet. =MIN({Depot Repair Collection Log Range 1})
Any clues or anyone have a sample formula I should be using. I made sure the column on my sheet was set as a date column
Best Answers
-
What happens when you edit your reference?
If you don't see something like this pop up when you click into your formula field, then the reference is missing.
If the reference is there, Edit reference and make sure it goes to the correct column on the correct sheet.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
So you can add another criterion range and criteria set after the first set:
=MIN(COLLECT({Depot Repair Collection Log Range 1}, {Request Tracker Range 2 - Status}, @cell <> "Complete", {Request Tracker Range 2 - Status}, @cell <> "Returned")) + ""
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
What happens when you edit your reference?
If you don't see something like this pop up when you click into your formula field, then the reference is missing.
If the reference is there, Edit reference and make sure it goes to the correct column on the correct sheet.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Thank You
-
Was that the issue? A broken or missing reference?
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Yes and a few extra characters, all is good. Thanks for your response and help
-
You're welcome. If you could mark my first answer as Accepted, that would be great.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
I am now using this formula to give me the oldest date in a column but I now need to add to removed not only anything with a complete status(which is already in the formula) but also to remove anything with at "Returned" status. Everything I try returns an error....any recommendations?
=MIN(COLLECT({Depot Repair Collection Log Range 1}, {Request Tracker Range 2 - Status}, @cell <> "Complete")) + ""
-
So you can add another criterion range and criteria set after the first set:
=MIN(COLLECT({Depot Repair Collection Log Range 1}, {Request Tracker Range 2 - Status}, @cell <> "Complete", {Request Tracker Range 2 - Status}, @cell <> "Returned")) + ""
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Hi Heather,
Try something like this.
=MIN(COLLECT({Depot Repair Collection Log Range 1}, {Request Tracker Range 2 - Status}, OR(@cell <> "Complete",@cell <> "Returned")) + ""
Did that work?
I hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!