SUMIF INDEX MATCH










-3















I am trying to look up and sum up values on a another excel sheet where the sum up values are with certain criterias in a row.



Example below where:



criteria 1=date in Column D,



criteria 2= "SUB" or "RED" in column F.



I am not sure why my formula does not work at the sum stage:



enter image description here










share|improve this question
























  • please clarify what the desired output is and how/why your current formula is not delivering the output you need Include a sample dataset and the formula(s) in your question

    – Chrisvdberge
    Nov 14 '18 at 12:57











  • I need to sum up values in the blue range by looking up data in the yellow range by criteria (date & type). In J12 I am expecting 452,317.76, because there are 2 values for the 01/01//018 in the yellow range, a SUB and a RED. (226,158.88 x 2). I do not know why my formula does not work.

    – Bálint Ákos
    Nov 14 '18 at 14:21












  • Also, I need to do it with INDEX MATCH because the underlying data is in another excel sheet and I cannot have it open all the time. with INDEX MATCH, you can have the underlying excel closed.

    – Bálint Ákos
    Nov 14 '18 at 14:28











  • not sure why you are checking on type, as your explanation of the expected output is just summing it by date (in disregards of type).

    – Chrisvdberge
    Nov 14 '18 at 14:48











  • btw, did you do Ctrl+Shft+Enter to make it an array formula?

    – Chrisvdberge
    Nov 14 '18 at 14:53















-3















I am trying to look up and sum up values on a another excel sheet where the sum up values are with certain criterias in a row.



Example below where:



criteria 1=date in Column D,



criteria 2= "SUB" or "RED" in column F.



I am not sure why my formula does not work at the sum stage:



enter image description here










share|improve this question
























  • please clarify what the desired output is and how/why your current formula is not delivering the output you need Include a sample dataset and the formula(s) in your question

    – Chrisvdberge
    Nov 14 '18 at 12:57











  • I need to sum up values in the blue range by looking up data in the yellow range by criteria (date & type). In J12 I am expecting 452,317.76, because there are 2 values for the 01/01//018 in the yellow range, a SUB and a RED. (226,158.88 x 2). I do not know why my formula does not work.

    – Bálint Ákos
    Nov 14 '18 at 14:21












  • Also, I need to do it with INDEX MATCH because the underlying data is in another excel sheet and I cannot have it open all the time. with INDEX MATCH, you can have the underlying excel closed.

    – Bálint Ákos
    Nov 14 '18 at 14:28











  • not sure why you are checking on type, as your explanation of the expected output is just summing it by date (in disregards of type).

    – Chrisvdberge
    Nov 14 '18 at 14:48











  • btw, did you do Ctrl+Shft+Enter to make it an array formula?

    – Chrisvdberge
    Nov 14 '18 at 14:53













-3












-3








-3








I am trying to look up and sum up values on a another excel sheet where the sum up values are with certain criterias in a row.



Example below where:



criteria 1=date in Column D,



criteria 2= "SUB" or "RED" in column F.



I am not sure why my formula does not work at the sum stage:



enter image description here










share|improve this question
















I am trying to look up and sum up values on a another excel sheet where the sum up values are with certain criterias in a row.



Example below where:



criteria 1=date in Column D,



criteria 2= "SUB" or "RED" in column F.



I am not sure why my formula does not work at the sum stage:



enter image description here







excel excel-formula






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 21:35









Simon Zyx

2,5221828




2,5221828










asked Nov 14 '18 at 12:19









Bálint ÁkosBálint Ákos

11




