+ Reply to Thread
Results 1 to 9 of 9

Data Sort Issues

  1. #1
    Registered User
    Join Date
    04-20-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Data Sort Issues

    Is there a way to reset or clean all format information from a sheet and start over? I have inventory data entered into ~115000 rows through P columns in Excel 2010. Information has been built from various sources i.e. converted from Access 2010, Excel 07, Excel 10. The primary sort fields are alphanumeric. My problem is that the information on the rows that I just moved from Excel 2010 from another computer will not sort. I took the columns in question and used =TEXT(a1,”###”) and converted the information to text in columns AA thru PP When I sorted this converted information, about 2000 rows of information which should have been dispersed throughout the list came to the top AND the location field which has an E as in 9E6 was converted to 9000000. I have about 60000 more rows to add but want to resolve this issue first. I need some ideas to try. Thanks for all advice.

    Navanax1

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Data Sort Issues

    did you try
    =IF(ISTEXT(A1),A1,TEXT(A1,"###"))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-20-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data Sort Issues

    Martin,
    Thanks it appears to have worked. I will test further to see if I find problems.
    navanax1

  4. #4
    Registered User
    Join Date
    04-20-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data Sort Issues

    Martin,
    Perhaps you can help and explain a issue that has popped up. I have used your equation =IF(ISTEXT(A1),A1,TEXT(A1,"###"))
    very effectively but some of my information has an E in it like 8E10 or 5E1. The other data 8A1 8B1 8C1 all sort together but any field that has an E are grouped first in the 60,000 item field. It seems to think it is exponential. Any thought on how to correct?

    Thanks,
    Gene

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Data Sort Issues

    can you post a sample

  6. #6
    Registered User
    Join Date
    04-20-2012
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data Sort Issues

    Martin,
    I will attach some of the data below. In looking further at the sort data if the item had an E like 8E1 or 11E9 I have a green triangle in top left with an exclamation point that says the number in this cell is formatted as text or is followed by an apostrophe. the rest of the fields that do not have a E like 10A1 do not have the triangle or comment.
    I hope the data below is what you need.
    Thanks,
    Gene

    8E1
    8E1
    8E1
    8E1
    8E1
    8E1
    8E1
    8E1
    11E9
    11E9
    11E9
    11E9
    11E9
    11E9
    11E9
    11E9
    10A1
    10A1
    10A1
    10A1
    10A1
    10A1
    10A1

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Data Sort Issues

    thats because excel thinks it maybe a number 8E1 = 80
    11E9 =11000000000 in scientific format the triangle is only a warning that they maynot be what you think,but since they are formatted text you can ignore it

    but when i sort i get this
    10A1
    10A1
    10A1
    10A1
    10A1
    10A1
    10A1
    11E9
    11E9
    11E9
    11E9
    11E9
    11E9
    11E9
    11E9
    8E1
    8E1
    8E1
    8E1
    8E1
    8E1
    8E1
    8E1
    which is corect as excel works from left to right

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Data Sort Issues

    If you can use a UDF, you can sort by the output:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Data Sort Issues

    need it in a workbook

+ 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