+ Reply to Thread
Results 1 to 5 of 5

HELP, PLEASE - Testing Multiple Values

  1. #1
    Registered User
    Join Date
    04-13-2006
    Location
    Toronto
    Posts
    6

    HELP, PLEASE - Testing Multiple Values

    I hope someone can help me here.

    I have a workbook with two worksheets (I will call them worksheet1 and worksheet2), from worksheet1 I need to test the values of two dfferent columns with the values of two different columns in worksheet2. When both batches are true - I want to copy the value of another column, same row as the match from worksheet1 to worksheet2.

    Below is my logic, I just don't know how to write in excel:
    If value in column 1 of worksheet1 = value in column 1 of worksheet2 and value of column 2 of worksheet1 = value in column 2 of worksheet2, then copy the content of column 3 (same row) from worksheet1 to worksheet2.

    Thanks so much!!
    Winston

  2. #2
    Registered User
    Join Date
    06-09-2004
    Posts
    40
    Assuming your first data is on row 2.

    Put this formula on your worksheet 2, column 3.

    =IF(AND(A2=Sheet1!A2,B2=Sheet1!B2),Sheet1!C2,"")

    and copy it all the way down for all rows.

  3. #3
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Go to your Sheet2 in cell C2 and type :

    =If(AND(Sheet1!A2=Sheet2!A2,Sheet1!B2=Sheet2!B2),Sheet1!C2,"")

    I hope this is what you are aiming at ...

    HTH
    Cheers
    Carim

  4. #4
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    301

    HLEP. PLEASE - Testing Multiple Values

    hi!

    do you want something like

    =IF(AND(Sheet1!A1=Sheet2!A1,Sheet1!A2=Sheet2!A2),Sheet1!A3,"")

    -via135

    Quote Originally Posted by wingale
    I hope someone can help me here.

    I have a workbook with two worksheets (I will call them worksheet1 and worksheet2), from worksheet1 I need to test the values of two dfferent columns with the values of two different columns in worksheet2. When both batches are true - I want to copy the value of another column, same row as the match from worksheet1 to worksheet2.

    Below is my logic, I just don't know how to write in excel:
    If value in column 1 of worksheet1 = value in column 1 of worksheet2 and value of column 2 of worksheet1 = value in column 2 of worksheet2, then copy the content of column 3 (same row) from worksheet1 to worksheet2.

    Thanks so much!!
    Winston

  5. #5
    Registered User
    Join Date
    04-13-2006
    Location
    Toronto
    Posts
    6

    HELP, PLEASE - Testing Multiple Values

    Thanks to each of you for your response. It did not work exactly, but thats because I may not have furnished all the info in my initial post.

    What I would like is if you could explain the formula in detail for me so that I can understand the structure, argument, etc.

    I would really appreciate that.

    Thanks again,
    Winston
    Last edited by wingale; 04-14-2006 at 05:58 PM.

+ 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