+ Reply to Thread
Results 1 to 11 of 11

Excel not recognizing text qualifier

Hybrid View

  1. #1
    Registered User
    Join Date
    05-30-2016
    Location
    Tyler, TX
    MS-Off Ver
    2015
    Posts
    5

    Excel not recognizing text qualifier

    I have a bizarre problem that I cannot figure out for the life of me. I'm trying to import a space delimited Word doc into Excel, but Excel is not recognizing the " symbol as a text qualifier. For example, "Dallas TX" is importing into two columns instead of one. I've tried using a Mac vs. Windows and saving the document with different encoding options, but nothing seems to work. When I used notepad though, it imported correctly! Any help would be greatly appreciated.

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel not recognizing text qualifier

    Welcome to the forum:

    Instead of quotes, use commas or tabs as separators. If your work is set up like I think it is, in Word use Find And Replace " " with , for comma separated values or Find and Replace " " with ^t for tab separated values.

    If that isn't what your problem is, please upload a sample of your source document.


    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    05-30-2016
    Location
    Tyler, TX
    MS-Off Ver
    2015
    Posts
    5

    Re: Excel not recognizing text qualifier

    Thank you for the welcome and reply!

    I don't think converting the document to tab or comma delimited will work well. I'm trying to import recipes into Excel, and I'd like the quantity, measurement, and ingredient to be in separate columns. But I'm running into trouble when the quantity isn't a whole number. Same goes for the ingredient if it's more than one word. So, for the line "5 1/2 cups flour" the 5, 1/2, cups, and flour are all going into separate columns. I read that text qualifiers would fix this as long as I put quotes around the 5 1/2. But Excel is ignoring them and still putting everything in separate columns. Oddly enough, Excel imports it correctly if I use Notepad instead of Word. I've attached screenshots of both cases so you can see exactly what's going on.
    Attached Images Attached Images

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel not recognizing text qualifier

    A picture in this case doesn't do much good. Please upload a representative file of your source data untouched.
    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    05-30-2016
    Location
    Tyler, TX
    MS-Off Ver
    2015
    Posts
    5

    Re: Excel not recognizing text qualifier

    Alright, hopefully this works! I've attached a Sample Workbook with before and after sheets. The before sheet I've imported from Word and the after sheet I've imported from Notepad. The text in both the Word and Notepad documents looks like:
    5 cups "white flour"
    "1 1/2" tsp salt

    For some reason Excel imports Word docs differently from Notepad even though they're both saved as txt files. I really prefer using Word and hope I can find a solution.

    Thank you for your time and help!
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel not recognizing text qualifier

    It would probably help more if we could see what your word data look slike?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel not recognizing text qualifier

    What does your Word file look like. Word has far more powerful text handling than Excel ever dreamed of. Please attach your Word file.

  8. #8
    Registered User
    Join Date
    05-30-2016
    Location
    Tyler, TX
    MS-Off Ver
    2015
    Posts
    5

    Re: Excel not recognizing text qualifier

    Here's the word document I used for importing. I was thinking that enclosing two words with quotes would cause Excel to import them together into one column
    Attached Files Attached Files

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel not recognizing text qualifier

    Here is what your source file should look like. I have shown 1 example of TAB delimited and 1 example of COMMA delimited format. You would then import into Excel using the Data Tab get external data from text. Make sure that Windows Ansi is identified as the source for the data or you will get strange results for the fractions.

    Result

    A
    B
    C
    D
    1
    1.Tab delimited
    2
    Biscuits
    5
    cups
    white flour
    3
    1 ½
    tsp
    salt
    4
    2.Comma delimited
    5
    Biscuits
    5
    cups
    white flour
    6
    1 ½
    tsp
    salt
    Attached Files Attached Files
    Last edited by newdoverman; 06-01-2016 at 09:02 AM.

  10. #10
    Registered User
    Join Date
    05-30-2016
    Location
    Tyler, TX
    MS-Off Ver
    2015
    Posts
    5

    Re: Excel not recognizing text qualifier

    Thank you so much newdoverman! The doc imports great when comma delimited. I thought I needed to use space delimited, but Word's replace tool makes it really easy to substitute commas for all the spaces. Thanks again for your help!

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel not recognizing text qualifier

    You're welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Recognizing Text
    By kunjanee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2015, 07:50 PM
  2. [SOLVED] Invalid Qualifier to a Valid Qualifier (Application)
    By exceltabz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2014, 11:31 AM
  3. Replace Text Qualifier
    By NoCanDo in forum Excel General
    Replies: 3
    Last Post: 12-13-2013, 01:12 AM
  4. Text qualifier " created when using I/O to write a text file
    By PingPing in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2010, 04:52 AM
  5. default text qualifier
    By damteity in forum Excel General
    Replies: 4
    Last Post: 12-17-2007, 04:07 PM
  6. [SOLVED] How do I set Default import properties such as Text Qualifier?
    By UABCSA in forum Excel General
    Replies: 0
    Last Post: 12-08-2005, 01:10 PM
  7. setting text qualifier in Excel
    By Lyle in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 02:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1