35 years' experience and customer care, printing since 1992
all our plastic cards are proudly printed in England Proudly printed in England all our plastic cards are proudly printed in England
Tel 01948 411 867 Email: sales@cpcards.co.uk We often reply within minutes 9-5 Mon-Fri

How to Check a Card Data File Before You Send It

Check your card data file before you send it, because we print it as it is. Look for hidden rows and sheets, blank rows, duplicates, formulas, stray spaces, misspelt names and anything that shouldn’t be printed, then make sure there’s one row for each card.

Each row becomes one card, and everything in the file is printed. Our artwork check is technical and doesn’t cover names or spelling, we don’t edit data files, and once you approve your proof, no changes can be made. Every check below has steps for Microsoft Excel, Google Sheets and Apple Numbers.

A made-up club’s file with four faults: a blank row, 100428 twice, a space before Tom Hughes (the dot) and a Paid? column, so the card for Siân Jones would print 100428 and Yes. Fixed, row 4 prints Siân Jones, 100429.

The short versionOne sheet, one row for each card, headings in row 1. Show every hidden row, column and sheet, delete blank rows, paste formulas as values, trim stray spaces, highlight duplicates, check the spelling and the longest names, take out anything that isn’t printed and count the rows. Then keep a copy, send the file and check your proof.

Which mistakes in a data file waste cards?

Any mistake in the file ends up on a card, because everything in it is printed as it is. Here’s what each one prints. Each fault links to the check that finds it.

What each fault prints
In the fileOn the cards
A hidden row, column or sheetDetails you couldn’t see when you checked the file
A blank rowA card with no name on it
“TBC” or “not sure” in a cellThe words, printed as typed
A formulaThe formula itself, not its result
A space before, after or inside a nameThe name, stray space and all
The same number or code on two rowsTwo cards carrying one number
A misspelt nameThe misspelling: we don’t edit data files
A column kept for your own recordsThat column, on every card
Columns in a new order (bureau files)Details in the wrong places
Zeros lost from the start of a numberThe number without them: 000101 as 101

Our terms make the file your responsibility, and cards wasted by hidden information, or by a bureau file laid out differently from the last, aren’t replaced free of charge. The checks are the same for every personalised card: membership cards, ID cards, numbered gift cards and event passes.

Is everything on one sheet?

It needs to be: one file, one worksheet, every card on it. Our Excel file guidelines ask for that. If you save a CSV, Microsoft says Excel saves only the current sheet, so cards on any other sheet would be left out.

In Excel

  1. Look along the sheet tabs at the bottom of the window. All the cards should be on one sheet.
  2. Right-click any sheet tab and choose Unhide. If a sheet is hidden, it’s listed there: pick it and select OK.
  3. Move any cards you find onto your main sheet, and take the other sheets out of the copy you send.

Microsoft notes that a sheet a macro has made “very hidden” doesn’t appear in the Unhide list. If a sheet seems to be missing and Unhide doesn’t list it, copy the card list into a new, empty workbook and send that.

In Google Sheets

  1. Keep the card list on one sheet tab.
  2. Open the View menu: a hidden sheet is shown again from there. Google says the option is greyed out when no sheet is hidden.

In Numbers

  1. A Numbers spreadsheet can have several sheets, and Apple says a sheet can hold as many tables as you want. Keep the cards in one table on one sheet.
  2. Click the arrow on the right of a sheet tab: it lists the tables on that sheet.
  3. In Numbers 15.3 or later, the same arrow menu has Unhide, then Unhide All Sheets, if any sheet is hidden.
  4. Before you export, delete every other sheet and table from the copy you send, so the card table is all that’s left.
  5. When you export to Excel, Numbers asks whether to make a worksheet for each table or for each sheet. With one table on one sheet you get one worksheet, as long as you leave out the summary worksheet it offers.

How do I find hidden rows and columns?

Look at the row numbers and column letters. Excel marks hidden rows or columns with a double line between two of them, Google Sheets with an arrow, and Numbers with a grey bar. Show them all before you check anything else, because hidden data is still part of the file.

In Excel, the double line between rows 4 and 6 shows that row 5 is hidden. Select the row numbers from 4 to 6, right-click them and choose Unhide, and Tom Hughes is back.

In Excel

  1. Select the rows either side of the double line, right-click the selected rows and choose Unhide. Or double-click the double line itself. Columns work the same way.
  2. To show every hidden row and column at once on Windows, click the Select All button, the square above row 1 and left of column A. Then choose Home > Format > Hide & Unhide > Unhide Rows, and again for Unhide Columns.
  3. On a Mac, press Cmd+A to select everything, then Shift+Cmd+( to unhide rows and Shift+Cmd+) to unhide columns.
  4. Check for a filter, which hides rows too. A filter button in a column heading, in place of the plain arrow, means that column is filtered. Choose Data > Clear to show every row again (on a Mac, select the filtered columns and choose Data > Filter).

