+ Reply to Thread
Results 1 to 7 of 7

SUMIFS Formula coming up #Value

  1. #1
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    SUMIFS Formula coming up #Value

    Hi i have used this with sumIF and it worked but trying it with SUMIFS it comes up #Value

    =SUMIFS('Monthly View'!D4:AA7,'Monthly View'!D3:AA3,"=In")

    I want to sum the values in D4:AA7, if the value in D3:AA3 is equal to In

    Think of a inventory system

    Monthly View has columns in and Out i want to add all the parts that are received for the year and subtract them from all the parts issued for the year.

    As this seemed complicated i started by just calculating the Received parts and will do the same for issued parts then once the totals were calculated do the subtraction.


    Any help is appreciated

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: SUMIFS Formula coming up #Value

    You may need to read up about SUMIFS;

    https://support.office.com/en-us/art...6-611cebce642b

    In particular;

    Understand the difference between SUMIF and SUMIFS.

    The order of arguments differ between SUMIFS and SUMIF. In particular, the sum_range argument is the first argument in SUMIFS, but it is the third argument in SUMIF. This is a common source of problems using these functions.

    If you're copying and editing these similar functions, make sure you put the arguments in the correct order.

  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,406

    Re: SUMIFS Formula coming up #Value

    Also with SUMIFS the sum_range and criteria ranges must be of the same dimensions. D4:AA7 has 4 rows D3:AA3 has one.

    The probable reason this worked with SUMIF has to do with a unique property of SUMIF. It will redimension the ranges to match. I am guessing that is what happened earlier.

    In XOR LX's blog he mentions this about half way down the page.
    However, SUMIF possesses the rather useful property that, if the requirement that the two ranges (range and sum_range) be of an equal dimension is not satisfied, then the sum_range is redimensioned such that its dimensions match that of the range.
    Dave

  4. #4
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209
    Quote Originally Posted by FlameRetired View Post
    Also with SUMIFS the sum_range and criteria ranges must be of the same dimensions. D4:AA7 has 4 rows D3:AA3 has one.

    The probable reason this worked with SUMIF has to do with a unique property of SUMIF. It will redimension the ranges to match. I am guessing that is what happened earlier.

    In XOR LX's blog he mentions this about half way down the page.
    How do i sum values in multiple columns with multiple criteria. The 1 row formula in where i am storing in and out as the values.

    The range that is 4 rows has the data that i want to add ?

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

    Re: SUMIFS Formula coming up #Value

    I think we are going to need a representative sample file.

    With multiple columns and multiple criteria I suspect you will need to transpose one of the criteria but without data to test it is difficult to say.

    If you are not familiar with how to do this:
    To attach a file to your post: (Please no pics or screenshots ... saves retyping data.),

    be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”
    The file name will appear at the bottom of your reply.

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: SUMIFS Formula coming up #Value

    @UltimateNeo
    BTW,please don't quote entire posts unnecessarily. They are just clutter and make threads hard to read.
    Use the "Quick reply" instead
    Thanks

  7. #7
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    Re: SUMIFS Formula coming up #Value

    Sorry i was on my phone, so i cant finds all the options in the mobile version of the website.

    I clicked reply and it just did that

+ 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. can't resolve formula keeps coming up with #Name?
    By allyq in forum Excel General
    Replies: 4
    Last Post: 07-02-2018, 11:50 AM
  2. VLOOKUP Formula coming back with NA#
    By monza2 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-18-2012, 01:38 AM
  3. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  4. Need help coming up with a formula
    By Icyblue024 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2012, 04:13 PM
  5. Formula to warn end date coming up
    By The Hose in forum Excel General
    Replies: 1
    Last Post: 06-26-2011, 09:51 PM
  6. Values not coming in few cell but coming in rest all cells
    By rashmib in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 11:19 AM
  7. need help coming up with a formula.
    By Sterling in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 12-13-2005, 08:08 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