+ Reply to Thread
Results 1 to 11 of 11

Google Sheets: Sum up a vLookup formula within an ArrayFormula

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Google Sheets: Sum up a vLookup formula within an ArrayFormula

    Hi,

    I am trying VLOOKUP with Multiple Criteria in Google Sheets Using ArrayFormula, since there are more than one value on the table.

    I need to SUM UP all the numbers that matches the criteria.

    Could you tell me where I can add "SUM" into the below formula? Truly appreciated it


    =ArrayFormula(iferror(VLOOKUP($H$2&H3,{$B$3:$B&$D$3:$D,$E$3:$F},3,0),0))
    Attached Images Attached Images
    Last edited by juno612; 07-11-2020 at 08:02 PM.

  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
    53,048

    Re: Sum up a vLookup formula within an ArrayFormula

    why not just use sumifs (IF it is available in Sheets)?
    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
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    Sorry, I am new on Excel. I just followed an instruction on one of the website but unfortunately didn't provide solution for sum up those have same values.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,371

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    But you aren’t using Excel.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Sum up a vLookup formula within an ArrayFormula

    Quote Originally Posted by FDibbins View Post
    why not just use sumifs (IF it is available in Sheets)?
    Thank you, I added an helper column with concatenate then use Sumif, it works

  6. #6
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    Quote Originally Posted by AliGW View Post
    But you aren’t using Excel.
    I am using Google Sheet, it's works pretty much the same unless you think Google Sheet is Excel's rival gang. I better leave before I get beat up here....

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,371

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    No, not at all! But there are differences, so you need to be clear which you are using.

    I moved this thread to the correct section and adjusted the title.

  8. #8
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    Thank you, I just joking...haha. You are right, I should make it clear, will do next time
    Last edited by AliGW; 07-12-2020 at 02:28 AM. Reason: Please don't quote unnecessarily!

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,371

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  10. #10
    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
    53,048

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    Juno, you may have the option to use sumifS(), the difference being sumif() only takes 1 criteria, while sumifS() can take multiple

  11. #11
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Google Sheets: Sum up a vLookup formula within an ArrayFormula

    Thank you

+ 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. arrayformula with index and small function in google sheeet
    By ranjanashanker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2019, 06:38 AM
  2. [SOLVED] Vlookup for another sheet in google sheets
    By turkanet in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 12-02-2018, 04:42 AM
  3. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  4. Converting index arrayformula from Google Sheets to Excel
    By Kibson in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-03-2018, 10:07 AM
  5. Google Sheets 'Arrayformula' with nested 'Importrange' formula Excel Equivalent?
    By Tamarissa in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 07-10-2018, 04:13 PM
  6. arrayformula from google doc to excel
    By shinkirou in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2013, 11:51 AM
  7. Replies: 4
    Last Post: 08-05-2010, 01:09 PM

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