+ Reply to Thread
Results 1 to 4 of 4

Match 2 Seperate Column Values on worksheet to 2 values on another sheet,display offset

Hybrid View

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    USA
    MS-Off Ver
    WIn 7
    Posts
    2

    Angry Match 2 Seperate Column Values on worksheet to 2 values on another sheet,display offset

    I have not bumped into one this hard in a while. I am missing something simple but Ill try and explain, I have a worksheet that autopopulates employee data. I want to match two columns of data with a corresponding rate sheet and provide the corresponding billing rate. So based on Bob Being A PM/IW how can I generate his billing rate? Sheet2 is my data base. I keep trying the INDEX(C1:C4,(Match(1,(B2=Sheet2!A1:A4)*(C2=Sheet2!B1:B4),0)) but Ive been getting stumped by this for longer than I care to admit. HELP is the word. I can get it done with nested Ifs but I know there is a simpler solution.
    Thanks in Advance.

    Sheet 1
    ------A------B--------C----------D------E
    1--NAME---TITLE---SUBTITLE----HRS----Billing
    2--Bob------PM------IW----------8------???
    3--Sue------PM------SS----------9------???
    4--Jack------SP------PF----------5------???


    Sheet 2
    -----A-------- B----------C
    1--TITLE----SUBTITLE----RATE
    2--PM--------IW---------75
    3--SP--------IW---------98
    4--PM--------SS---------84
    5--SP--------PF---------35

  2. #2
    Registered User
    Join Date
    02-09-2014
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    84

    Re: Match 2 Seperate Column Values on worksheet to 2 values on another sheet,display offse

    try this

    =SUMPRODUCT(--(B2=Sheet2!$A$2:$A$5),--(C2=Sheet2!$B$2:$B$5),Sheet2!$C$2:$C$5)

    and copy down

  3. #3
    Registered User
    Join Date
    09-09-2014
    Location
    USA
    MS-Off Ver
    WIn 7
    Posts
    2

    Re: Match 2 Seperate Column Values on worksheet to 2 values on another sheet,display offse

    Works perfectly. I didn't realize the sum product pulled up a single digit value for a hit. Someone still needs to explain the "--" to me in the logic. Laymans terms if possible.

  4. #4
    Registered User
    Join Date
    02-09-2014
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    84

    Re: Match 2 Seperate Column Values on worksheet to 2 values on another sheet,display offse

    Quote Originally Posted by runnyrunnerton View Post
    Works perfectly. I didn't realize the sum product pulled up a single digit value for a hit. Someone still needs to explain the "--" to me in the logic. Laymans terms if possible.

    The double negative "--" turns TRUE and FALSE into 1's an 0's
    1. --(B2=Sheet2!$A$2:$A$5)
    2. --{TRUE;FALSE;TRUE;FALSE}
    3. {1;0;1;0}

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sum when matching a column and returning two values on a seperate sheet...
    By brentnakia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-06-2014, 02:55 PM
  2. Unique Values and their offset values displayed in another sheet
    By coreytroy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2013, 06:27 AM
  3. [SOLVED] Seperate Comma seperated values in seperate rows in different tab of same worksheet
    By amlan009 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-28-2012, 04:54 AM
  4. Match values and display row difference under column
    By sans in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2012, 04:57 PM
  5. Averaging values based on seperate column values
    By beng404 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2011, 10:07 AM

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