+ Reply to Thread
Results 1 to 4 of 4

sumif less than a cell reference

  1. #1
    Forum Contributor
    Join Date
    08-29-2014
    Location
    Chicago, IL
    MS-Off Ver
    2014
    Posts
    164

    sumif less than a cell reference

    I have the following formula and would like to sumif only if less than date that is in cell r2. I tried entering: ,"<"&r2 but that didn't work.

    =SUMIFS(Sheet4!V:V,Sheet4!A:A,C3,Sheet4!N:N,Sheet1!$S$2)

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: sumif less than a cell reference

    "<"&R2 is the correct syntax to do a less than cell criteria.

    Which column contains the date you're comparing with?
    Are you sure they are real dates? Verify with ISNUMBER
    =ISNUMBER(R2)
    Repeat for the cells you want to compare to R2.

    Are they True or False?

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: sumif less than a cell reference

    sometimes I find it easier to convert the date to a number and use the number in the formula instead. For example 1/16/2018 is 43116 as a number.

    but it should work if it is a date, per Jonmo1's post.
    Last edited by Sam Capricci; 01-16-2018 at 02:31 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Contributor
    Join Date
    08-29-2014
    Location
    Chicago, IL
    MS-Off Ver
    2014
    Posts
    164

    Re: sumif less than a cell reference

    ok, my issue was that I didn't have the column with my dates. i entered that in then the sytax and it worked. thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Help with SUMIF using a cell as a reference
    By UK_Richie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-16-2017, 06:18 PM
  2. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  3. SUMIF - Reference cell value in a formula?
    By Hugh Alberson in forum Excel General
    Replies: 1
    Last Post: 08-14-2010, 02:46 AM
  4. Excel 2007 : sumif formula using cell reference
    By Pat B in forum Excel General
    Replies: 2
    Last Post: 07-22-2010, 12:05 PM
  5. Sumif with cell reference as criteria
    By sonyap in forum Excel General
    Replies: 4
    Last Post: 03-04-2010, 10:05 PM
  6. Using Cell Reference in SUMIF
    By tklaty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2007, 10:47 PM
  7. I want to use sumif( > a cell reference) and not a value. How?
    By Corie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-05-2006, 03:25 PM

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