+ Reply to Thread
Results 1 to 3 of 3

Using IFERROR SUM VLOOKUP Functions together

  1. #1
    Registered User
    Join Date
    07-22-2018
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    3

    Using IFERROR SUM VLOOKUP Functions together

    Hello everyone, I am trying to create a formula to look at my list of expenses and sum the totals of certain things like groceries, if there is no value I want it to come back as a 0. For the life of me I cannot get it to work. Any suggestions?

    =IFERROR(VLOOKUP(A2,D:E,2,FALSE),0)
    this is the formula I am currently using but it is only bringing back the first item cost on the list.

    here is the example:
    Capture.PNG

    any help is appreciated. Thanks

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: Using IFERROR SUM VLOOKUP Functions together

    in general you would use a sumif or sumifs for that. The sumif formula is =SUMIF(RangeYouAreLookingFor,Variable,SumRange)
    so it would look something like =SUMIF($D$3:$D$26,A3,$E$3:$E$26) but for it to work you need the names in D to match the categories names in A.
    A sumifs is similar but the sumifs has the values in column E first then the criteria range1 and criteria1, criteria range2, criteria2, etc.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Using IFERROR SUM VLOOKUP Functions together

    DJAMESRUSHLOW

    Also VLOOKUP and other lookup/match type functions only match on the first values they find in a range.
    Dave

+ 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. Formula problems - IF, IFERROR and INDEX functions
    By Felics99 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-15-2017, 11:16 AM
  2. 2 IFERROR Functions?
    By Janbi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2017, 08:56 AM
  3. IFERROR or VLOOKUP functions
    By Rinkojhon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2016, 01:38 AM
  4. Replies: 6
    Last Post: 07-10-2014, 05:08 PM
  5. [SOLVED] Combining IF and IFERROR functions
    By brown1991 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2014, 05:17 PM
  6. Using IFERROR and FREQUENCY functions in an array
    By mcmassok in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2013, 08:39 AM
  7. Use of nested IFERROR or other suitable functions
    By kyjae in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2013, 08:26 AM

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