+ Reply to Thread
Results 1 to 5 of 5

Matching 2 cells and picking value from a 3rd cell that is based on repeated text field

  1. #1
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    21

    Matching 2 cells and picking value from a 3rd cell that is based on repeated text field

    I need to match Model and week in both source and destination tabs and then pull in the "WM Total" for that week into the destination tab for each model. I would really apprecicate the help.
    Here is an example. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Matching 2 cells and picking value from a 3rd cell that is based on repeated text fiel

    if its always laid out like that in
    destination!d2
    =OFFSET(Source!$C$2,24,MATCH($C2,Source!$C$2:$M$2,0)-1)
    in destination!e2
    =OFFSET(Source!$C$2,51,MATCH($C2,Source!$C$2:$M$2,0)-1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Matching 2 cells and picking value from a 3rd cell that is based on repeated text fiel

    That worked great. The problem is that I will have to always know the line "WM Total" is on. I am going to be referecing different tabs where the layout is usually 98% similar but not always the same and there is a lot of data and will be too much work to figure out the line for every "WM Total". I was looking for a way to search for the text whichever line it's on.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Matching 2 cells and picking value from a 3rd cell that is based on repeated text fiel

    youll have to change the layout then just put U380 Brightside next to total then look that up

  5. #5
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Matching 2 cells and picking value from a 3rd cell that is based on repeated text fiel

    That's the problem. I can't change the layout in the source. It's a file with different tabs that is used in another department and they have used that for years. I gave this is an example so that once I get the formula I can then edit it for the real source file.

+ 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