+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Sumif by month help

  1. #1
    Registered User
    Join Date
    11-24-2010
    Location
    Boca Raton, FL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Sumif by month help

    Hello everyone,

    I have been researching for hours but cannot get this to work. My goal is to sum the amounts of invoices from column D based on the month of the invoice, which the dates of the invoices are in column B. The sum is being displayed in column K.

    The formula I am using (below) is summing all of the invoices, regardless of date.

    Here is the formula I am using:

    =SUM(IF(MONTH($B$2:$B$500)=10,$D$2:$D$500,0))

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sumif by month help

    Did you confirm that formula with CTRL+SHIFT+ENTER not just ENTER as it is an array formula...

    or you can try:


    =SUMPRODUCT(--(MONTH($B$2:$B$500)=10),$D$2:$D$500)
    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.

+ 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