I am using a macro created by another user here in the group and in the past it was working perfectly. I am having the strangest issue today. In a script that I run weekly, I have a calculation to remove outliers based on the output of a Macro that calculates quartiles in the same manner that Excel calculates them (which I need in order to maintain consistency in the data processing over time). If a ID has 10 data points after outliers are removed, it shows up in my report.
If I run the report with all of this week's vehicle data (the same way I always run it), one of the IDs that should be ok is flagged as having outliers. If I run the report with a filter at the beginning to use just that one ID, the calculations all run correctly. The script didn't change, this ID didn't change (it has no new data this week) but in one case 2 rows are flagged as outliers incorrectly and in the other it runs fine. Anyone have any ideas?