+ Reply to Thread
Results 1 to 2 of 2

Condensed SUMPRODUCT of 7 lookup values and 2 corresponding columns

  1. #1
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Condensed SUMPRODUCT of 7 lookup values and 2 corresponding columns

    Hi everybody,

    I have 7 lookup values on each row from columns Z:AF, and I want the corresponding value of Column A of File BBL220.xls that are on column C and D of that same file. I was able to do it like this [The sum of each corresponding value on one column at a time]:

    =(SUMPRODUCT(--(ISNUMBER(MATCH([BBL220.xls]Jun25!$A$8:$A$110,Z24:AF24,0))),INDEX([BBL220.xls]Jun25!$A$8:$D$110,,3))+SUMPRODUCT(--(ISNUMBER(MATCH([BBL220.xls]Jun25!$A$8:$A$110,Z24:AF24,0))),INDEX([BBL220.xls]Jun25!$A$8:$D$110,,4)))/2000

    However, this is when the file is opened, but the file is so well buried in directories that when I close the file, the formula is just a mess and is really huge. I am affraid that as the file gets even more buried in years to come, this formula may exceed the character limit.

    Any ideas on how to add column C & D without having a formula for each? I know I can cut it but I prefer everything on one cell.

    Thanks a ton
    Last edited by ron2k_1; 06-29-2010 at 10:13 AM.
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Condensed SUMPRODUCT of 7 lookup values and 2 corresponding columns

    How about?

    =SUMPRODUCT((ISNUMBER(MATCH([BBL220.xls]Jun25!$A$8:$A$110,Z24:AF24,0)))*[BBL220.xls]Jun25!C$8:$D$110)/2000
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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