Minimum of a certain range
Hello,
I'm trying to use a formula to find the oldest date for a certain range of rows. Is there a similar MIN function as there is to SUMIF or COUNTIF? Or some similar work around?
This is my attempt, but it does not work:
=MIN(IF({PM Sheet Region} = "TQM", {Column of Dates Here}))
Best Answer
-
Hi @Sarah Bird
Since you're using a cross-sheet reference/formula, you won't be able to use the IF function in this way.
Instead, you can use the COLLECT function to collect certain cells based on the criteria in your Region column, then find the MIN of those collected dates.
Try this:
=MIN(COLLECT({Column of Dates Here}, {PM Sheet Region}, "TQM"))
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @Sarah Bird
Since you're using a cross-sheet reference/formula, you won't be able to use the IF function in this way.
Instead, you can use the COLLECT function to collect certain cells based on the criteria in your Region column, then find the MIN of those collected dates.
Try this:
=MIN(COLLECT({Column of Dates Here}, {PM Sheet Region}, "TQM"))
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you @Genevieve P! That is just what I needed.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!