+ Reply to Thread
Results 1 to 4 of 4

Converted .xlsx to .csv and autofilter no longer works properly

  1. #1
    Registered User
    Join Date
    03-14-2012
    Location
    here
    MS-Off Ver
    Excel 2007
    Posts
    2

    Converted .xlsx to .csv and autofilter no longer works properly

    I have an excel spreadsheet that was brutally slow when filtered (contained no formulas and all un-necessary formatting/rows/columns were removed)

    I converted the file to .csv and it worked marvelously quickly once again and saved it back as .xlsx (still not sure why that worked, but I read it online, tried it, and had success).

    Now when I filter for items I don't get expected results.

    In this case I'm attempting to filter for anything containing "18.1"

    I get all results that contain 18.1 delimited with another number or multiple numbers (18.1;15.2;15.6;etc..)

    It will not return any results that only contain 18.1 (many exist in the spreadsheet).

    Thoughts?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Converted .xlsx to .csv and autofilter no longer works properly

    Originally your "18.1"s were formatted as text and now they are formatted as numbers. You can do a "Text To Column" and convert them all back to text. Hope that helps.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-14-2012
    Location
    here
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Converted .xlsx to .csv and autofilter no longer works properly

    Thank you for that info...but it actually has now compounded to a different situation.

    In my excel spreadsheet it will only count the 18.1s when they're delimited with another number if the cell is formatted as number

    It will only count 18.1s when they're alone in a cell if the cell was formatted as text

    If a cell with a single number has the green arrow in the corner alerting me that the cell is formatted as text and can be changed to a number it will be found by the filter if it is a single number. If a cell is formatted as number it will be found if it is delimited with other numbers.

    I hope that makes sense.

    It will also not work if I find an 18.1 that does not have the little green arrow and then try to right click and format it as text.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Converted .xlsx to .csv and autofilter no longer works properly

    Any series of numbers within a cell is automatically considered text, excel does not recognize a series of numbers. That's why, if you format a cell with a series in it, it won't show the little green arrow. As a test, in another cell put in the function = ISTEXT(A1) or ISNUMBER(A1)

    In any case, I tested a column which consisted of both series of numbers and individual numbers, did a Text to Column and then filtered on 18.1 The filter pulled out both the individual 18.1's and the ones that are part of a series.

    If it's still not working, can you upload a small example? (Go advanced>manage attachments)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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