In Google Sheets

  1. Look for an arrow where a row number or column letter is missing. Click it and the hidden row or column comes back.
  2. If the sheet has a filter, choose Data > Remove filter so every row shows. While a filter is on, the bottom right of the window shows how many rows are displayed out of the total.

In Numbers

  1. Look for a grey bar between the row numbers or column letters. It marks hidden rows or columns.
  2. Click the table, then choose Table > Unhide All Rows, and Table > Unhide All Columns.
  3. Filters hide rows too. Click Organise in the toolbar, open the Filter tab and turn the filters off.

ThenDelete any rows or columns you don’t want printed, rather than hiding them again.

How do I find blank rows and empty cells?

Find them with Go To Special or a filter in Excel, a COUNTBLANK formula and a highlighting rule in Google Sheets, or a sort in Numbers. A blank row prints a card with no name on it, and an empty cell prints a card without that detail. If a detail isn’t known yet, leave its cell empty rather than typing “TBC” or “not sure”, which are printed as typed. Dates have traps of their own: see our guide to dates on cards.

In Excel

  1. Select your data first. With just one cell selected, the next step searches the whole sheet.
  2. On Windows, choose Home > Find & Select > Go To Special (or press Ctrl+G and select Special). Choose Blanks and select OK: every empty cell in your data is selected.
  3. On Windows or a Mac, a filter finds them too. Choose Data > Filter and open a column’s arrow. (Blanks) appears at the bottom of the list only when that column has an empty cell. Clear (Select All) and tick (Blanks) to see just those rows.
  4. Delete only the rows that are empty all the way across, fill in any details you have in the others, then turn the filter off.

In Google Sheets

  1. In a spare cell, type this, changing the range to the cells your cards fill:

    =COUNTBLANK(A2:B101)

  2. It counts the empty cells in that range. If it isn’t 0, highlight them: select the same cells, choose Format > Conditional formatting, then under Format cells if choose Custom formula is. Type this rule, written for the first cell (A2):

    =ISBLANK(A2)

  3. Choose a highlight and click Done. Delete the rows that are empty all the way across, fill in what you know, and leave a cell empty only where that card should print without it. Then delete the COUNTBLANK formula.

In Numbers

  1. Apple’s guide doesn’t name a filter or highlighting rule for blank cells, so sort instead. Point at a column letter, click the arrow and choose Sort Ascending.
  2. Numbers puts blank cells at the bottom of the column, and it moves whole rows, so each card’s details stay together. Look at the last rows of the table.
  3. Do the same for each column, then sort by the column you want the cards in, such as the member number.

A cell holding a single space looks empty but isn’t. The LEN check shows it as 1.

How do I turn formulas into plain values?

Copy the cells and paste them back over themselves as values. A formula left in the file is printed as the formula, not its result, and our terms ask for data files with no formulas in the cells. In Excel, a formula typed into a cell formatted as Text isn’t calculated at all: the cell shows the formula itself.

Formulas also change. A RANDBETWEEN formula makes new codes every time the sheet recalculates, so the codes you send and the copy you keep would no longer match. Making gift card codes? Our guide to gift card codes in Excel or CSV covers them.

In Excel, Show Formulas reveals that rows 3 to 5 hold =B2+1 and the like. Copied and pasted back as values, they hold plain numbers, 100428 to 100430.

In Excel

  1. Choose Formulas > Show Formulas, or press Ctrl+` on Windows or a Mac. On Windows, Microsoft says the ` key is usually next to the 1 key. On a Mac, it says shortcuts can vary with your keyboard layout and language settings. Each cell that holds a formula now shows it. Do the same again to switch back.
  2. On Windows, Home > Find & Select > Go To Special > Formulas selects every cell that holds one.
  3. Click the letter of a column that holds formulas and copy it (Ctrl+C, or Cmd+C on a Mac). With it still selected, choose Home > Paste > Values, or press Ctrl+Alt+V and choose Values. On a Mac, choose Home, the arrow next to Paste, then Paste Values. Do the same for each column with formulas.
  4. Switch Show Formulas off before you save a CSV. Microsoft says that if formulas are showing when you save, the formula text is saved instead of the results.

In Google Sheets

  1. Press Ctrl+~ to show all formulas. Google gives the same keys for a Mac: Ctrl, not ⌘.
  2. Copy the formula cells and, with them still selected, choose Edit > Paste special > Values only, or press Ctrl+Shift+V (⌘+Shift+V on a Mac).

