Skip to main content
Participant
Feb 25, 2011 5:42 PM UTC
Answered

Data Merge Problem InDesign CS5

I'm working on a Data Merge file and it keeps saying when I choose the data source, "The selected data source has one or more empty field names. Please fix the file or select another file."

I can't seem to see any blank fields in the excel file. I did save it as a .csv. I've never had this problem in the past. Any advice would be appreciated!

SJRiegelCorrect answer
Legend
Feb 28, 2011 7:59 PM UTC

I've run into this, and the culprit was some extra text down in one of the columns to the right of my data. Try selecting only your data columns, pasting them into an empy excel sheet, and exporting from the new sheet.

13 replies

Participant
Aug 15, 2022 5:14 PM UTC

These answers were so perfect! Unfortunately, I still could not get my titles to work, although I dinked with them for quite some time.  I finally figured out that several of my columns started with a "#". I tried turning the titles all to 'text' but it did not help. I finally thought to remove the # symbol and it worked perfectly. (Facepalm) Thanks all for your other suggestions - they were great!

Translate
Participant
Feb 6, 2023 6:55 PM UTC

Thank you for this! I was going crazy trying to figure this out and I had a column that used # as a header.

Translate
canvashousestudio
Participant
Feb 26, 2019 4:01 PM UTC

Just had this problem, I was seriously stumped. I went back and edited almost everything I could think of  in the spreadsheet and was still getting a message that same message, even though nothing was missing. When I copy & pasted, I realized that somehow my column labeled E had been deleted, and my spreadsheet went from column D to column F. I can only guess that it was reading column E as empty. Hopefully this will help some one else! Also, the copy & paste did ultimately solve my problem so thank you SJRiegel

Translate
Participant
Dec 12, 2018 8:04 PM UTC

SJRiegel's solution worked for me. Thanks.

Translate
WhyMCA
Participant
Oct 9, 2014 8:55 PM UTC

Encountered this same problem with an Excel file when I was saving two separate CSV's from the same worksheet. One worked fine, the second didn't. Finally succeeded in fixing the second CSV by using SRiegel's suggestion from above, copying and pasting only the data columns into a new worksheet. Thanks for the tip!

Translate
Participant
Aug 6, 2014 6:49 PM UTC

I've come across this problem frequently when opening up a .csv file in InDesign to use data merge. You must have a heading in each column that you have text in the excel file.

ex: Line 1 cell A would be "name", cell B would be "address", and so on.

Translate
Participant
Mar 15, 2011 1:14 PM UTC

I kept running into this problem while trying to merge business card data from an Excel spreadsheet i had saved as a .txt file. The client had sent the city, state ZIP info in one field that i named "City" but some of the entries, for some reason, had split cells that did not show up until i added borders to the spreadsheet. then i could see which cells were split into columns that did not contain headings. i merged those fields all into the column "city" and finally my InDesign merge worked. Hope that helps.

Translate
Inspiring
Jul 4, 2025 6:17 PM UTC

.txt worked for me!

Translate
SJRiegelCorrect answer
Legend
Feb 28, 2011 7:59 PM UTC

I've run into this, and the culprit was some extra text down in one of the columns to the right of my data. Try selecting only your data columns, pasting them into an empy excel sheet, and exporting from the new sheet.

Translate
Participant
Apr 2, 2025 11:13 PM UTC

Thank you, 2025 and this is still works!

 

Translate
Peter Spier
Community Expert
Community Expert
Feb 25, 2011 8:51 PM UTC

It sounds like perhaps you forgot to add the names for the fields in the very first row.

Translate