+ Reply to Thread
Results 1 to 12 of 12

Struggling with Vlookups

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Struggling with Vlookups

    I posted before but struggling with this site too lol.

    Trying to get column O to add up all the sheets. The present formula includes in cell O15 includes one sheet.

    Thanks,

    Dale
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Struggling with Vlookups

    try this, copied down...
    =SUM('101:125'!O15)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Struggling with Vlookups

    1) On the Facilities sheet, in column S starting at S1, list the sheet names that you want to sum.

    S1: 101
    S2: 102
    .
    .
    .
    .
    S14: 125

    2) In cell O15, enter this array formula:

    =SUM(SUMIF(INDIRECT($S$1:$S$14&"!B:B"), B15, INDIRECT($S$1:$S$14&"!O:O")))

    ...confirm it by pressing CTRL-SHIFT-ENTER to activate the array. You will see curly braces { } appear around your formula to indicate the array is active and the first value of 13,000 should appear.

    3) Copy O15 down the column O as needed.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    09-17-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Struggling with Vlookups

    This would work but doesn't as the categories in column B are staggered so a VLookup of some kind is needed?

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Struggling with Vlookups

    JBeaucaire, I tried it and it just did not work for me.

    Thanks for trying,

    Dale

  6. #6
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Struggling with Vlookups

    You can do it the low budget way: =VLOOKUP($B16,'101'!B2:P133,14,)+VLOOKUP($B16,'102'!B2:P133,14,)+VLOOKUP($B16,'103'!B2:P133,14,)+... or SUM(vlookup($B16,'101'!B2:P133,14,),VLOOKUP($B16,'102'!B2:P133,14,),....)

  7. #7
    Registered User
    Join Date
    09-17-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Struggling with Vlookups

    63Willys, Neither worked for me. Guess I am on the verge of giving up.

    Dale

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Struggling with Vlookups

    some way same as JB with sumproduct

    CAPEX REPORT AUG 2012 1 Final dp (1).xls
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Struggling with Vlookups

    I don't see what the problem is. Here's your file back with those exact steps installed from post #3.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-17-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Struggling with Vlookups

    Looks all good to me. I never used the "outer parenthesis"{} and plus (stupid mistake) I put S1:101 etc. into cell S1 on down lol

    Thanks,

    DP

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Struggling with Vlookups

    If that takes care of your need, please select Thread Tools from the menu above and mark the thread as solved. Thanks.

  12. #12
    Registered User
    Join Date
    09-17-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Struggling with Vlookups

    Thanks all

+ 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