Results 1 to 5 of 5

Thread: Help with SUMIF formula
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Oct 2018
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Help with SUMIF formula

    Hi everyone,

    I've tried reading a lot of articles in excel support with no luck. I am trying to do a sumif formula but i keep getting a zero when there is clearly data to be calculated.

    I have two pages
    I am trying to calculate the field on sheet2 column $H2:$H20000
    The cells need to look for matching data from Sheet1 cells I1 and J1 and put the total in L1
    It has to find the data that matches in sheet2 columns D2:D20000 and E2:E20000
    Sheet1, I1 will be somewhere in sheet2 D2:D20000
    Sheet1, J1 will be somewhere in sheet2 E2:E20000

    The formula I can't figure out but tried using is
    SUMIF(Sheet1!D:E,I3:J3,Sheet1!H2:H20000)

    Thanks for any help or steer me in the right direction.

  2. #2
    Board Regular sandy666's Avatar
    Join Date
    Oct 2015
    Posts
    2,806
    Post Thanks / Like
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Help with SUMIF formula

    right direction?

    sure, post representative example of your source data and expected result (or link to the shared excel file)
    I know you know but I forgot my Crystal Ball and don't know what you know



    In the first post, show the type of machine (PC / Mac) and the Office version you are working on
    impossible things we do on the spot. for miracles you need to wait for a while

  3. #3
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    28,041
    Post Thanks / Like
    Mentioned
    467 Post(s)
    Tagged
    47 Thread(s)

    Default Re: Help with SUMIF formula

    Try
    =SUMIFS(Sheet2!H2:H20000,Sheet2!D2:D20000,I1,Sheet2!E2:E20000,J1)
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  4. #4
    New Member
    Join Date
    Oct 2018
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Help with SUMIF formula

    This ended up working which is weird because it is almost the same formula, just removed the specific cell set of 2 : 20000.
    =SUMIFS(Sheet2!H:H,Sheet2!D:D,I1,Sheet2!E:E,J1)
    Last edited by LordEvil; Jul 27th, 2019 at 09:56 AM.

  5. #5
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    28,041
    Post Thanks / Like
    Mentioned
    467 Post(s)
    Tagged
    47 Thread(s)

    Default Re: Help with SUMIF formula

    Glad it's working & thanks for the feedback
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •