+ Reply to Thread
Results 1 to 3 of 3

Search between two sheets

  1. #1
    Registered User
    Join Date
    06-08-2010
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Search between two sheets

    Hi, this is my first post. I've been looking through the forum and have found some similar instances of this question but none really seem to be quite the same. Currently I'm using Pascal coding in the form of an EXE to sort through two sheets in a work book. The procedure is fairly simple:

    Sheet 1 has a Customer's Last name and the amount they paid:

    Name | Blank Cell | Payment

    Smith | | $10.99
    Johnson | | $ 6.80

    Sheet 2 has the Customer's Last name and which State they are from:

    Smith | CO
    Johnson | NY

    What I need to do is have some sort of macro that copies the last name from the first sheet, finds the customer by last name in the second sheet, and places the state in the second sheet into the blank cell in the first one so that it looks like:

    Smith | CO | 10.99

    I hope this makes sense. Doing this manually is nearly impossible as I'm sorting through about 1,000 of these. Any ideas/suggestions?

    Thanks in advance!

  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,259

    Re: Search between two sheets

    Hello Mr_K,

    Welcome to the Forum!

    Currently I'm using Pascal coding in the form of an EXE to sort through two sheets in a work book.

    I am not sure we can help you. This forum is for VBA (Visual Basic for Applications) questions.
    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
    Registered User
    Join Date
    06-08-2010
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Search between two sheets

    My bad, I'm looking for some way to internalize the process in excel. I want to use the VBA, macro, something besides an outside program. I wasn't very clear about that. Regards

+ 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