How to return lowest date when index matching complete columns rather than just a selection?
Is anyone able to help with the formula to Index Match the SO Number column and return the lowest date listed in the "finished date" column into the "first date" column? I can make it work when selecting just the relevant data in the column, however it returns errors as soon as I try change it to search the complete column (I want to convert it to a column formula).
Best Answer
-
Hello @D Rowland
I think a MIN(COLLECT formula could be useful for you to return the earliest date for each [SO Number]. I have made a quick demo using the formula below.
The formula will return the earliest date from [Finished Date] where the SO number in the Data Sheet matches the [SO Number]@row in the look up/formula sheet.
=MIN(COLLECT({Data Sheet_Finished Date}, {Data Sheet_SO Number}, [SO Number]@row))
Data Sheet:
Look Up/Formula Sheet:
I hope that is helpful to you in some way,
Protonsponge
Answers
-
Hello @D Rowland
I think a MIN(COLLECT formula could be useful for you to return the earliest date for each [SO Number]. I have made a quick demo using the formula below.
The formula will return the earliest date from [Finished Date] where the SO number in the Data Sheet matches the [SO Number]@row in the look up/formula sheet.
=MIN(COLLECT({Data Sheet_Finished Date}, {Data Sheet_SO Number}, [SO Number]@row))
Data Sheet:
Look Up/Formula Sheet:
I hope that is helpful to you in some way,
Protonsponge
-
Thank you - this has worked!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!