Results 1 to 3 of 3
  • Thread Tools
  1. New Lounger
    Join Date
    Sep 2004
    Location
    Atkinson, New Hampshire, USA
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sorting for specific letters

    I am working with a large spreadsheet that is a price listing, containing 4 columns. Part number, description, list price, and net price. The description column has roughly 3000 descriptions with the letters NLA (meaning no longer available) I need to filter these out or at least sort them to the top or bottom so I can delete them. The letters are typically at the end of the description and the descriptions are of various lengths. Any ideas? Thank you.

  2. Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    4,034
    Thanks
    121
    Thanked 407 Times in 376 Posts
    WW,

    One way would be to add a 5th column with the formula =Right(B1,3)
    Copy it down then Sort on it and you'll have all the NLAs together and they can be deleted.
    Note: This assumes none of the regular descriptions end in NLA!

    This could also be done with VBA code. I wrote something similar the other day for the Lounge but I'm currently working on my laptop as I'm imaging my desktop so I don't have access to the file right now.
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  3. New Lounger
    Join Date
    Sep 2004
    Location
    Atkinson, New Hampshire, USA
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Thank You

    That is great thank you very much it worked perfectly.

Posting Permissions

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