+ Reply to Thread
Results 1 to 3 of 3

Using range.find to find two specific values in two columns

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    2

    Using range.find to find two specific values in two columns

    Hello,

    I have been trying to get the code below to work for a while now and am pretty much stuck.

    What I have made is a userform that the user inputs a job # and seq # (columns A and B), and it will search for those two user values and print out columns A B C D into the userform BOX.

    I have gotten this to work by only using one of the values (JOB) , however I am stumped as to how to search another column (column B) to get the row that has that JOB AND SEQ.

    For example, here is how the table will look:

    JOB SEQ MACHINE 1 MACHINE 2
    100 202 MAT MAT
    100 204 MAT MAT

    I want the user to type in

    JOB : 100
    SEQ 202

    and see in the box

    100 202 MAT MAT


    Here is what I have so far:

    Please Login or Register  to view this content.

    Thanks for anyones help

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Using range.find to find two specific values in two columns

    Maybe this, it would be easier to help if we could see your workbook.

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    10-17-2012
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Using range.find to find two specific values in two columns

    Mike,

    Thank you VERY MUCH! That is exactly what I wanted to do and it works very nicely.

    Thanks for the quick reply as well!

    -Mike

+ 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