[Update: I've found the solution and posted it in a comment]
I am having some issues with a very complicated set of sheets I have created. Please be warned, I am stressing the limits of smartsheets, and it is a rather complicated group of formulas. That said, information is below.
Background:
I am trying to optimize a set of reports that are generated 3 times a day summarizing our progress. In this particular instance, I am looking at 12 different stations that are reporting another 12 sets of information 3 times a day. In order to get this information I created a sheet for the 12 sets of information, and used webforms to collect the information. Next I wanted to analyze and conglomerate this information.
I needed to analyze by each of the 12 categories of data, as well as 3 higher level sorting criteria.
Basically I need to analyze production, Defects, and downtime, and all of their subcategories
In order to do this, I used 4 sheets to sum up the information from each of the 12 input sheets. I had to use 4 separate sheets due to the amount of cross sheet level references I had to build.
Once I had those four sheets built, I made a reference page that all 4 sheets reference to sort their criteria on.
Outline of what I had at this point
- 1 Analysis Sheet
- 4 Conglomeration Sheets
- 12 Input Sheets
Now I can have each station use a webform to update the input sheets. I can track the input sheets, and send alerts when they haven't been updated in a timely manner. I have an analysis sheet that changes the criteria for sorting of 4 subsheets. I've calculated it out to adjust over 40,000 cells. Then I use reports and dashboards to sort and pull the information from the conglomeration sheets
Problem
I am having some unexpected behavior in my formulas, and I can't figure out if it is an issue with my formula or an issue with me using to much processing power. The main problem is I seem to be pulling incorrect dates from the 12 submission sheets.
Formulas
1. The first thing I do is reference the main analysis sheet, and put the inputs to each of the 4 conglomeration sheets via cell links.
2. Then I use that information to return the applicable rows from each of the input sheets using a collect formula, and joining them together. There are 4 of these on each sheet. The below formula is the one for Gear/Pack
=IF(OR([By Operation]1 = "Gear/Pack", [By Operation]1 = "All"), JOIN(COLLECT({15. Gear/Pack Counter}, {15. Gear/Pack Shift}, IF($[By Shift]$1 = "All", OR(@cell = "1st", @cell = "2nd", @cell = "3rd"), @cell = $[By Shift]$1), {15. Gear/Pack Created}, IF(ISNUMBER($[Within Last (Days)]$1), NETDAYS(@cell, TODAY()) <= $[Within Last (Days)]$1, IF(ISBLANK($[Date Range]$2), @cell = $[Date Range]$1, AND(@cell >= $[Date Range]$1, @cell <= $[Date Range]$2)))), ",") + ",", "")
3. I then parse the joined cell out into as many rows as it needs, up to 500.
=IFERROR(VALUE(MID(JOIN([Index Ref]$2:[Index Ref]$5, ","), LEN(JOIN([Index Ref]$7:[Index Ref]10, ",")), FIND(",", JOIN([Index Ref]$2:[Index Ref]$5, ","), LEN(JOIN([Index Ref]$7:[Index Ref]10, ","))) - (LEN(JOIN([Index Ref]$7:[Index Ref]10, ","))))), "")
4. Once that is done, I use these row references in an index match formula with row references to the submission sheets (This one is for the submission date)
=IF(OR(ISBLANK([Index Counter]11), ISBLANK([Index Ref]11)), "", IF([Index Counter]11 = "Final Inspection", INDEX({13. Final Inspection Created}, [Index Ref]11), IF([Index Counter]11 = "Lap/Polish", INDEX({14. Lap/Polish Created}, [Index Ref]11), IF([Index Counter]11 = "Gear/Pack", INDEX({15. Gear/Pack Created}, [Index Ref]11), IF([Index Counter]11 = "X", "")))))
That same formula is used across all of the parameters.
In the end the collect formula in step 2 is doing almost all of my filtering by only posting the applicable rows, and the rest of it is index match grabbing.
I'll show a specific example of what is going wrong in the pictures. You will notice there are no submissions on 7/20 for my test data on the Gear/Pack, but my formulas return 3. the formula shouldn't have access to get any dates outside of the sheet, so the only thing I could think of is that the sheet is for whatever reason rounding the date up.
I know this is a very complicated issue, especially compared to what is normally posted here, but I appreciate any help.
I'm going to have intermittent internet access through next week, but I will do my best to get on and try to respond if anyone has anything for me.
Even if this doesn't get solved, hopefully it helps the community find some alternative uses for smartsheet.





