All articles

Files and formats

A council's Excel file hid personal data on 6,528 people

Published · 7 min read

A council answered a freedom of information request with an Excel file that held hidden personal data. What the regulator found, and a seven-step release routine with a second person who checks and signs off.

The spreadsheet that answered the request looked like a summary. The file also held hidden personal data about thousands of people, and it stayed on two public websites for almost two years.

What happened at Hammersmith and Fulham?

In October 2021, a person sent a freedom of information request to the London Borough of Hammersmith and Fulham through WhatDoTheyKnow, a website that sends such requests to public bodies and publishes the replies. A freedom of information request asks a public body to release information it holds.

The council replied, and the reply was published on the council's website and on WhatDoTheyKnow. The regulator, the Information Commissioner's Office (ICO), says the reply "included an Excel spreadsheet which contained 35 hidden workbooks". The ICO's news item and enforcement page do not say how the data was hidden, so this guide does not say either.

In November 2023, WhatDoTheyKnow told the council that the reply included personal information. The ICO says 6,528 people were affected, 2,342 of them children, and 96 of the children were unaccompanied asylum-seeking children. The ICO says the information was immediately removed from both sites.

The ICO says there was no evidence that the data had been inappropriately accessed or used. Being on a public website and being accessed are different facts, and the ICO reported the first without finding the second.

The ICO reprimanded the council on 16 May 2025. Its recommendations include that the council:

  • Consider using the ICO's sign-off checklist when it releases information that contains Excel spreadsheets.
  • Consider having a manager sign off all material prepared for disclosure.
  • Review and update its online training and guidance, and keep it in front of staff.

Where can a workbook hold more than you can see?

A workbook can hold hidden sheets, rows and columns, comments, document properties, and the stored data behind a summary table. Not every workbook has all of these, and the ICO's summary does not say which were in this one. Hidden data in Excel files lists each place and how to check it. This guide does not repeat that list.

Hiding changes what you see on the screen. It does not remove anything from the file. The ICO's guidance lists hiding rows, columns or worksheets among the techniques that do not work, because a recipient can unhide them.

What release routine do the ICO's recommendations point to?

The ICO's recommendations point to a routine in which more than one person looks at a file before it leaves. These seven steps follow that idea.

  1. Save a copy of the workbook, and work on the copy. The original stays as it was.
  2. Write down in one sentence what the recipient needs. If the request asks for counts, the recipient needs counts.
  3. Delete everything else from the copy: rows, columns, sheets and the data behind summary tables. Deleting removes it from the copy. Hiding does not.
  4. Check what travels with the file: hidden sheets, summary tables and their stored data, comments, formulas, links to other files, and document properties. How to release a spreadsheet without hidden personal data gives the checks.
  5. Copy the values the recipient needs into a plain file, such as a CSV file. The ICO lists converting a spreadsheet to a simpler format among the steps you could take, and GOV.UK says a CSV export holds all the information in the current tab, including hidden rows and columns. Open the CSV in a text editor to see what it holds.
  6. Reopen the final file in a different program, the way the recipient would, and ask a second person to look at every sheet. Give the reviewer a different question from the author's: what is in this file that the request did not ask for?
  7. Pass the file through your organization's disclosure process, and keep a record of who checked it and when.

What does this look like with an invented example?

A city youth service receives a request for the number of young people it supported in each area in 2026. The workbook, which is invented, is called "Youth service summary". Its first sheet shows six areas with a count each. A hidden sheet called "Cases" holds 530 rows with names, dates of birth, postal codes and the kind of support given. The counts on the first sheet are formulas that read the Cases sheet.

The officer follows the routine. The officer copies the six areas and counts as values into a new file and saves it as a CSV file, which drops the formulas and the link to the Cases sheet. The CSV file is not the workbook, and the Cases sheet is not in it.

The reviewer opens the CSV in a text editor and sees seven lines: a heading and six areas. The reviewer notes that the smallest count is 2 and asks the officer whether that could point to a household. The record reads: "Checked 27 November by A. Reviewer: seven lines, no names, smallest count 2, decision on small counts taken."

Deleting a name does not stop a table from pointing at people, because a count of two in a small area can still point to a household. Why removing names is not enough shows how to count how many people share each combination of values.

How can DataAttendant help?

DataAttendant helps with the part of a release that sits in the cells. After you have made a release copy with only what the recipient needs, DataAttendant can review it for values that identify people, such as names, email addresses and ID numbers, including those inside the sentences of a free-text column. It runs in your web browser, on your own computer, and your file is not sent to DataAttendant. It opens a CSV, Excel, JSON, or XML file and proposes a treatment for each value it finds, which you accept, reject or change before you download the protected copy. For an Excel file it reads every worksheet, including hidden ones, and lists the parts of a workbook that it cannot check value by value. What it does with Excel workbooks and card numbers lists each case.

Try DataAttendant

If a colleague is about to publish a spreadsheet, send them this page.

Sources

  • Information Commissioner's Office, "London council reprimanded for exposing personal details of 6,528 people for almost two years", news item, 21 May 2025, ico.org.uk. Read 27 November 2026.
  • Information Commissioner's Office, enforcement action "London Borough of Hammersmith and Fulham", 16 May 2025, ico.org.uk. Read 27 November 2026.
  • Information Commissioner's Office, "Checklist: How do we avoid an accidental breach when personal information is hidden in spreadsheets", and its guidance on disclosing documents to the public (hidden personal information and how to avoid an accidental breach). Read 27 November 2026.
  • GOV.UK, "Creating and sharing spreadsheets", Government Digital Service and Central Digital and Data Office. Read 27 November 2026.
  • The youth service workbook in the example is invented.

Where next?