+ Reply to Thread
Results 1 to 5 of 5

SUMIF formula not working

  1. #1
    Forum Contributor
    Join Date
    10-31-2010
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    150

    SUMIF formula not working

    =SUMIF(D4:D24,$D4>$A$1,C4:C24)



    can someone tell me where i have gone wrong with this formula

    D4:D24 are dates with a =DATE(YEAR(TODAY()),MONTH(TODAY()),29) formula

    and A1 is a =today()

    what im after is any date that has past todays date then add the £ cost from column C

  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 formula not working

    try:

    =SUMIF(D4:D24,">"&$A$1,C4:C24)
    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
    Forum Contributor
    Join Date
    10-31-2010
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    150

    Re: SUMIF formula not working

    no thats not working it just brings back the result as FALSE

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

    Re: SUMIF formula not working

    I don't think SUMIF ever returns FALSE.

    Are you sure you used my formula?

    It sums column C where column D is greater than the entry made in A1

  5. #5
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: SUMIF formula not working

    NBVC's formula works.

    another way is

    Please Login or Register  to view this content.

+ 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