Pull in % Complete into a new sheet (pivot view)
Hi
I am looking to create a ‘pivot’ view of my sheet that will show the 6 stage gates going across horizontally, so we can see going down the sheet how we are doing across all sites for system, users, WoW, etc. I have created a new sheet for this view and plan to reference in the 3 project sheets.
It was recommended that I try an INDEX(COLLECT formula, to bring back the % Complete for the Stage Gates by Site and Capability. But this is bringing back the first instance of the Capability it finds. For example, the % Complete is the same for “CTP” for all sites. It is not looking past the first occurrence.
Here is my formula including off-sheet references to my project sheet for the Percent Complete, the Stage Gate + Capability. I think Site needs to be in there somewhere:
INDEX(COLLECT({Percentage}, {Stage Gate}, "System", {Capability}, [Site - Capability - Stage Gates]@row), 1)
Screen shots include samples from 2 sites for the detailed project view and then the same 2 sites for the pivot view that I am trying to get to. You can see the % being repeated incorrectly on the purple pivot. I did add a key column that concatenates the site+capability+stage gate….if that helps get me there.
I know this is a lot, but I really appreciate any thoughts for the best way to tackle this. My management is keen on having this pivoted view.
Thanks for any advice you can offer
Ilene
Comments
-
You could try using a JOIN/COLLECT with a series of FIND functions to hit off of your concat column based on the data you used to build your tables with one additional row (totally optional, but makes dragfill possible). For this example, I am going to make it the top row (row 1). In this row, you will simply repeat your column names so they can actually be referenced in a formula (instead of having to manually change the reference for each formula).
.
So if row 1 is the helper row with the column headers repeated. Row 2 is the parent row for West Point. This formula would then go in System3.
=JOIN(COLLECT({Percentages}, {Concat Column}, AND(FIND(PARENT([Site - Capability - Stage Gates]@row), @cell) > 0, FIND([Site - Capability - Stage Gates]@row, @cell) > 0, FIND(System$1, @cell) > 0)))
.
This will search your Concat column and pull the data from the Percentages column where the Parent data, the row data and the column data are all found. Because you are pulling all of this data in the concat column, you have establish what basically amounts to unique row identifiers that we can leverage.
.
If you did not want to use the helper row, you would simply replace System$1 with "Whatever Text" you want.
Please note: The $ in the System$1 cell reference is intentional. This will allow you to dragfill down while still referencing that row, but dragfilling to the right will update the column reference (and thus the text that the formula is looking for).
-
Thank you Paul for all of your help. I will be working on this tonight and let you know how successful I am :-)
I appreciate your time.
Ilene
-
No worries. Hopefully it won't need any tweaking. Good luck.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!