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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!