In Numbers

  1. Click a cell. If it holds a formula, the Smart Cell View at the bottom of the window shows it. Apple’s guide has no view that shows every formula at once.
  2. So copy the whole column (Edit > Copy), keep it selected and choose Edit > Paste Formula Results (Shift-Command-V). Then click a few cells: the Smart Cell View should show no formula.

How do I remove extra spaces?

Use TRIM in Excel or Numbers, or Data > Data cleanup > Trim whitespace in Google Sheets. Each takes out the spaces before and after the text and cuts double spaces between words to one. Stray spaces are printed with the name, and Microsoft notes that they can make COUNTIF give unexpected counts, so trim before you look for duplicates.

Text copied from a web page can hold non-breaking spaces. TRIM in Excel and Google Sheets doesn’t remove them, and nor does Trim whitespace. The LEN check below shows any that are left: retype those names.

In Google Sheets, three names have stray spaces: one before Amy Patel, two between Ben and Okafor, and one after Siân Jones (shown as dots). Select the names and choose Data, Data cleanup, Trim whitespace, and all three are trimmed.

In Excel

  1. In the first empty column after your data, one that isn’t formatted as Text (Excel doesn’t calculate a formula in a Text cell), type this in row 2, using the cell that holds the first name on your list (A2 here):

    =TRIM(A2)

    Or use =TRIM(CLEAN(A2)), which also removes the first 32 non-printing characters (codes 0 to 31).
  2. Double-click the fill handle, the small square at the bottom right of the cell, to fill the formula down.
  3. Copy the trimmed names from row 2 down, click the first name (A2) and paste them as values (Home > Paste > Values; on a Mac, the arrow next to Paste, then Paste Values). Then delete the spare column.

In Google Sheets

  1. Select the names, or the whole card list.
  2. Choose Data > Data cleanup > Trim whitespace. The spaces go from the cells themselves, with no formula to tidy up.

In Numbers

  1. In a spare column, type =TRIM(A2) in row 2. =TRIM(CLEAN(A2)) also removes the most common non-printing characters.
  2. Select the cell, point at its border until the yellow dot appears, and drag the dot down the column.
  3. Copy the trimmed names from row 2 down, click the first name (A2) and choose Edit > Paste Formula Results. Then delete the spare column.

Capitals, name order and accents are covered in our guide to tidying a name list for cards.

How do I find duplicates in a card list?

Highlight them. Excel has a Duplicate Values rule, Google Sheets does the same with a COUNTIF formula, and in Numbers a COUNTIF column counts how often each value appears. Check every column that must be different on each card, such as member numbers and codes. Two members can share a name, so look at repeated names by eye.

In Excel: select the member numbers, then Home, Conditional Formatting, Highlight Cells Rules, Duplicate Values. Both cells holding 100428 light up, and nothing in the data changes.

In Excel

  1. Select the column, for example the member numbers in column B.
  2. Choose Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values.
  3. Pick a highlight from the list next to values with and select OK. On a Mac, choose duplicate next to values in the selected range.
  4. Every value that appears more than once is highlighted. Nothing in your data changes, so correct each repeat by hand.

Excel also has Data > Remove Duplicates, but it deletes for good, and it removes the whole row when the columns you tick match another row. Tick only a name column and it would delete different people who share a name. If you use it, Microsoft advises copying your data to another sheet first.

In Google Sheets

  1. Select the member numbers, for example B2:B101.
  2. Choose Format > Conditional formatting. Under Format cells if, choose Custom formula is.
  3. Type the rule, written for the first row of your selection:

    =COUNTIF($B$2:$B$101,B2)>1

  4. Choose a highlight and click Done. COUNTIF ignores capitals, so codes that differ only in capitals are highlighted too.

In Numbers

  1. Apple’s guide has no duplicate highlighting rule, so use a spare column. In row 2, type this, where B is your member number column:

    =COUNTIF(B,B2)

  2. Drag the yellow dot down the column. Each row shows how many times its number appears: anything above 1 is a repeat.
  3. Correct the repeats, then delete the spare column.

Barcode values and QR links need the same check. Our guide to barcode and QR code lists covers what else to look for in them.

How do I check the spelling and the longest names?

Run the spell check, then read each name against the form or list it came from: we don’t edit data files, so a misspelt name is printed as it is. Then find your longest names, because the space for names on the card has to suit the longest one, not the average.

In Excel

  1. Click one cell, then choose Review > Proofing > Spelling, or press F7. On a Mac, choose Review > Spelling, or press F7.
  2. With one cell selected, Excel checks the whole sheet. If it finds nothing, the Spelling box doesn’t open at all.