11












  • please clarify what the desired output is and how/why your current formula is not delivering the output you need Include a sample dataset and the formula(s) in your question

    – Chrisvdberge
    Nov 14 '18 at 12:57











  • I need to sum up values in the blue range by looking up data in the yellow range by criteria (date & type). In J12 I am expecting 452,317.76, because there are 2 values for the 01/01//018 in the yellow range, a SUB and a RED. (226,158.88 x 2). I do not know why my formula does not work.

    – Bálint Ákos
    Nov 14 '18 at 14:21












  • Also, I need to do it with INDEX MATCH because the underlying data is in another excel sheet and I cannot have it open all the time. with INDEX MATCH, you can have the underlying excel closed.

    – Bálint Ákos
    Nov 14 '18 at 14:28











  • not sure why you are checking on type, as your explanation of the expected output is just summing it by date (in disregards of type).

    – Chrisvdberge
    Nov 14 '18 at 14:48











  • btw, did you do Ctrl+Shft+Enter to make it an array formula?

    – Chrisvdberge
    Nov 14 '18 at 14:53

















  • please clarify what the desired output is and how/why your current formula is not delivering the output you need Include a sample dataset and the formula(s) in your question

    – Chrisvdberge
    Nov 14 '18 at 12:57











  • I need to sum up values in the blue range by looking up data in the yellow range by criteria (date & type). In J12 I am expecting 452,317.76, because there are 2 values for the 01/01//018 in the yellow range, a SUB and a RED. (226,158.88 x 2). I do not know why my formula does not work.

    – Bálint Ákos
    Nov 14 '18 at 14:21












  • Also, I need to do it with INDEX MATCH because the underlying data is in another excel sheet and I cannot have it open all the time. with INDEX MATCH, you can have the underlying excel closed.

    – Bálint Ákos
    Nov 14 '18 at 14:28











  • not sure why you are checking on type, as your explanation of the expected output is just summing it by date (in disregards of type).

    – Chrisvdberge
    Nov 14 '18 at 14:48











  • btw, did you do Ctrl+Shft+Enter to make it an array formula?

    – Chrisvdberge
    Nov 14 '18 at 14:53
















please clarify what the desired output is and how/why your current formula is not delivering the output you need Include a sample dataset and the formula(s) in your question

– Chrisvdberge
Nov 14 '18 at 12:57





please clarify what the desired output is and how/why your current formula is not delivering the output you need Include a sample dataset and the formula(s) in your question

– Chrisvdberge
Nov 14 '18 at 12:57













I need to sum up values in the blue range by looking up data in the yellow range by criteria (date & type). In J12 I am expecting 452,317.76, because there are 2 values for the 01/01//018 in the yellow range, a SUB and a RED. (226,158.88 x 2). I do not know why my formula does not work.

– Bálint Ákos
Nov 14 '18 at 14:21






I need to sum up values in the blue range by looking up data in the yellow range by criteria (date & type). In J12 I am expecting 452,317.76, because there are 2 values for the 01/01//018 in the yellow range, a SUB and a RED. (226,158.88 x 2). I do not know why my formula does not work.

– Bálint Ákos
Nov 14 '18 at 14:21














Also, I need to do it with INDEX MATCH because the underlying data is in another excel sheet and I cannot have it open all the time. with INDEX MATCH, you can have the underlying excel closed.

– Bálint Ákos
Nov 14 '18 at 14:28





Also, I need to do it with INDEX MATCH because the underlying data is in another excel sheet and I cannot have it open all the time. with INDEX MATCH, you can have the underlying excel closed.

– Bálint Ákos
Nov 14 '18 at 14:28













not sure why you are checking on type, as your explanation of the expected output is just summing it by date (in disregards of type).

– Chrisvdberge
Nov 14 '18 at 14:48





not sure why you are checking on type, as your explanation of the expected output is just summing it by date (in disregards of type).

– Chrisvdberge
Nov 14 '18 at 14:48













btw, did you do Ctrl+Shft+Enter to make it an array formula?

– Chrisvdberge
Nov 14 '18 at 14:53





btw, did you do Ctrl+Shft+Enter to make it an array formula?

– Chrisvdberge
Nov 14 '18 at 14:53












1 Answer
1






active

oldest

votes


















1














enter image description here



=SUMPRODUCT((Table1[Date]=[@LookupDate])*(Table1[Type]="RED","SUB")*Table1[Value])






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300100%2fsumif-index-match%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    enter image description here



    =SUMPRODUCT((Table1[Date]=[@LookupDate])*(Table1[Type]="RED","SUB")*Table1[Value])






    share|improve this answer



























      1














      enter image description here



      =SUMPRODUCT((Table1[Date]=[@LookupDate])*(Table1[Type]="RED","SUB")*Table1[Value])






      share|improve this answer

























        1












        1








        1







        enter image description here



        =SUMPRODUCT((Table1[Date]=[@LookupDate])*(Table1[Type]="RED","SUB")*Table1[Value])






        share|improve this answer













        enter image description here



        =SUMPRODUCT((Table1[Date]=[@LookupDate])*(Table1[Type]="RED","SUB")*Table1[Value])







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 14 '18 at 22:09









        Michal RosaMichal Rosa

        1,3221814




        1,3221814





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300100%2fsumif-index-match%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            How to read a connectionString WITH PROVIDER in .NET Core?

            Museum of Modern and Contemporary Art of Trento and Rovereto

            In R, how to develop a multiplot heatmap.2 figure showing key labels successfully