Collect Most Current Per Project
We build out contracts and contract MODs on a spreadsheet, the single spreadsheet contains all contracts and MODs across all projects. I'm needing to create a column with a function that reports the most current difference between the original contract and sum of any MODs, per project, per company.
Columns involved so far...
one column contains a simple function that displays the difference between the original contract value and the sum of any MODs to that point (the date that MOD was created).
a project column, that defines which project that contract is for.
a company column, that defines who the contract/MOD is with.
and a created date column.
Here is what I've come up with, but the syntax isn't even working... thoughts? suggestions?
=INDEX(COLLECT([Difference From Original Contract]:[Difference From Original Contract], Project:Project, =Project@row, (Created:Created, =MAX(Created:Created)), (Company:Company, =Company@row)),1)
Best Answer
-
I was approaching this all wrong. Here is the solution I found.
=IF(MAX(COLLECT(Created:Created, Project:Project, Project@row, Company:Company, Company@row)) = Created@row, [New Contract Sum]@row - [Original Contract Amount]@row, "")
Answers
-
I was approaching this all wrong. Here is the solution I found.
=IF(MAX(COLLECT(Created:Created, Project:Project, Project@row, Company:Company, Company@row)) = Created@row, [New Contract Sum]@row - [Original Contract Amount]@row, "")
-
Hi @Tim Hanson
Thanks for sharing your solution! I'm glad you were able to figure out a formula that works for you.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!