+ Reply to Thread
Results 1 to 5 of 5

How to count rows if greater than date?

  1. #1
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    How to count rows if greater than date?

    Hi there, I got this formula:

    =COUNT(--('Commercial Loans'!I3:I1200),--(E3<'Commercial Loans'!I3:I1200))

    I want to count the number of rows that have a date greater than today(E3). For some reason I get 2 as a result when it should be 732. Not sure what I missed or did wrong.

    Thanks in advance!
    Last edited by jgomez; 07-12-2011 at 01:41 PM.

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: How to count rows if greater than date?

    Hi,
    I want to count the number of rows that have a date greater than today(E3).
    =COUNTIF(Commercial Loans'!I3:I1200,">"&E3)
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: How to count rows if greater than date?

    It worked but do you mind if i ask why the "&" I don't get that part...

  4. #4
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: How to count rows if greater than date?

    Didn't want to start a new thread over soemething similar...

    =SUMIF('Commercial Loans'!J3:J1200,"Off",'Commercial Loans'!J3:J1200)

    This formula is supposed to count anything on column J that contains Off... it can be Off, off/AL, John/off... its returning zero though.

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

    Re: How to count rows if greater than date?

    The subject of that question is different than that of the original thread and it's title... it is not really similar...
    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