I work in a sales environment and our sales months always run from the 22nd through the 21st of the following month.
Agents use a sales tracker that shows their metrics and goals over the duration of the sales month. Each day is tracked on a seperate sheet in the workbook and each sheet calculates stats for its respective date; and a month to date sheet shows overall stats.
I have a seperate workbook that links back to the trackers of all of my agents and pulls entered data in realtime. The problem I have is that the tracker has been designed in such a way that the agent deletes the sheets corresponding to days they do not work(to allow for proper calculation of the month to date stats). Everything on my "2nd" workbook works great until it tries to pull from a date that has been deleted.
All of the agent trackers are stored on a sharepoint server and when the trackers are queried for updates they work fine, but if it queries for a non-existent date, none of the formulas will update and it tries to make me resolve the missing data first. If I am running both spreadsheets on my local PC i can get around the issue by using IFERROR before all the formulas. it works perfect, it just skips the bad data. but if I am trying to pull the info from the trackers when saved on sharepoint IFERROR does not seem to work.
I am at a loss at this point. I need to find a way to check if the sheet exists on the agents tracker before my workbook queries for it.
any ideas?
Bookmarks