+ Reply to Thread
Results 1 to 6 of 6

Creating an Index when different names are in non-simultaneous rows

  1. #1
    Registered User
    Join Date
    01-14-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    72

    Creating an Index when different names are in non-simultaneous rows

    so i've got a list of names in a column

    say:

    C6 has a name
    C25 has a name
    C30 has a name
    C32 has a name

    and C33 has a $ symbol

    what i want a button to do is to grab the 4 names in column C and then place them in a different sheet. when it reaches the "$" symbol, i want it to stop trying to pick up names

    (i also want it to start searching from row 4 down to the row with the $)

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Creating an Index when different names are in non-simultaneous rows

    Hi

    Do any of the other cells in the desired range have any values and if so are they numerical or text.

    Regards

    Jeff

  3. #3
    Registered User
    Join Date
    01-14-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    72

    Re: Creating an Index when different names are in non-simultaneous rows

    no, the others have no values whatsoever

    they are blank

  4. #4
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Creating an Index when different names are in non-simultaneous rows

    Hi

    The following code will find any names within the range specified and transfer them to sheet 2 starting at A1, please amend to whatever location is appropriate.

    Please Login or Register  to view this content.
    Regards

    Jeff

  5. #5
    Registered User
    Join Date
    01-14-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    72

    Re: Creating an Index when different names are in non-simultaneous rows

    alright, i shall try this out

    thanks!

  6. #6
    Registered User
    Join Date
    01-14-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    72

    Re: Creating an Index when different names are in non-simultaneous rows

    hey

    sorry for the double post

    i just noticed that if i add more to the list in Sheet 1 and then press the button again
    it'll show sheet 2 continue with the repeats

    eg.

    was:

    lee
    walker
    manda
    $

    and now changed to:
    lee
    walker
    tiger
    manda
    $

    the Sheet 2 once clicked during both those times would show:

    lee
    walker
    manda
    lee
    walker
    tiger
    manda


    is there any way i'd be able to reset the write on Sheet 2 to make it start from A1 again

+ 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