+ Reply to Thread
Results 1 to 6 of 6

Vlookup and sum values along a row

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    Here There Everywhere
    MS-Off Ver
    Excel 2010
    Posts
    13

    Vlookup and sum values along a row

    Hi and thanks for the help on my last topic here's my issue:

    Im trying to vlookup from another worksheet referencing an account number and returning a revenue value from a set coloumn, I have revenue figures for each month and want to pull the sum of 3 months revenue for instance so I can compare 3 months from this year with the same 3 months last year... so far I have this formula

    =SUM(VLOOKUP(A1989,'Other Work Sheet'!$A$1:$IV$65536,{73,74,75,etc},0))

    This formula is pulling only the 1st value in column "73" it is not adding the values of 74, 75, and soo on ...

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,352

    Re: Vlookup and sum values along a row

    I'm guessing that you'd have to commit that formula with Ctrl-Shift-Enter rather than just Enter.

    Looks as though it is an array formula. Give it a try.

    Regards, TMS

    Edit: yep, just tested it out - array enter it.
    Last edited by TMS; 09-20-2012 at 06:49 AM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-19-2012
    Location
    Here There Everywhere
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Vlookup and sum values along a row

    Thanks Bro

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,352

    Re: Vlookup and sum values along a row

    You're welcome. Thanks for the rep.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Vlookup and sum values along a row

    @ dabrad89

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

  6. #6
    Registered User
    Join Date
    09-19-2012
    Location
    Here There Everywhere
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Vlookup and sum values along a row

    apologies as ive overlooked a few important things it seems Thanks
    Last edited by dabrad89; 09-20-2012 at 11:10 AM.

+ 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