Back to IQAir AirVisual in Excel
SheetXAI logo
IQAir AirVisual logo
IQAir AirVisual · Excel Guide

Fetch 72-Hour AQI Forecasts for Venue Locations Into a Excel

2026-05-14
5 min read

The Scenario

Someone on the events team dropped a message in Slack at 4 PM: the air quality advisories for next weekend's outdoor festivals have not been drafted yet, and the venues span fifteen cities across three states. The advisories need to go to attendees by Thursday. You are the one with the workbook.

The bad version:

  • Open IQAir's forecast interface, search each venue city one at a time, screenshot or manually transcribe the three-day AQI projections, and paste them into the workbook.
  • Realize halfway through that the forecast display resets after you navigate away, so you have to re-search the ones you did not copy completely.
  • Spend twenty minutes trying to reconcile three different values for the same city because you pulled it at different times.

This is not analysis work. It is data entry that happens to involve weather data, and it needs to be accurate enough that a health advisory can be based on it.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent inside your Excel workbook. It reads the venue city list and pulls the IQAir AirVisual forecast data directly, landing the values in the columns you specify.

Look up the 72-hour air quality forecast for the 10 cities in my Venues tab and add a column showing the worst projected AQI and the date it peaks.

What You Get

  • A new column with the worst projected AQI across the 72-hour window for each venue city.
  • An adjacent column with the date that peak AQI is forecast to occur.
  • Venues where IQAir returns no forecast data get a flag in a status column rather than an ambiguous blank.

What If the Data Is Not Quite Ready

Some venue cities are listed by venue name rather than city name

Column A in my Venues worksheet has venue names like Madison Square Garden instead of city names. Use column B which has the full address to resolve each to the nearest IQAir city, then fetch the 72-hour forecast and write the worst projected AQI and peak date into new columns.

You need all three days of forecast values, not just the worst day

For every venue in my Events worksheet (city, state, country in columns A-C), fetch the 3-day AQI forecast from IQAir and write the forecast values and dates into columns D through J.

The advisory threshold varies by event type

For each venue in my Events worksheet, fetch the 3-day AQI forecast from IQAir and write the values into columns D through J. Then in column K, apply the advisory label: No Action if all three days are below 101, Caution if any day hits 101 through 150, and Advisory if any day exceeds 150.

Pull the forecast, apply thresholds, and draft the advisory text in one shot

Fetch the 3-day AQI forecast for every venue in my Events worksheet, write the daily values into columns D through J, and in column L generate a one-sentence advisory message for each venue based on the worst forecast day using plain language an event attendee would understand.

The power is combining the data pull with the conditional logic in a single instruction.

Try It

Get the 7-day free trial of SheetXAI and open the workbook with your venue list, then ask it to populate the forecast columns and apply your advisory thresholds. For related reads, see the spoke on bulk-fetching current AQI for a city list, or the hub overview on connecting IQAir AirVisual to Excel.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more