Sitemap

Member-only story

The Date Wasn’t Wrong

4 min readAug 2, 2026

--

My Formula Was Just Showing Me the Truth.

There are spreadsheet problems that look complicated until you realize the spreadsheet has been doing exactly what you told it to do.

Press enter or click to view image in full size
Project Deadline

Minted Photo
https://rarible.com/token/0x60f80121c31a0d46b5279700f9df786054aa5ee5:871511:0x6209f64b9bf8244ef224a79ac527096df6cd9098?tab=details
Photo by Kevin Ku on Unsplash

This was one of those problems.

I was working with an "IFS()" formula that generated text based on different conditions. Part of the output needed to include a date from another cell.

The logic itself was straightforward.

Something along the lines of:

="Add STP " & G2

The expected result was something like:

Add STP 03/15/2023

Instead, the spreadsheet returned:

Add STP 45000

At first glance, it looked like a date-formatting problem.

It was actually a data representation problem.

The Spreadsheet Wasn't Actually Confused

The first instinct when seeing "45000" where a date should be is usually: “Why did my date turn into a number?”

The better question is: “What is the spreadsheet actually storing in that cell?”

Spreadsheets typically store dates as serial numbers.

--

--

Maria Eloisa Pedro
Maria Eloisa Pedro

Written by Maria Eloisa Pedro

Data Analyst Lead, land use planning practitioner, night-shift warrior, and currently someone navigating life with a brain arteriovenous malformation (AVM).