+ Reply to Thread
Results 1 to 7 of 7

Sumif Question

  1. #1
    Registered User
    Join Date
    10-31-2007
    Posts
    14

    Sumif Question

    Trying to add a formula in my spreadsheet that will add every amount in column AQ8:AQ200 if the date in AQ8:AQ200 is march.

    The format for the date is 3-12-09.

    Here is what I'm trying.

    =SUMIF(AU8:AU200,MONTH=3,AQ8:AQ200)
    Last edited by Gingerbreadman; 04-01-2009 at 01:27 PM.

  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 Question

    Probably:

    =SUMPRODUCT(--(MONTH(AQ8:AQ200)=3),AU8:AU200)
    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
    10-31-2007
    Posts
    14

    Re: Sumif Question

    I tried that and I'm get a 0 as my value.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sumif Question

    I think the column references in NBVC's formula need to be reversed based on your original SUMIF suggestion...

    =SUMPRODUCT(--(MONTH(AU8:AU200)=3),AQ8:AQ200)

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

    Re: Sumif Question

    The formula looks at dates (formatted as dates not text strings) in range AQ8:AQ200 and sums AU8:A200 as I thought was your requirement.. you may need to reverse the ranges if the reverse is true.

  6. #6
    Registered User
    Join Date
    10-31-2007
    Posts
    14

    Re: Sumif Question

    It works, Thanks for the fast response

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

    Re: Sumif Question

    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