In Google Sheets

  1. Read each name against the form or list it came from. A spell check can’t tell you whether a name is spelt the way that person spells it.

In Numbers

  1. Choose Edit > Spelling and Grammar > Check Document Now. The first spelling error is highlighted.
  2. Press Command-; to jump to the next one.

Find the longest names

Click row 2 of the first empty column after your data (in Excel, one that isn’t formatted as Text) and type this:

=LEN(A2)

It works the same in all three apps. Fill it down to your last name, as in the TRIM steps above. In Google Sheets, select the cell and the cells below it and press Ctrl+D (⌘+D on a Mac). LEN counts every character, spaces included, so the biggest numbers are your longest names.

Sort the list by that column, smallest first, and the longest names end up in the last rows. Our guide to numbering a card list shows how to sort without parting names from their numbers. Note the longest names. Your proof shows a sample card, not every name: if we spot a particularly long name in your file, we use it on the proof so you can see it fits. Then sort the list back into card order, for example by member number, and delete the LEN column.

In Numbers, =LEN(A2) filled down column C counts each name’s characters, spaces included. The longest is Margaret O’Neill, 16, and the 11 for Priya Shah gives away a hidden character, shown as a dot.

LEN also finds hidden characters. A name whose length is higher than the letters and spaces you can count still has something hiding in it, such as a space after the last letter. Retype it.

What should a card data file hold?

Only what’s printed: one row for each card, one column for each detail that changes, and headings in row 1. Everything in the file is printed, so take out anything else before you send it.

  • Columns for your own records. A Paid? column, email addresses and notes stay in your own copy, not the one you send.
  • Wording that’s the same on every card. “Member no.” or “Expires” belongs in the design, and only what changes goes in the file. Our guide to personalised plastic cards shows how a file and a design fit together.
  • Details the card doesn’t need. 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. See what to put on a membership card.
  • The same layout as last time. Keep the same columns in the same order every time. With our bureau personalisation service, a file laid out differently from your first prints details in the wrong places and wastes cards from your stock. Start each new file from a copy of the last one: keep its heading row and delete the old rows before you add the new ones.

How many rows should the file have?

One for each card, plus the heading row. For 100 cards, the headings are in row 1 and the cards run from row 2 to row 101, so the last row number is your card total plus one.

In Excel, clicking the letter of the name column shows Count: 101 on the status bar. With the heading in row 1, that’s 100 cards, member numbers 100427 to 100526.

In Excel

  1. Click the letter at the top of your name column. Count on the status bar, at the bottom of the window, shows how many cells in that column hold data, the heading included.
  2. It should be your card total plus one, the same as the last row number. If it’s lower, that column has an empty cell somewhere. Count is on by default: right-click the status bar to choose what it shows.

In Google Sheets

  1. Check the row number of your last card: 101 for 100 cards.
  2. The COUNTBLANK check confirms there are no gaps above it.

In Numbers

  1. Select the names, not the heading. The quick calculations at the bottom of the window can include a count: Apple’s guide shows COUNTA there.
  2. If there’s no count, click the Gear icon beside the calculations to add one. It should match your number of cards.

In Excel and Google Sheets, take one off for the heading row. In Numbers, the count of the names is already the number of cards. That number should match the number of cards on your order. If it doesn’t, find out why before you send the file.

Is your file ready to send?

It is when every line below is true.

  • One sheet: every card on one worksheet (one table in Numbers), nothing hidden and no filter on.
  • No gaps: no blank rows, and no “TBC” or “not sure” anywhere.
  • No formulas: everything pasted back as values.
  • No stray spaces: names trimmed, and any odd lengths retyped.
  • No repeats: no number or code on two rows.
  • Names checked: spelling read against your list, and the longest names noted for the proof.
  • Only what’s printed: no records columns, in the same layout as last time.
  • The right count: one row for each card, plus the heading row.

How do I save and send the file?

Save it as an Excel file or a CSV, keep a copy, and attach it to an email to sales@cpcards.co.uk, even for one card. Don’t type the details into the email itself. For our bureau personalisation service, send an Excel file.

  • Excel: save it as an Excel workbook (.xlsx, or the older .xls), or as a CSV.
  • Google Sheets: choose File > Download and pick Excel or CSV as the file type. Attach the downloaded file, not a link to the sheet.
  • Numbers: choose File > Export To > Excel or CSV, then attach the exported file. Numbers exports Excel files as .xlsx.

