+ Reply to Thread
Results 1 to 6 of 6

Pick up Unique names associated with certain organization

  1. #1
    Forum Contributor
    Join Date
    10-06-2013
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    208

    Pick up Unique names associated with certain organization

    Dear Friends
    I am looking for a VBA/Macro to pick up unique names associated with “King Saud Univ” from each record.
    The attached sample sheet includes the records in Column B and the desired output/outcome from the needed VBA are listed starting in column “C” rightward as needed..
    All names associated with “King Saud Univ” are listed within brackets “[ ]” preceding the name of the university. Please note that I need the unique list of names (i.e., without duplicates).

    Thanks in advance Taisir
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Pick up Unique names associated with certain organization

    I noticed your example did have a duplicate name... I assume that was an accident? (row 11)

    See if this works for you:

    Please Login or Register  to view this content.
    Last edited by Arkadi; 10-12-2017 at 02:13 PM.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    10-06-2013
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    208

    Re: Pick up Unique names associated with certain organization

    Dear Arkadi
    Indeed, it was a mistake in the table. The VBA you sent worked beautifully. I will test on the real data and will let you know.

    All the best Taisir

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Pick up Unique names associated with certain organization

    Hi Taisir

    Thanks for the rep, and I'm glad it seems to be working on the test data. Hopefully it performs as well on the real file
    Looking forward to finding out.

  5. #5
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Pick up Unique names associated with certain organization

    Taisir,

    I got your message about it being case sensitive... we can fix that if the data is not always identical (meaning it will no longer be case sensitive). We just need to change a few lines:

    Please Login or Register  to view this content.
    becomes:
    Please Login or Register  to view this content.

    Then change:
    Please Login or Register  to view this content.
    to:
    Please Login or Register  to view this content.
    and also:
    Please Login or Register  to view this content.
    to:
    Please Login or Register  to view this content.
    Last edited by Arkadi; 10-13-2017 at 08:54 AM.

  6. #6
    Forum Contributor
    Join Date
    10-06-2013
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    208

    Re: Pick up Unique names associated with certain organization

    Many thanks Arkadi
    I took note of that. The exported data almost perfect /uniformed in terms of the name of "king Saud University", there was on 2 cases in more than 2800 records.
    FYI, I will be using your VBA for many months and many files for other organizations reserach data. All what I;ve been doing is to change the name of the organization.
    I will keep you posted if I need any modification.
    Great help indeed

    I appreciate your kind help. Taisir

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] pick up unique value
    By guanqiao in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-16-2016, 01:57 PM
  2. pick a name out of list of 20 names without repeating names picked
    By gammoneer2b in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2014, 10:14 AM
  3. Randomly Pick Names?
    By racefan91 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2014, 02:15 AM
  4. Pick rabdom names from list of names
    By Fixzy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2013, 05:45 PM
  5. Pick random names from list
    By ThomB in forum Excel General
    Replies: 3
    Last Post: 04-08-2013, 10:55 AM
  6. How to pick up only one/unique item/value from DB to Excel
    By anziga in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2012, 05:09 AM
  7. random pick names from a list
    By jladika in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-06-2011, 05:31 PM

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