How to pull earliest start date based on condition
I am trying to create a conditional formula that will pull the earliest start date (listed on a separate sheet) based on a criteria which in this case is the room number. Currently, these dates are tied to the resource manager in the reference sheet and are manually inputted into this summary sheet
I have tried using the IF function with column references, but I feel I am missing something.
Answers
-
Hi @Sofia I.,
I think you're looking for the MIN function, as that returns the earliest date in a range:
=MIN([Start Date])
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
This is currently what I am working with:
=IF({Reference Sheet Range 1} = Room@row, =MIN({Reference Sheet Range 2}))
Where each reference range is a column. It gave an "#Invalid operation" error. I would also like to point out that not every room is connected to the earliest date in the column
-
You'll want to remove the "=" in front of MIN, let me know if that fixes it!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
Hi @Sofia I.
I hope you're well and safe!
Try this.
=IF({Reference Sheet Range 1} = Room@row, MIN({Reference Sheet Range 2}))
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!