+ Reply to Thread
Results 1 to 6 of 6

Find the part codes having some indication and arrange them in a new column

  1. #1
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Find the part codes having some indication and arrange them in a new column

    My question is how many parts havinig end with C?Also arrange these parts in ascending order in a new column.

    Please refer to the attached file and expected result also.

    Regards

    Pradeep Kumar Gupta
    Attached Files Attached Files
    Last edited by PRADEEPB270; 03-04-2010 at 06:15 AM. Reason: Some text were missing.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Find the part codes having some indication and arrange them in a new column

    Here is a solution that requires two manual steps which you will perform every time you need to refresh the list. I have added a row that includes the criterion you are looking for. From there you need to use Advanced Filter. As your List Range, select your part numbers, including the header. As your Criteria Range, select the line I added (=*C) plus the header above. Check Copy to another location and select the desired location for output. To sort them, select the results and then use Sort.

    If you want this to automatically keep your list up to date every time you make a change, you will need a VBA solution.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    02-12-2008
    Location
    Doha-Qatar
    MS-Off Ver
    Excel 2007
    Posts
    137

    Re: Find the part codes having some indication and arrange them in a new column

    Hi Pradeep,

    Alternatively you can use the following formula in E5 : =IF(RIGHT(C5,1)="C",C5,"") and then drag it down to the end,

    Then you can sort the data in another column


    Regards

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

    Re: Find the part codes having some indication and arrange them in a new column

    here's another way
    btw @
    6StringJazzer
    i think youve posted the wrong workbook!
    Attached Files Attached Files
    Last edited by martindwilson; 02-20-2010 at 05:54 AM.
    "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

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Find the part codes having some indication and arrange them in a new column

    Quote Originally Posted by martindwilson View Post
    here's another way
    btw @
    6StringJazzer
    i think youve posted the wrong workbook!
    Looks OK to me. Oddly enough it looks like you modified the workbook I posted. (And your solution is cooler!)
    Last edited by 6StringJazzer; 02-19-2010 at 09:33 PM.

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

    Re: Find the part codes having some indication and arrange them in a new column

    my apologies i didnt see the advanced filter criteria at the top ! and just assumed it was the original and used it myself

+ 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