Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Data merge not working with CSV

Community Beginner ,
Dec 26, 2020 Dec 26, 2020

Hey, 

When I try to link a spreadsheet with an inDesign document using the Data merge -> Select Data Source function and selecting a CSV file exported from an excel spreadsheet, I get the following error message: 

"The data source file you selected either has no records or is not a supported file format. Please fix the file, select a file that contains records, or select a supported file format."

I have looked at the other troubleshooting threads, and none of them solved the issue. 

TOPICS
How to , Performance
12.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 26, 2020 Dec 26, 2020

In Excel, make sure you save it as CSV (Comma delimited) and not CSV UTF-8 (Comma delimited).

If that doesn't work, try the CSV (Macintosh) or CSV (MS-DOS) formats.

Translate
Advisor ,
Dec 26, 2020 Dec 26, 2020

Hello Plantor,

 

Re: I have looked at the other troubleshooting threads, and none of them solved the issue.

What have to tried to fix the issue....is it possible for you to post the .csv file for troubleshooting purposes?

 

Regards,

Mike

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 26, 2020 Dec 26, 2020

 

I tried using a tab-delimited text file, but I got the same error message. Also tried opening the csv file in a text editing program and resaving as csv, did not work either, got the same error message. Why is this feature being advertised if it's not working properly? 

 

I uploaded both the excel file and the csv file here:

https://easyupload.io/m/9xnapx

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 26, 2020 Dec 26, 2020

Hello,

 

I opened the Cards-Data.xlsx file and saved a .csv file that works using the below option,  I'm on a Mac running InDesign 2020...... How are you saving the .csv file?

 

I uploaded the .csv file that works here: https://easyupload.io/diuwc6

 

Screen Shot 2020-12-26 at 1.16.06 PM.pngScreen Shot 2020-12-26 at 1.19.24 PM.pngScreen Shot 2020-12-26 at 1.20.42 PM.png

 

Regards,

Mike

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 26, 2020 Dec 26, 2020

In Excel, make sure you save it as CSV (Comma delimited) and not CSV UTF-8 (Comma delimited).

If that doesn't work, try the CSV (Macintosh) or CSV (MS-DOS) formats.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 26, 2020 Dec 26, 2020

Oh okay, I got it. The problem was the CSV file used colons instead of commas. I simply made a txt file on the Notepad, and retyped the text using commas. This way I could use DataMerge in InDesign. I still have to figure out how to export to comma-based CSV, but at least now I have a workaround. Thank you all for the help. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 20, 2024 Sep 20, 2024

It's probably due to your location or language settings in Excel. 

On Windows:

  1. Click on the Start menu.
  2. Type control Region.
  3. Select Additional settings in the pop-up window.
  4. Change the List separator to comma.
  5. Click Apply.
  6. Hit OK.
David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 26, 2020 Dec 26, 2020

Without knowing what you tried, here is something I've done...

Open the .csv file in a text editing program* and do a save-as, keeping the .csv extension. 

*Some programs can save as text or RTF--make sure the format stays as text.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 20, 2024 Nov 20, 2024

Make sure your Excel file is closed. I went through all the below suggestions and it was as simple as closing the document.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2024 Nov 20, 2024

Good point, but that is a different issue. You will get a different dialog box than the one the OP posted about.

image.png

 

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 22, 2025 Mar 22, 2025

@Adobe This is 5 years ago. You still can't merge a CSV file with colons in it. This is lazy. Please update your software.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 23, 2025 Mar 23, 2025
quote

@Adobe This is 5 years ago. You still can't merge a CSV file with colons in it. This is lazy. Please update your software.


By @Real Deal Branding

 

What exactly is the problem? How your CSV file looks like? 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 23, 2025 Mar 23, 2025

Below is an example CSV file. If, within a cell, the text incldues a colon (e.g. Fr: Dinner/Sa: Breakfast & Lunch), and you try selecting it as the source for your Data Merge, it won't load. It doesn't even show an error. It just does nothing. But if you remove the colons, it works.

 

First Name,Last Name,Church,Church City,Workshop 1,Workshop 2,Optional Craft,Workshop 3,Workshop 4,Retreat Package,F: Breakfast,Friday Lunch
Jane,Tanner,Calvary Bible,Mosinee,Opting out,Opting out,Opting out,Fearfully and Wonderfully Made,Opting out,Fr: Dinner/Sa: Breakfast & Lunch,,Fr: Lunch
Amber,Hartson,Grace Baptist,Chippewa Falls,Marriage,When the Pot Shatters,Opting out,Helping Your Children,Fearfully and Wonderfully Made,Fr: Dinner/Sa: Breakfast & Lunch,,Fr: Lunch
Charlotte,Mitchell,Calvary Baptist,Watertown,Personal Testimony,When the Pot Shatters,Opting out,Prayer 101,Opting out,Fr: Dinner/Sa: Breakfast & Lunch,,Fr: Lunch

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 23, 2025 Mar 23, 2025

@Real Deal Branding 

 

Yeah, ":" isn't allowed in the HEADER of the CSV file - but you can have it in the DATA:

 

RobertatIDTasker_0-1742734851209.png

 

RobertatIDTasker_1-1742734974067.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 23, 2025 Mar 23, 2025

Thank you! Very helpful! So, modifying my original comment, they ought to have an error message when this doesn't work rather than it just not doing anything, and leaivng their users to hunt around the internet. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 23, 2025 Mar 23, 2025
quote

Thank you! Very helpful! So, modifying my original comment, they ought to have an error message when this doesn't work rather than it just not doing anything, and leaivng their users to hunt around the internet. 


By @Real Deal Branding

 

You're welcome. 

 

Yes, there SHOULD be a warning with an explanation. 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 23, 2025 Mar 23, 2025
LATEST

I see that this thread has split into two issues over time - one about semicolon delimiters; and one about colons in the header row.

I've written articles about both phenomena before.

The first being comma/semicolon delimiters swapping from Excel and why I prefer UTF-16: https://colecandoo.com/2022/05/16/to-be-or-csv-that-is-the-delimiter/

The second (written for creativepro) features a troubleshooting guide that - for a long time - didn't appear in Adobe's data merge help... at least until I'd written the article: https://creativepro.com/troubleshooting-data-merge-errors/

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines