+ Reply to Thread
Results 1 to 2 of 2

Sum a row of multiple vlookups

  1. #1
    Registered User
    Join Date
    12-10-2005
    Posts
    1

    Sum a row of multiple vlookups

    I have a row of mixed data that gets used elsewhere with a vlookup table. some cells are blank. I would like to place a sum of all the vlookups into a single cell. I have tried using the sumproduct (isnumber(match(index...... method but it doesn't seem to create two arrays of the same size. here is a example of tables layout:


    Row of Data
    A B C D E F G H I J L
    1 s m l m s l s

    vlookup table

    A B C D
    1 s 100
    2 m 1000
    3 l 10000

    So for Row 1 I need the following result where the values in Row 1 are used to in a vlookup to get the value from column D of the vlookup table:

    100+0+1000+10000+0+1000+100+10000+0+100+0=22300

    thnx

  2. #2
    Domenic
    Guest

    Re: Sum a row of multiple vlookups

    Try...

    =SUMPRODUCT(SUMIF(N1:N3,A1:L1,O1:O3))

    ....where N1:O3 contains your lookup table.

    Hope this helps!

    In article <jtgostars.1zu5py_1134237602.3611@excelforum-nospam.com>,
    jtgostars <jtgostars.1zu5py_1134237602.3611@excelforum-nospam.com>
    wrote:

    > I have a row of mixed data that gets used elsewhere with a vlookup
    > table. some cells are blank. I would like to place a sum of all the
    > vlookups into a single cell. I have tried using the sumproduct
    > (isnumber(match(index...... method but it doesn't seem to create two
    > arrays of the same size. here is a example of tables layout:
    >
    >
    > _Row_of_Data_
    > A B C D E F G H I J L
    > 1 s m l m s l s
    >
    > _vlookup_table_
    >
    > A B C D
    > 1 s 100
    > 2 m 1000
    > 3 l 10000
    >
    > So for Row 1 I need the following result where the values in Row 1 are
    > used to in a vlookup to get the value from column D of the vlookup
    > table:
    >
    > 100+0+1000+10000+0+1000+100+10000+0+100+0=22300
    >
    > thnx


+ 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