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