+ Reply to Thread
Results 1 to 5 of 5

Sum of missing values

  1. #1
    Forum Contributor
    Join Date
    10-09-2018
    Location
    Quebec, Canada
    MS-Off Ver
    Office 365
    Posts
    127

    Sum of missing values

    Hello Forum,

    I need a formula that would sum all the values corresponding to the data in a range that are missing in another range.

    You will see exactly what I need in the attached file.

    Thank you all and good day!
    Attached Files Attached Files

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

    Re: Sum of missing values

    Try

    =B7-SUMPRODUCT(SUMIFS(B2:B6,A2:A6,A9:A11))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,825

    Re: Sum of missing values

    Try this formula in B13:

    =SUMPRODUCT(--(ISERROR(MATCH(A2:A6,$A$9:$A$11,0))),B2:B6)

    Adjust the ranges to suit your real data.

    Hope this helps.

    Pete

  4. #4
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Sum of missing values

    Trivially, I guess it's also:

    Please Login or Register  to view this content.
    But you're not using a formula to find the values in B9:B11 (VLOOKUP would work for you here).

    WBD
    Office 365 on Windows 11, looking for rep!

  5. #5
    Forum Contributor
    Join Date
    10-09-2018
    Location
    Quebec, Canada
    MS-Off Ver
    Office 365
    Posts
    127

    Re: Sum of missing values

    Hello there,

    All of your solutions work, thank you so much.

    The winner is WideBoyDixon though. First I felt embarrassed and ashamed and then I laughed so hard at myself with the simplicity of the formula. In French we have something that goes like "Why would I do things simple when I can do them complicated...", and I guess today is THE day I will do everything complicated!

    Trivially Solved!

+ 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. Missing values how to Average each midnight (after 23 values)
    By mathphdresearcher in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-22-2018, 03:08 AM
  2. [SOLVED] vba import missing values and paste as values
    By izk630 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-23-2017, 09:31 AM
  3. Replies: 1
    Last Post: 12-19-2014, 06:38 AM
  4. Replies: 1
    Last Post: 04-30-2014, 05:49 PM
  5. Find missing values - based on looking up a list, comparing against index values
    By anakaine in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 01-22-2013, 01:31 AM
  6. Comparing values in two columns and displaying missing values in n
    By cpetta in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2005, 11:29 PM
  7. Replies: 1
    Last Post: 04-02-2005, 01:06 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