+ Reply to Thread
Results 1 to 6 of 6

12 digit code sorting

Hybrid View

  1. #1
    Mark
    Guest

    12 digit code sorting

    I have a list of 90,000 12 digit records. I need to count the number of time
    the fourth and fifth digit are 1, 8 (or 18) and, if possible, filter my
    spreadsheet to hide to rows not meeting this criteria.

    Mark

  2. #2
    Chip Pearson
    Guest

    Re: 12 digit code sorting

    In a new column, enter the formula

    =--MID(A2,4,2)=18

    and copy down as far as you need to go. Then, filter on TRUE
    values in this column.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com



    "Mark" <Mark@discussions.microsoft.com> wrote in message
    news:F2E7D13F-F975-4B7B-9005-69D5933A312B@microsoft.com...
    >I have a list of 90,000 12 digit records. I need to count the
    >number of time
    > the fourth and fifth digit are 1, 8 (or 18) and, if possible,
    > filter my
    > spreadsheet to hide to rows not meeting this criteria.
    >
    > Mark




  3. #3
    John Michl
    Guest

    Re: 12 digit code sorting

    Chip - what do the two dashes mean before the MID function. I've seen
    this in some SUMPRODUCT formulas but don't understand the significance.

    Thanks

    - John Michl


  4. #4
    John Michl
    Guest

    Re: 12 digit code sorting

    I found the answer in an earlier post.

    http://groups.google.com/group/micro...6d4a22041ba61b


  5. #5
    Chip Pearson
    Guest

    Re: 12 digit code sorting

    The MID function returns a string/text result. The -- converts
    the text result to a number.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "John Michl" <waxwing1@gmail.com> wrote in message
    news:1130792998.752646.209450@g14g2000cwa.googlegroups.com...
    > Chip - what do the two dashes mean before the MID function.
    > I've seen
    > this in some SUMPRODUCT formulas but don't understand the
    > significance.
    >
    > Thanks
    >
    > - John Michl
    >




  6. #6
    Dave Peterson
    Guest

    Re: 12 digit code sorting

    How'd you get 90,000 rows of data?

    Mark wrote:
    >
    > I have a list of 90,000 12 digit records. I need to count the number of time
    > the fourth and fifth digit are 1, 8 (or 18) and, if possible, filter my
    > spreadsheet to hide to rows not meeting this criteria.
    >
    > Mark


    --

    Dave Peterson

+ 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