Use Gemini in Google Sheets to build a Data Release Watch spreadsheet
For Economist (Private Sector / Consulting)s ·
What This Does
Data you depend on arrives on the agency's schedule, and a missed release means a stale series in a deliverable. This guide builds a small spreadsheet named Data Release Watch. A Releases tab holds one row per series with its next release date, and a flag column marks rows as DUE SOON, OVERDUE or MISSING DATE. A Summary tab counts and lists them. Gemini can set up the tabs and the dropdown. You paste the formulas from this guide and then test them on rows whose answers you know.
The sheet holds series codes, short agency names and dates only. The weekly release digest in a later guide in this series reads this same Summary tab, so keep the names and cell positions exactly as written.
Before You Start
- You use a native Google Sheet in a browser on a computer. Google's page says Gemini features work best with native Google Sheets files. For an Excel (.xlsx) file, choose File, then Save as Google Sheets first.
- Your plan includes it. Google's page says the feature requires an eligible Google Workspace or Google AI plan. The registry lists Business Standard ($14/user/month) as a Google Workspace starting point, but eligibility is Google's call. If Ask Gemini is missing, ask IT.
- You keep the sheet to codes and dates. Use your own short series codes and short agency names. Leave out client names, matter names, figures and anything you would not put in a shared tracker. The practice rows below are all invented, so you can build the whole sheet before any real entries go in.
- You get release dates from each agency's own published release calendar and type them in yourself. Gemini does not look them up, and a date it suggests is not a source.
Steps
1. Create the sheet and the Releases tab
Create a new Google Sheet and name it Data Release Watch. Rename the first tab Releases. Put these headers in row 1:
| A | B | C | D | E |
|---|---|---|---|---|
| Series code | Source | Next release date | Pulled | Flag |
Format column C as a date.
2. Open Gemini
At the top right of the sheet, click Ask Gemini. A side panel opens with suggested prompts and a prompt box at the bottom. Type a prompt and press Enter.
3. Ask for the Pulled dropdown
Google's page gives a dropdown prompt example, so word yours the same way:
Create a dropdown in D2:D301 with options 'yes' and 'no'.
Gemini shows an action preview card. Read it and then click Apply. If the dropdown lands in the wrong place, click Undo and rephrase. The page says that when you do not name a location, the dropdown goes into the rightmost empty column, so always name the range.
4. Paste the Flag formula
You can ask Gemini for this formula, but the page does not promise exact wording, so paste the version below. Click E2 and paste:
=IF(A2="","",IF(D2="yes","",IF(C2="","MISSING DATE",IF(C2<TODAY(),"OVERDUE",IF(C2-TODAY()<=Summary!$B$4,"DUE SOON","")))))
Fill it down to row 301. If you ask Gemini first, compare its formula with this one logic step at a time and use this one if they differ.
The formula checks in this order: a blank row stays blank, a pulled row stays blank, no date gives MISSING DATE, a past date gives OVERDUE, and a date within the look-ahead window gives DUE SOON. A date equal to today counts as DUE SOON, not OVERDUE. It will show an error until the Summary tab exists, which is the next step.
5. Build the Summary tab
Add a second tab and name it Summary. Type these cells exactly:
| Cell | Content |
|---|---|
| A1 | Key |
| B1 | Due Soon Count |
| C1 | Due Soon Series |
| D1 | Overdue Count |
| E1 | Overdue Series |
| F1 | Missing Date Count |
| A2 | summary |
| A4 | Look ahead (days) |
| B4 | 7 |
Then paste these formulas:
B2:
=COUNTIF(Releases!E2:E301,"DUE SOON")
C2:
=IFERROR(TEXTJOIN(", ",TRUE,FILTER(Releases!A2:A301&" ("&TEXT(Releases!C2:C301,"yyyy-mm-dd")&")",Releases!E2:E301="DUE SOON")),"none")
D2:
=COUNTIF(Releases!E2:E301,"OVERDUE")
E2:
=IFERROR(TEXTJOIN(", ",TRUE,FILTER(Releases!A2:A301&" ("&TEXT(Releases!C2:C301,"yyyy-mm-dd")&")",Releases!E2:E301="OVERDUE")),"none")
F2:
=COUNTIF(Releases!E2:E301,"MISSING DATE")
The word summary in A2 is the key the later digest looks up, and it must stay exactly that. B4 is the look-ahead window in days. Change it to suit how far ahead you want warning.
6. Test with rows whose answers you know
Enter these invented rows in Releases, with Pulled set as shown. Type the dates as formulas so the answers hold on any day you test. Real dates replace them in step 8.
| Row | Series code | Source | Next release date | Pulled | Expected Flag |
|---|---|---|---|---|---|
| 2 | S-01 | Agency A | =TODAY()+1 | no | DUE SOON |
| 3 | S-02 | Agency B | =TODAY()+7 | no | DUE SOON |
| 4 | S-03 | Agency A | =TODAY()+8 | no | blank |
| 5 | S-04 | Agency C | =TODAY()-3 | no | OVERDUE |
| 6 | S-05 | Agency B | =TODAY() | no | DUE SOON |
| 7 | S-06 | Agency C | =TODAY()-5 | yes | blank |
| 8 | S-07 | Agency A | leave empty | no | MISSING DATE |
Row 3 sits exactly on the boundary: 7 days ahead with a window of 7 is DUE SOON, and row 4 at 8 days is not. Row 7 is pulled, so it stays blank even though its date has passed. Rows 9 to 301 stay blank and are not counted.
On the Summary tab you should see B2 = 3, D2 = 1 and F2 = 1. C2 lists S-01, S-02 and S-05, in that order, each with its date. E2 lists S-04 with its date.
7. Cross-check against a fixed date
If today were Monday 2026-10-19 with the same rows, the dates would be 2026-10-20 (S-01), 2026-10-26 (S-02), 2026-10-27 (S-03), 2026-10-16 (S-04), 2026-10-19 (S-05), 2026-10-14 (S-06) and no date for S-07. The Summary would read:
| Cell | Expected value |
|---|---|
| B2 | 3 |
| C2 | S-01 (2026-10-20), S-02 (2026-10-26), S-05 (2026-10-19) |
| D2 | 1 |
| E2 | S-04 (2026-10-16) |
| F2 | 1 |
If a cell differs, fix the formula before you enter real series.
8. Replace the test rows with real series
Delete the test rows. For each real series, type the series code, the agency's short name and the next release date from the agency's own calendar. After you pull a release, type the following release date and set Pulled back to no.
Real Example
Scenario: You track a handful of public series for a project and want a warning a week ahead. You build the sheet in an afternoon and run the seven test rows.
What you type: The dropdown prompt from step 3, the formulas from steps 4 and 5, and the test rows from step 6.
What you get: A Summary tab that reports three series due soon, one overdue and one with no date. A week later you type the next dates for the series you pulled. The watch list stays small, so each flag is worth reading.
Tips
- Keep Calculation Mode on Automatic. In Sheets, go to File, then Settings, then Calculation. Google's calculation page lists only Automatic and Manual modes and describes TODAY as a function that changes each day. It names no scheduled recalculation. If the counts look stale, open the sheet first.
- Gemini's history disappears when you reload the page or reopen the sheet, per Google's page. Paste the formulas from this guide into the cells instead of relying on a chat.
- A date stored as text can flag oddly or break the comparison. If a row looks wrong, check that column C is formatted as a date.
- The weekly release digest in a later guide in this series reads the Summary tab. Do not rename the tab, the key
summaryor the headers.
Tool interfaces change. If a button has moved, look for similar Gemini or Ask Gemini options in the same menu area.