+ Reply to Thread
Results 1 to 8 of 8

Vlookup & summing multiple columns.

  1. #1
    Registered User
    Join Date
    02-12-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    38

    Vlookup & summing multiple columns.

    Hi all

    I am trying to do a vlookup and sum multiple columns #s based on a moving target month, comparing them to the current year.
    IE currently August, so this years YTD totals against last years july and august totals summed.

    Hope this make sense. Attached is a dummy spreadsheet to help me work this out.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup & summing multiple columns.

    Ηι

    Can you pls give us some expected results according your sample example?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Vlookup & summing multiple columns.

    In C3 Cell of Client Sheet
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it down...


    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

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Vlookup & summing multiple columns.

    Please try this file.

    Note: If you want to add a sheet name like 2011,2014 etc., then you have to use the same numbers in the Column title & drag the formula.
    Attached Files Attached Files
    Last edited by ramananhrm; 08-20-2013 at 02:35 AM.
    Please click 'Add reputation', if my answer helped you.

  5. #5
    Registered User
    Join Date
    02-12-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Vlookup & summing multiple columns.

    ok so on the first sheet under 2012 heading, i need to calculate (sum) the july to august 2012 figures for the relevant top 2013 client. something like vlookup client in column A, sum columns july to august, or july to december in sheet 2012. IE based on current month.

    the month at the top left corner will change each month as it is a today() formula. So next month the 2012 figures should auto calculate july to september to relevant client on that row.

  6. #6
    Registered User
    Join Date
    02-12-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Vlookup & summing multiple columns.

    Sorry was busy typing reply to Fotis1991.

    *Sixthsense - Thanks for the quick solution.

    **Ramananhrm - Unfortunately it only works if the full years figures are there. Thanks anyway,

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Vlookup & summing multiple columns.

    OFFSET tends to be a volatile function. Use INDEX instead

    =SUM(INDEX('2012'!$B$3:$B$9,MATCH(A3,'2012'!$A$3:$A$9,0),0):INDEX('2012'!$B$3:$M$9,MATCH(A3,'2012'!$A$3:$A$9,0),MATCH($A$1,'2012'!$B$2:$M$2,0)))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  8. #8
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Vlookup & summing multiple columns.

    Hi,
    Just a thought but have you considered making cell A1 on your Client sheet (showing current month) a Drop-down list then you could select any current or prior month to get the result you seek using the suggested formulas?

    Cheers,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Summing multiple columns?
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2013, 10:04 AM
  2. Sumproduct with multiple critera, and summing multiple Columns
    By shanea.kr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-09-2012, 03:12 PM
  3. Summing Vlookup for multiple accounts
    By wilson32294 in forum Excel General
    Replies: 3
    Last Post: 01-31-2012, 03:41 PM
  4. Excel 2007 : Summing multiple IF(ISNA(Vlookup))
    By jseufert in forum Excel General
    Replies: 1
    Last Post: 09-07-2011, 12:42 PM
  5. Matching multiple columns, summing multiple results
    By DamienC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2008, 09:36 AM

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