+ Reply to Thread
Results 1 to 3 of 3

SUM VLOOKUP Col No.s in array fixed to variable

  1. #1
    Registered User
    Join Date
    12-18-2011
    Location
    Leamington Spa, England
    MS-Off Ver
    Excel 2007
    Posts
    20

    SUM VLOOKUP Col No.s in array fixed to variable

    In the formula ={SUM(VLOOKUP($A$808,Input!$807:$1069, {4,6,8,10,12,14,16},FALSE))} (which works) is it possible to replace the fixed col No.s with cell references. The referenced cells contain valid Col No.s which will change over time. The columns are not contiguous - that would be too easy.

    The revised fornula would look something like:

    ={SUM(VLOOKUP($A$808,Input!$807:$1069,
    {Input!D$2,Input!F$2,Input!H$2,Input!J$2,Input!L$2,Input!N$2,Input!P$2},FALSE))}

    which doesn't work. Can someone point me in the right direction?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: SUM VLOOKUP Col No.s in array fixed to variable

    Try this...

    Untested

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-18-2011
    Location
    Leamington Spa, England
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: SUM VLOOKUP Col No.s in array fixed to variable

    Quote Originally Posted by :) Sixthsense :) View Post
    Try this...
    First indications are that it does the job exactly as I would wish. It will take some time for me to fully test but thanks very much for your help.

    I'll add "resolved" and rep in due course.

+ Reply to Thread

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.6.0 RC 1