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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 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!