MAX COLLECT across a range

Options
Paul Reeves
Paul Reeves Overachievers
edited 02/13/24 in Formulas and Functions

I am a bit stumped and looking for a little help.

I have a forecast sheet with a form where the user has to submit their monthly forecasts for the quarters across five subject areas. I have a column for each quarter and each subject area, 20 columns is my range, Forecast worksheet: Quarters

For example purposes please assume the user would populate all 20 columns.

image.png


On a summary sheet I want to capture the last entry for each submission, across the range. I am able to get what I want with separate cross sheet references on all the quarters and subject area, ideally, I would like to write one formula that solves this.

Quarter/Subject =MAX(COLLECT({Forecast worksheet: WWA Q1}, {Forecast worksheet: Entry Date}, [Last Submission Date]@row))

Goal =MAX(COLLECT({Forecast worksheet: Quarters}, {Forecast worksheet: Entry Date}, [Last Submission Date]@row, {Forecast worksheet: Quarters}, .......)) - I just don't know how to set the second criteria

image.png

I would appreciate any assistance.

paul e. reeves

Principal Business Analyst

HMH

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!