+ Reply to Thread
Results 1 to 4 of 4

SUMIF not working?

  1. #1
    Forum Contributor
    Join Date
    10-03-2005
    Posts
    185

    SUMIF not working?

    I have a column with dates and text values in it. I am trying to use sumif to count the cells that have dates in it but for some reason its not counting all the dates.

    =COUNTIF('2007_Deals'!$D$3:$D$119,"<=TODAY()")

    I tried the following formula (and the copied down) in separate column and I get "yes" for all the cells that have dates in it.

    =IF(D11<=TODAY(),"yes","no")

    My cells that have text in it are also formated as date so I can't use text within sumif. And I don't want to go to each cell and change the format for the cells that are not dates.

    Thank you,
    Jay

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Jay

    That isn't comparing the dates to today's date it's comparing them to the text string "<=TODAY()".

    Try this.

    =COUNTIF('2007_Deals'!$D$3:$D$119,"<="&TODAY())
    Last edited by Norie; 11-08-2007 at 11:17 AM.

  3. #3
    Registered User
    Join Date
    10-29-2007
    Posts
    38
    =COUNTIF('2007_Deals'!D1:D18,"<="&TODAY())
    Richard Walker

    For training and consultancy visit www.imits.co.uk

  4. #4
    Forum Contributor
    Join Date
    10-03-2005
    Posts
    185

    Thank you

    Works perfectly now. Thank you for quick replies.

    Jay

+ 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