Should any numbers start with zeros? Look at them in the sheet now: 000101 showing as 101 has lost its zeros. Formatting the column as Text afterwards won’t bring them back, so format it as Text, then type or paste those numbers in again.

Saving a CSV? Format the columns as Text before the data goes in, check the CSV in Notepad or TextEdit rather than a spreadsheet app, and never open it in Excel and save it again. Our guide to keeping leading zeros in a CSV file shows each step.

Keep a copy of the file exactly as you sent it: it’s your record of which card carries which number. If you spot a mistake after sending it, you can send a corrected file until you approve your proof. Once the proof is approved, no changes can be made, so do every check on this page first. A file for our bureau personalisation service can’t be recalled once it’s sent.

Then check your proof

Every order comes with a free email proof showing where the names and numbers sit, so you can check the layout and wording before anything is printed. The proof shows a sample card, not every name and number in your file. If we spot a particularly long name, we use it on the proof so you can see it fits. Check which side they’re on and where, their font and size, and how the numbers look. The colours on the proof are a guide only. Nothing is printed until you’ve approved the proof in writing and paid.

When the cards arrive, check them straight away. Our terms ask you to tell us in writing within 24 hours of delivery if any personalisation is missing or wrong.

Questions & Answers

  • Do you check my spreadsheet before printing?

    No. We print your file as it is. Our free artwork check is technical: it covers bleed, resolution, colour mode and file set-up, not wording or spelling, and we don’t edit customers’ data files. Check the file before you send it, then check the layout on your free email proof before you approve it.

  • Can I fix a mistake after I’ve sent the file?

    Yes, until you approve your proof: send us the corrected file, laid out the same way. Once the proof is approved, no changes can be made. A file for our bureau personalisation service is different: it can’t be recalled once it’s sent, so check every file before it goes.

  • How do I find duplicates in Excel, Google Sheets or Numbers?

    In Excel, select the column and choose Home, Conditional Formatting, Highlight Cells Rules, Duplicate Values. In Google Sheets, select the numbers (for example B2:B101), choose Format, Conditional formatting, then Custom formula is, and enter =COUNTIF($B$2:$B$101,B2)>1. Apple’s Numbers guide has no duplicate highlighting rule, so type =COUNTIF(B,B2) in a spare column and fill it down: any result above 1 is a repeat.

  • How do I find hidden rows and columns?

    Look at the row numbers and column letters. Excel marks hidden rows with a double line, Google Sheets with an arrow and Numbers with a grey bar. In Excel, select the rows either side, right-click and choose Unhide. In Google Sheets, click the arrow. In Numbers, choose Table, Unhide All Rows. Filters hide rows too, so turn off any filter as well.

  • How do I get rid of formulas but keep the results?

    Copy the cells and paste them back as values. In Excel, choose Home, Paste, Values (on a Mac, the arrow next to Paste, then Paste Values). In Google Sheets, choose Edit, Paste special, Values only. In Numbers, choose Edit, Paste Formula Results. A formula left in your file is printed as the formula, not its result.

  • Do stray spaces in names matter?

    Yes. Everything in the file is printed as it is, stray spaces included, and Microsoft notes that spaces can make COUNTIF give unexpected counts, which matters when you look for duplicates. Remove them with TRIM in Excel or Numbers, or Data, Data cleanup, Trim whitespace in Google Sheets. Text copied from a web page can hold non-breaking spaces, which TRIM in Excel and Trim whitespace in Google Sheets don’t remove, so retype those names.

  • How many rows should my file have?

    One row for each card, plus the heading row. For 100 cards, the headings go in row 1 and the cards run from row 2 to row 101. In Excel, click the letter of the name column and the Count on the status bar should say 101. If it’s lower than the last row number, a cell in that column is empty.

  • Should I send an Excel file or a CSV?

    Either is fine for an ordinary order. An Excel file (.xlsx, or the older .xls) keeps your Text formatting, and a CSV is plain text. For our bureau personalisation service, send an Excel file. If you send a CSV, check it in Notepad or TextEdit rather than Excel, because Excel removes the zeros from the start of numbers when it opens a CSV.

  • Where can I get personalised cards printed in the UK?

    From CP Cards. We supply personalised plastic cards printed in England, from 25 cards, with names, numbers, barcodes or QR codes from your spreadsheet. Every order comes with a free email proof showing where the personalisation sits. For a quote, email sales@cpcards.co.uk with the card, the quantity and what changes on each card, or use our quote form.

Not sure how to set out your file?

Ask us for guidance before you order. Tell us what the cards are for and what changes from card to card.

Email sales@cpcards.co.uk. We often reply within minutes, 9am to 5pm, Monday to Friday.

Not sure what you need? Ask us