Dates on Cards: Expiry and Birth Dates in a Spreadsheet
To get the right date on every card, keep the dates in your spreadsheet as text, typed exactly as they should print, such as 31/03/2027. Excel and Google Sheets store real dates as numbers and show them according to your settings, so a date can change, or swap its day and month, before it reaches us.
We print your file as it is. This guide shows how to keep dates as text in Microsoft Excel, Google Sheets and Apple Numbers, how to turn real dates into text, how to add a year for renewals, and how to check the file before you send it.
The short versionFormat the date column as Text before you type. Type each date the way it should print, with the year in full. If your dates are already real dates, turn them into text with a formula and paste the results as values into a column formatted as Text. Then check the CSV in Notepad or TextEdit, not in Excel.
Does the date need to be in your file?
Only when each card shows its own date, such as an expiry date for memberships that start at different times of year. A date that’s the same on every card is part of the design, and a card with no printed date needs nothing in the file.
| The card shows | For example | In your file |
|---|---|---|
| Each holder’s own date | Valid until 31/03/2027 | A date column, with one date in each row |
| The same date or season on every card | 2026/27 Season | Nothing: it’s part of the design |
| A write-on panel | Valid until: ________ | Nothing: the date is written on by hand at renewal |
| No date | A name and number only | Nothing: your software holds the date, and the card carries on after renewal |
Dates are one of the details that can change from card to card on our personalised plastic cards, along with names, numbers and barcodes, and they’re priced on your quote. Annual passes, membership cards and ID cards can each carry the holder’s own expiry date from your spreadsheet. Parking permits can show the year as part of the design instead, in a new colour each year.
Think about renewals before you choose. Printing a year on the card means new cards every season. If only your membership software holds the date, the same card carries on after renewal, as our guide to membership cards with barcodes explains. Members joining through the year? Our bureau personalisation service holds your printed cards and adds each new member’s details, an expiry date included, from an Excel file you email.
Dates of birth
Print only what the card needs. A home address or date of birth on a card that might be lost is personal data you’re responsible for under UK GDPR. Athletics clubs, for example, usually print the age group instead. Our guide to what to put on a membership card goes through each detail.
Why do spreadsheets change dates?
Because a spreadsheet doesn’t keep a date the way you typed it. It turns what you typed into a date value, and the date you see is that value shown in a format your settings choose.
In Excel and Google Sheets the value is a number. Microsoft says Excel stores dates as serial numbers, with 1 January 1900 as number 1, so 31/03/2027 is stored as 46477. Google Sheets counts the days since 30 December 1899. Apple says Numbers can take a value with a slash or a hyphen, such as 4/1/2014, as a date and give it a date and time format.
So a date can look right on your screen and still go wrong. Change the cell’s format to General and the number shows instead. Save a CSV from Excel and the file holds whatever each cell displays at that moment. Open the Excel file on a computer with other regional settings, and a date in a format marked with an asterisk (*) shows in that computer’s date format.
Not just datesExcel also reads codes such as 3-12 as dates: 3-12 becomes 03-Dec. Our guide to gift card codes in Excel or CSV covers codes and serial numbers.
Why do the day and the month swap round?
Because a date such as 01/04/2027 can be read two ways. A spreadsheet set to read the day first takes it as 1 April 2027, and one set to read the month first takes it as 4 January 2027. Which way it goes depends on the settings of the app or computer reading it, not on the file.
CSV files are where this bites. Microsoft says that when Excel opens a CSV, it reads each column using the current default data format settings, so dates written in another order can be misread. Only a date with a day of 12 or less can swap, so a column can look right at a glance and still hold swapped dates.
Each app takes the order from a different place.
In Excel
On Windows, Excel shows a date you type in the default date format set in Control Panel, and that format changes when the Control Panel setting does. In Windows 10 the setting is under Clock, Language and Region › Change date, time, or number formats. In Windows 11, search for Region settings, choose Administrative language settings, then on the Formats tab click Additional settings.
On a Mac, Microsoft’s help points to System Settings › General › Language & Region › Region for another language’s date format.
In Format Cells, the date formats that start with an asterisk (*) follow these settings, and the others don’t change. To show dates in another language’s format without changing the computer, choose Date and pick from the Locale (location) box.
In Google Sheets
Each spreadsheet has its own locale. Click File › Settings, choose from the Locale menu under General, then click Save settings. The locale sets the spreadsheet’s default date, number and currency formatting, and the change applies for everyone who works on it.
In Numbers
Each spreadsheet has a language and region, which decide whether dates show as day/month/year or month/day/year. To change them, choose File › Advanced › Language & Region, pick a language and a region, and click OK. Dates already in the table keep their order, and new ones follow the new setting. You can’t change it for a shared spreadsheet.
Text can’t swapA date kept as text in your spreadsheet is just characters, so no setting can turn it round. A CSV is plain text too, but Excel reads the dates in it afresh each time it opens the file, so check a CSV in Notepad or TextEdit, not in Excel.
How do I stop a spreadsheet changing my dates?
Format the date column as Text before you type anything in, then type each date exactly as it should print. In Excel, a date typed into a cell formatted as Text stays as text, so it can’t change or swap round.
That’s Microsoft’s own fix for Excel turning entries into dates, since it says the conversion itself can’t be switched off. Microsoft adds that a Text cell shows its content exactly as you typed it, so a date such as January 2010 stays in that form. In Excel, select the column and choose Text in the Number Format box on the Home tab, or press Ctrl+1 (Cmd+1 on a Mac), choose Text on the Number tab and click OK.
Our leading zeros guide shows how to format a column as text in Google Sheets and Numbers too. Google’s and Apple’s help don’t say whether a text format stops Google Sheets or Numbers turning a typed date into a date, so in those apps check that each date still shows exactly as you typed it, or type real dates and turn them into text with the formula in the next section.
Format the column before the dates go in. Formatting it afterwards won’t bring back a date that has already changed.
- Just the date. Words such as Valid until or Expires are part of the card design, so each cell holds only the date.
- One style for every row. 31/03/2027, 31 March 2027, 03/2027 or March 2027: whatever is in the cell is what prints, so a mix of styles prints as a mix.
- The year in full. Type 2027, not 27, unless the card should show two digits. Microsoft advises four-digit years so Excel doesn’t have to guess the century.
- No placeholders. “TBC” or “not sure” typed where a date goes is printed on the card.
- Just a few dates in Excel? Type an apostrophe first, as in '31/03/2027. Excel won’t turn the entry into a date, and the apostrophe doesn’t show in the cell.
My dates are already real dates. How do I turn them into text?
Use a formula that writes each date out as text, in the form it should print. Then paste the results into a column formatted as Text, as plain values, and delete the formula column and the old dates from the copy you send.
You’ll need this when the dates came from membership or booking software, or were typed before the column was set to Text. If they came in a CSV, check first that Excel read them the right way round: a date such as 01/04/2027 should be 1 April, not 4 January. The formula goes in a spare column with the ordinary format, not in the Text column: Microsoft says Excel doesn’t calculate a formula typed into a cell formatted as Text, and just shows the formula.
In Excel
- Format an empty column as Text and give it the heading your file uses, such as Valid until. It’s column E in the picture.
- In a spare column next to your dates, with the ordinary General format (D in the picture), click row 2 and type this formula, with C2 changed to your first date’s cell:
=TEXT(C2,"dd/mm/yyyy") - Double-click the small square at the bottom right of the cell. The formula fills down the column. Check it reached your last row.
- Copy the formula cells. Click the first cell of the Text column, then choose Home › Paste › Paste Special (Ctrl+Alt+V), pick Values and click OK. On a Mac, choose Home, then the arrow next to Paste, then Paste Values. Pasting values keeps the column’s own Text format.
- In the copy you send, delete the old date column and the formula column, so the file holds only what’s printed.
In Google Sheets
- Format an empty column as text and give it a heading, such as Valid until.
- In a spare column, click row 2 and type the same formula,
=TEXT(C2,"dd/mm/yyyy"), with C2 changed to your first date’s cell. - Select that cell and the cells below it, down to your last row, and press Ctrl+D (⌘+D on a Mac) to fill down.
- Copy the formula cells, click the first cell of the text column and choose Edit › Paste special › Values only, or press Ctrl+Shift+V (⌘+Shift+V on a Mac). Google says paste special works only within one spreadsheet, so keep both columns in the same one.
- In the copy you send, delete the old date column and the formula column.
In Numbers
Numbers has no TEXT function, so build the text from the date’s day, month and year. DAY, MONTH and YEAR give each part as a number. "0"& puts a zero in front, and RIGHT keeps the last two characters, so 3 becomes 03 and 31 stays 31. Then & joins the parts together.
=RIGHT("0"&DAY(C2),2)&
- Format an empty column as text and give it a heading, such as Valid until.
- In a spare column, click row 2 and type the formula above, with C2 changed to your first date’s cell. For 31 March 2027 it gives 31/03/2027.
- Select the cell, point at its edge until a yellow dot appears, and drag the dot down to your last row.
- Copy the formula cells, click the first cell of the text column and choose Edit › Paste Formula Results (Shift-Command-V).
- In the copy you send, delete the old date column and the formula column, then check that the new column shows each date the way it should print.
For another form, change the pattern in quotes: "d mmmm yyyy" gives 31 March 2027, "mm/yyyy" gives 03/2027 and "mmmm yyyy" gives March 2027.
How do I add a year to a date for renewals?
Use EDATE, which gives the date a set number of months after another date: =EDATE(B2,12) is the date a year after the one in B2. Excel, Google Sheets and Numbers all have it.
It suits memberships that start at different times of year: last year’s expiry date plus 12 months gives each member their own new date. So keep your own copy of the list with the real dates in it, and make the text column only in the copy you send us.
Microsoft’s help doesn’t say what EDATE gives when the new month has no such day, such as 29 February plus 12 months, so check any date at the end of a month.
EDATE gives a real date, so turn it into text before it goes in your file. In Excel and Google Sheets, one formula does both:
=TEXT(EDATE(B2,12),
In Excel
Type the formula in a spare column next to your dates, double-click the small square at the bottom right of the cell to fill it down and check it reached your last row, then paste the results into your Text column with Paste Special, Values, as in the section above. Microsoft warns that problems can occur if the starting dates are entered as text. Without TEXT, Excel may show EDATE’s result as a serial number, such as 46477, until the cell has a date format.
In Google Sheets
Type the formula in a spare column, fill it down with Ctrl+D (⌘+D on a Mac), then paste the results into your text column with Paste special, Values only. Google’s EDATE needs a start date in a cell holding a date, from a function that returns one, or as a date serial number.
In Numbers
Put =EDATE(B2,12) in a spare column and drag the yellow dot down to fill it. Numbers’ EDATE also accepts a date typed as text. Then turn the new column into text with the DAY, MONTH and YEAR formula in the section above, changing C2 to the new column’s first cell.
How do I check the dates before I send the file?
Save a CSV copy and open it in Notepad on Windows or TextEdit on a Mac. A plain text editor shows exactly what is in the file, so the dates you see there are the dates that will print.
Microsoft says a CSV saved from Excel holds what each cell displays, so a date that shows as a number goes into the file as that number.
In Excel
Click File › Save As (or Save a Copy) and choose CSV UTF-8 (Comma delimited) from the file type list. Excel saves only the sheet you’re on, and says so. You can send us the Excel file itself or the CSV: either is fine.
In Google Sheets
Click File › Download and choose a file type: Excel or CSV. Send us whichever you download.
In Numbers
Choose File › Export To › Excel or CSV. For a CSV, leave Include table names unticked. Click Save, choose where to save it and click Export. Send us whichever you export.
Not in ExcelDon’t open the CSV in Excel to check it. Excel reads the dates with its own settings as it opens the file, and if you then save it, the file keeps whatever Excel changed.
Before you send
- One style: every date is written the same way, as it should print.
- Full years: 2027, not 27, unless the card shows two digits.
- Dates, not placeholders: no “TBC”, “not sure” or numbers like 46538 where a date should be.
- No formulas: the formula column and the old dates are deleted, and nothing is left that isn’t printed.
- One row per card: the headings in row 1, and the first card in row 2.
Attach the file to an email to sales@cpcards.co.uk, even for one card. We print it as it is and don’t edit data files. Our free artwork check covers bleed, resolution, colour mode and file set-up, not wording, so look at how the dates are written on your free email proof before you approve it. The proof shows a sample card, not every date, so check the dates in the file yourself. You can send a corrected file until you approve your proof, but once the proof is approved, no changes can be made. Our guide to checking a card data file covers the rest: duplicates, hidden rows, blank rows and stray spaces.
Questions & Answers
-
Why does Excel keep changing my dates?
Excel reads anything that looks like a date as a date. It stores it as a number and shows it in a format your settings choose, and Microsoft says this can’t be switched off. Format the column as Text before you type, or type an apostrophe first, as in '31/03/2027, and Excel leaves the date as you typed it.
-
How do I show dates as day/month/year in Excel?
Select the cells, press Ctrl+1 (Cmd+1 on a Mac), choose Date on the Number tab and pick a format from the Type list, or choose Custom and type dd/mm/yyyy in the Type box. For a file you send us, go one step further: turn the dates into text with
=TEXT(C2,"dd/mm/yyyy")in a spare column, then paste the results as values into a column formatted as Text, so they’re plain text. -
How do I stop 03/27 turning into a date?
In Excel, format the column as Text before you type it, which is Microsoft’s own fix, or type an apostrophe first, '03/27; the apostrophe won’t show in the cell. In Google Sheets and Numbers, format the column as text first too, then check the entry still shows as typed. Formatting the column afterwards won’t change an entry back, so if it has already turned into a date, type it again in a column formatted as Text.
-
How do I add a year to a date for renewals?
Use EDATE, which Excel, Google Sheets and Numbers all have:
=EDATE(B2,12)gives the date 12 months after the one in B2. In Excel and Google Sheets,=TEXT(EDATE(B2,12),gives the new date as text, ready to paste into your file as a value. In Numbers, turn the result into text with DAY, MONTH and YEAR. Start from real dates: Google Sheets needs them, and Microsoft warns of problems with dates entered as text."dd/mm/yyyy") -
Will the date print exactly as it is in my file?
Yes, if the date is stored as text. We print the file as it is and don’t edit data files, so a date typed as text prints exactly as typed, mistakes and all: “TBC” in place of a date prints as TBC. A real date can show in another format on another computer, so keep every date as text, check the CSV in Notepad or TextEdit, and check how the dates look on your free email proof.
-
Should the expiry date be printed on the card?
Print one if the card has to show when it runs out. Each holder’s own date comes from your spreadsheet, and a date or season that’s the same on every card, such as 2026/27 Season, goes in the design. Any printed date or year means new cards when it runs out. A card checked against your membership software, or one with a write-on panel filled in at renewal, can carry on.
-
Should I put dates of birth on the cards?
Only if the card really needs one. A card can be lost, and a date of birth on it is personal data you’re responsible for under UK GDPR, so keep it in your records instead. Athletics clubs, for example, usually print the age group. If a date of birth must print, type it as text with the year in full.
-
Why do my dates change when I open a CSV in Excel?
Microsoft says that when Excel opens a CSV, it reads each column using the current default data format settings, so dates written in another order can be misread. Renaming the file from .csv to .txt before you open it starts Excel’s Import Text Wizard, which gives more control, and so does Data › From Text/CSV. To check a CSV, open it in Notepad or TextEdit instead, and don’t save it again from Excel.
-
Where can I get cards with expiry dates printed in the UK?
CP Cards supplies membership cards, annual passes and ID cards printed in England, from 25 cards, with each holder’s own expiry date from your spreadsheet. Every order gets a free email proof showing where the dates sit before anything is printed. Email sales@cpcards.co.uk or use our quote form.
Not sure how to set out your dates?
Ask us before you order. Tell us what the cards are for and how the dates should look on them.
Email sales@cpcards.co.uk. We often reply within minutes, 9am to 5pm, Monday to Friday.

