+ Reply to Thread
Results 1 to 4 of 4

Finding Range of People names using Initials

  1. #1
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Finding Range of People names using Initials

    Hi Guys,

    I needed some assistance with searching for peoples names in my sheet.

    I've got a cell which contains the initials of the person, i want to search for the Location of the cell that contains the name:

    A5: JS [initials of person]

    H2 I2 J2 K2 L2 M2
    H2 - M2: JohnSmith | PeterJohnson | SamBrown | CamBlue | SteveRed | TonyGreen | [Names of people to look for from A5]


    Notice there isnt any spaces between the names in the range to search.

    I want the macro to return the Column and Row of the Name when found into cell A6.

    e.g if A5 = CB
    (Look for Name in Range H2 - M2)
    Then A6 = K2

    Thnx
    Last edited by jordan2322; 01-09-2012 at 06:44 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding Range of People names using Initials

    Hello Jordan,

    This macro uses the cell ranges in your example but you can easily change them if you need to for what you are actually using.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Re: Finding Range of People names using Initials

    Thanks Leith thats worked a charm!

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding Range of People names using Initials

    Hello Jordan,

    Looks like you had no trouble adapting the code. Glad I could help.

+ 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