+ Reply to Thread
Results 1 to 6 of 6

Sumif with index and match is returning too many arguments

  1. #1
    Registered User
    Join Date
    08-29-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    12

    Sumif with index and match is returning too many arguments

    Hi,

    I am trying to sum the data in "details sheet" column H into "monthly sheet" based on the period and type match.

    I am not sure where I am going wrong as the column references returned values that they should. However, the values in Col H from details sheet are not being summed up based on the criteria into monthly sheet.

    I am getting zero amounts.

    Please see the attached file. Please help me understand where did I go wrong.

    Thanks,
    jf
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,704

    Re: Sumif with index and match is returning too many arguments

    In D23, type =SUMIFS(Details!$H$4:$H$276,Details!$K$4:$K$276,'Monthly '!$A23,Details!$M$4:$M$276,'Monthly '!D$21) and copy down and across

    Alan

    Here is the syntax for the SUMIFS function

    http://www.techonthenet.com/excel/formulas/sumifs.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-15-2012
    Location
    In a bin
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: Sumif with index and match is returning too many arguments

    Hi jollyfella

    Or a shorter version, in D23 copy across and down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-29-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Sumif with index and match is returning too many arguments

    Thanks Alan. It worked well. I now understand that I was trying to paste a range so that I can match it to one value in the IFS formula.

    Should this have worked with Index and Match as well? Can you also please provide me any syntax for index and match especially if I have to match multiple columns and rows.

    Many Thanks for your help,

    Arvind

  5. #5
    Registered User
    Join Date
    08-29-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Sumif with index and match is returning too many arguments

    Thanks Crisp packet. This also worked :-). Many Thanks jf

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Sumif with index and match is returning too many arguments

    hi arvind,

    it would not have worked with the INDEX/MATCH inside SUMIF(S), if those functions were used in the "range" (or "criteria_range") argument.

    the reason is that due to the construct of those functions, it is only the "criteria" argument that can handle INDEX/MATCH, whereas the "range" portion only - strictly - accepts a range of contiguous rows/cells (which would not be possible through INDEX/MATCH, unless they are being used to return a column).

    that is not to mean that the "criteria" argument can only accept one value at a time - with some creativity, it can be made to accept multiple values.

    i hope that explains the issue.
    Last edited by icestationzbra; 03-02-2014 at 11:40 AM.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ 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. Work Schedule Help - Index & Match Arguments
    By cy83rn3rd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2013, 04:03 AM
  2. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  3. Index Match based on 2 Criteria only returning 1 match
    By stsanders22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 11:26 PM
  4. [SOLVED] Index & Match returning incorrect value. Arrays fixed and exact match used.
    By SDes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 08:29 PM
  5. Replies: 4
    Last Post: 12-21-2011, 08:35 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