+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : SUMIF function (problems)

  1. #1
    Registered User
    Join Date
    12-17-2008
    Location
    AMSTERDAM
    Posts
    5

    SUMIF function (problems)

    Hello,
    I am using this formula in excel 2007 and am getting a 0 value, which I should not.
    = SUMIF($M$2:$M$109401,A4&$B$3,$J$2:$J$109401)

    Can anyone tell me what am i doing wrong and give me any tips on this?

    Thank you in advance.
    Last edited by alba123; 12-18-2008 at 10:17 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    What exactly is in A4 and B3 and what is it matching against in M2:M109401?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-17-2008
    Location
    AMSTERDAM
    Posts
    5
    In A4 there is a company code which helps me identify a company lets say @IBM for IBM. B3 contains year value, 2000. M2:M109401 contains company codes and years lets say@IBM2000. And J contains estimate values which i want to sum up for different companies. I used the COUNTIF formula to get the number of estimates and i got the results i want it. I do not know what am i doing wrong this time with this formula:S .

    Thanks again,

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Does this work?

    = SUMPRODUCT(--($M$2:$M$109401=A4&$B$3),--$J$2:$J$109401)

  5. #5
    Registered User
    Join Date
    12-17-2008
    Location
    AMSTERDAM
    Posts
    5
    Yes it does!!! thanks alot.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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