+ Reply to Thread
Results 1 to 5 of 5

Need help with cross vlookup

  1. #1
    Registered User
    Join Date
    04-12-2012
    Location
    MY
    MS-Off Ver
    Excel 2010
    Posts
    9

    Need help with cross vlookup

    I have a file as attached where I want to have a vlookup function that lookups the row and column in Sheet2 and matches it against the Date and ID column in Sheet1 to return the number in the value column. I tried the solution from another but doesnt really help in my case. This is just a sample file and the original file has hundreds of rows so it is not possible for me to just copy and paste transpose also because the begin date for each ID defers so I have to use the lookup instead. thanks.
    Last edited by purple_rain09; Yesterday at 07:18 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    17,638

    Re: Need help with cross vlookup

    Try this in cell B2 of Sheet2:

    =SUMIFS(Sheet1!$C:$C,Sheet1!$B:$B,B$1,Sheet1!$A:$A,$A2)

    Then copy across and down as required.

    Hope this helps.

    Pete

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    15,665

    Re: Need help with cross vlookup

    self deleted. Did not function properly. Use Pete's solution.

  4. #4
    Registered User
    Join Date
    04-12-2012
    Location
    MY
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need help with cross vlookup

    thank you very much! it worked like a charm

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    17,638

    Re: Need help with cross vlookup

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum (in terms of posts), you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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