+ Reply to Thread
Results 1 to 4 of 4

Sumifs Criteria, less than, greater than

  1. #1
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Sumifs Criteria, less than, greater than

    I have been trying to get function that sums my values based on 2 criteria.
    One of the criteria involves a less that < criteria. I want this to be based on a cell where the value can change ie. The date.

    The formula only works when I enter the actual figure not the referenced cell.

    eg.

    =SUMIFS(E4:E9999,G4:G9999,"<27/08/2007",H4:H9999,"Unpaid") works

    but =SUMIFS(E4:E9999,G4:G9999,"<$H$1",H4:H9999,"Unpaid") doesn't

    H1 has the formula =now()

    Also. If anyone can advise me on how I can make the formula work with the reference to "Unpaid" being BLANK it would be appreciated !!!

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

    =SUMIFS(E4:E9999,G4:G9999,"<"&$H$1,H4:H9999,"Unpaid")

    Also. If anyone can advise me on how I can make the formula work with the reference to "Unpaid" being BLANK it would be appreciated !!!
    Try:

    =SUMIFS(E4:E9999,G4:G9999,"<"&$H$1,H4:H9999,"")

    EDIT: misinterpreted 2nd question...hopefully this works....I don't have 2007...so just guessing.
    Last edited by NBVC; 08-27-2007 at 12:26 PM.
    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
    05-07-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Sumifs Criteria, less than, greater than

    Quote Originally Posted by telton View Post
    I have been trying to get function that sums my values based on 2 criteria.
    One of the criteria involves a less that < criteria. I want this to be based on a cell where the value can change ie. The date.

    The formula only works when I enter the actual figure not the referenced cell.

    eg.

    =SUMIFS(E4:E9999,G4:G9999,"<27/08/2007",H4:H9999,"Unpaid") works

    but =SUMIFS(E4:E9999,G4:G9999,"<$H$1",H4:H9999,"Unpaid") doesn't

    H1 has the formula =now()

    Also. If anyone can advise me on how I can make the formula work with the reference to "Unpaid" being BLANK it would be appreciated !!!
    Try =today() instead of now!!, now returns the current time too which is not the format intended for h1 cell.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Sumifs Criteria, less than, greater than

    Almost 6 years old thread....

+ 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