+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2003, 2010
    Posts
    104

    Is there a faster way of doing VLOOKUPs on multiple items?

    Instead of doing a long long formula that is =VLOOKUP(x1,....)+VLOOKUP(x2,.....) is there a faster way of doing it in the one formula?
    Last edited by tangcla; 11-09-2009 at 08:39 PM.

  2. #2
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,044

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    Yes, possibly with SUMIF, SUMPRODUCT or array formulae. If you can let us in on your data structure and calculation requirements, someone is sure to come up with a suggestion.
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  3. #3
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2003, 2010
    Posts
    104

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    I'm trying to search about six or eight values in the same column, and returning the value from the same column in all of my VLOOKUPs.

  4. #4
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,044

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    Any chance you could upload a workbook, or shall we do "20 questions" ?
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  5. #5
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2003, 2010
    Posts
    104

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    Sure, 20 questions would be good - I didn't think there was much more information required as the value I'm looking up is irrelevant, as is the returned value.

    In any case, here's the workbook in question; I wanted to vlookup values JP11, JP12, JP21, JP22, JP31, JP32, JP41, JP42, JPW1 and JPW2 from column B and return the sum of values in column D.
    Attached Files Attached Files

  6. #6
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,138

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    =SUMIF($B$2:$B$1484, "JP11", $D$2:$D$1484)

    The JP11 part can go in a cell, and you can repeat for other values.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,479

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    =SUMIF(B:B,"=*jp*",D:D)
    Mojito connoisseur and a dabbler in Cisco
    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

  8. #8
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2003, 2010
    Posts
    104

    Re: Is there a faster way of doing VLOOKUPs on multiple items?

    Thanks for that guys, didn't even think to use SUMIF.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0