Calculating Actual Progress vs Planned Progress base on Today's Month & Year
With reference to the following screenshot, I am trying to capture the Actual Progress & Planned Progress on row 1 of the respective column base on Today's Month and Year.
For example, today is January 2024, row 1 for Planned Progress 2 % should show 0%, and row 1 for Actual Progress 2 % should show 0%.
If today is June 2024, row 1 for Planned Progress 2 % should show 30%, and row 1 for Actual Progress 2 % should show 50%.
If today is August 2024, row 1 for Planned Progress 2 % should show 40%, and row 1 for Actual Progress 2 % should show 50%.
I am trying to index match the children rows with Today's Month and Year for Actual Progress 2 %:
=INDEX(children([Actual Progress 2 %], MATCH(AND(Month(@cell) = MONTH(Today()), Month:Month, Year(@cell) = Year(Today()))), 0))
I get an error message: #UNPARSEABLE
I believe the formula to be used in Planned Progress 2 % and Actual Progress 2 % should be similar.
Any assistance would be very much appreciated.
Best Answer
-
Try an INDEX/COLLECT:
=INDEX(COLLECT(CHILDREN(), CHILDREN(Month@row), @cell = MONTH(TODAY()), CHILDREN(Year@row), @cell = YEAR(TODAY())), 1)
Should be the same exact formula for both columns.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
Try an INDEX/COLLECT:
=INDEX(COLLECT(CHILDREN(), CHILDREN(Month@row), @cell = MONTH(TODAY()), CHILDREN(Year@row), @cell = YEAR(TODAY())), 1)
Should be the same exact formula for both columns.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thanks @Paul Newcome ! That works for both columns.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Please help to calculate the % Planed in Summary row.
Thanks in advance
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!