+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : VBA? non VBA? ways to extract data

Hybrid View

  1. #1
    Registered User
    Join Date
    10-06-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    2

    VBA? non VBA? ways to extract data

    Hi guys,

    I have a very large data set, and one of the columns are the names of organizations involved in a project. There are overlaps in the names of the organizations (organization A might appear in row 10 and row 1000 or more etc), and I have to come up with a way of assigning each of them a code. I dont have the full list of organizations, so I dont think i can do a vlookup with this.. Is there a way i can get a list of all the names of the organizations, without repeats?

    I am thinking that this might be better handled in access? through Macros? but again I am not familiar with those, so I would really appreciate if you guys can point me somewhere!

    Thanks!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,468

    Re: VBA? non VBA? ways to extract data

    Use an Advanced Filter to extract a list of unique entries.

    Sort that into whatever order you want ... alphabetic maybe ... and assign your ID

    Then use VLOOKUP against that new list to assign the ID to the original list.

    See http://www.excelforum.com/excel-prog...n-a-range.html for an example.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-06-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: VBA? non VBA? ways to extract data

    Oh wow that worked just like that!
    You saved my life! i was debating whether i should bore into the VBA stuff....

    Thanks a lot!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,468

    Re: VBA? non VBA? ways to extract data

    You're welcome. Thanks for the feedback.

+ 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