Integrating with older Excel versions using Web Queries.
For users of older Excel versions (e.g., Excel 2007, 2010, 2013) that might not fully support the WEBSERVICE
function, Excel Web Queries (`.iqy` files) provide a robust alternative for importing data directly from the API. This guide explains how to use these files to get holiday data into your spreadsheets.
You can download a prebuilt .iqy
file specifically designed to import holiday data from our API into Excel. This file automates the process of creating a Web Query.
Download: holidays.iqy
How to Use:
holidays.iqy
file to your computer.
Once the data is imported, you can use standard Excel formulas to work with the holidays. For instance, to check if a date (in cell A2
) is a holiday (assuming your imported holidays are in column D
):
=IF(ISNA(VLOOKUP(A2, D:D, 1, FALSE)), "Not a holiday", "Holiday")