+ Reply to Thread
Results 1 to 4 of 4

Searching for a specific value on another sheet and returning the row number.

  1. #1
    Registered User
    Join Date
    07-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    57

    Searching for a specific value on another sheet and returning the row number.

    Ok, this may be more simple than I am making it out to be. I need to take a name from one sheet and search for it on another sheet. I need the row number to add into a formula. This wont make much sense until you actually open the sheet and look at the buttons and the macros assigned to them.

    I need the AddVisit button on the Payment Sheet to take the name from A2, go to the A-M sheet, find the name there, take the row number of its location as a variable and plug it into this formula:

    Please Login or Register  to view this content.
    Anything that has a defined row number will use the variable. I need this, because I need to have multiple payment sheets and this document will be updated daily. I dont want to have to change the values every time I sort the information. I also dont want to create a macro for each payment page. I have a multipurpose button on the page already. Sorry for the long winded explanation.

    -Cheers
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Searching for a specific value on another sheet and returning the row number.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: Searching for a specific value on another sheet and returning the row number.

    That, sir, worked wonderfully. I knew I was making it hard on myself. I guess I was just looking at it for too long. lol!

    Thank you!

    -Cheers

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Searching for a specific value on another sheet and returning the row number.

    @ Ataraxicatom

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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