Open a fresh copy of the sheet (don’t try to open the shared one! - download your own copy first) → Done, I’ve downloaded the file (1.6) from the Google Drive to a local copy, without even opening it online.
Dismiss the two errors → Done. I do also get another error about “Privacy levels”. I’ve read elsewhere on the forum to click “Ignore Privacy Levels check”, which I did
I’m also running Office 365 and it all works.
The error message may indicate that the resource is forbidden from where you’re trying to access it??
Try this:
Data/Get Data/ Data Source Settings / Global Permissions / Clear all permissions. Then click on Refresh
I found a few bugs in “Intervals_API_Tools_Office365_v1.6.xlsx” and came up with fixes for them. Hopefully this is the best spot for that.
Error importing via the API:
This was mentioned above but the number of columns for the two imported csv has changed. Currently in the Power Query Editor on the Source step the Columns should be set to 86 for activities and 42 for wellness.
Calendar week doesn’t rollover after 52
If you set the start date to something late in the previous year (e.g. 12/22/2025) the calendar week doesn’t start over at 1 with the new year. Fix this by setting cell F9=MOD(E9,52)+1 and copying this to cells F9:BD9. (note: cell E9 should not be changed.)
Hours/TSS not calculated correctly for Calendar Week 1
Fix (for the TSS row, fix for the Hours row is the same): Set E20=IFERROR(IF(E7=“Pa”,IF(E9<10,VLOOKUP(YEAR(E$5+6)&“-0”&E$9,Lookup!$B$2:$F$50000,5,FALSE),VLOOKUP(YEAR(E$5+6)&“-”&E$9,Lookup!$B$2:$F$50000,5,FALSE)),E15),E15).
Copy this for the entire row. The change is the “YEAR(E$5+6)”. For ISO Week 1 “YEAR(E$5)” will evaluate to the previous year (i.e. for 12/29/2025 the VLOOKUP will look up for the WeekNum “2025-01”). Adding 6 to date in E5 ensures it gets evaluated with the new year. (note: this is a slightly crude fix and can cause weird behavior if the start date is not a Monday as prescribed).
I’m no longer maintaining/updating this file because just about everyone uses the MatLab version known as ‘ImReady4’.
You’re free to grab your own copy of it, address the issues and share it.