Hello Everyone,
Here's the background: I have a dashboard where the user pastes information from an online-generated excel report. They paste the entire sheet into the designated tab in the dashboard and then appropriate formulas manipulate the data as needed.
Recently we had a problem with the online report changing columns/rows. So I did a manual find&replace to update the formulas appropriately. I'm trying to future-proof this system against further potential changes in the online report and I've done a pretty good job with one exception.
When the data is pasted, the first 8 rows are garbage information or blank. I use the following macro to remove these rows:
I use the following formula to pull the relevant columns into a sheet that I can then use for pivot tables:
Where the C1 matches the column the formulas are in. Note: I tried index-match and it did not work in this instance (pasting new data and trimming it resulted in #Ref errors).
Now the reason for this thread is every time Trim is run, the A1:T8000 reduces (you can see now its at 7984).
Is there any way to prevent this? Or should I just avoid the trim macro because in truth I'm not sure its entirely necessary.
Thoughts?
Thanks all!
Bookmarks