+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23

Thread: Converting Countifs to 2003 formula

  1. #16
    Registered User
    Join Date
    09-04-2008
    Location
    Cherry Hill, NJ
    MS-Off Ver
    2007
    Posts
    37
    Thank you! It worked. Still building my formula skills.

  2. #17
    Registered User
    Join Date
    10-24-2008
    Location
    Chicago
    Posts
    2

    Help with 2007 to 2003

    Okay, perhaps I'm just missing something here. It seems quite simple to convert the COUNTIFS function to a 2003 equivalent but I'm missing it.

    I have a worksheet with several thousand rows of data and need to get a count of one column ("C") with dates that fall between a certain range.

    I got the following example to work in 2007 but am not sure how to convert it for 2003:

    =COUNTIFS(C:C,">=9/1/2008",C:C,"<=10/17/2008")

    Any help would be greatly appreciated.

  3. #18
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    844
    One way:
    =SUMPRODUCT((C1:C5000>=DATE(2008,9,1))*(C1:C5000<=DATE(2008,10,17))*1)

  4. #19
    Registered User
    Join Date
    10-24-2008
    Location
    Chicago
    Posts
    2

    Perfect!!

    Thank you so much for your quick reply. That worked exactly as expected!!!

  5. #20
    Registered User
    Join Date
    07-21-2011
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Converting Countifs to 2003 formula

    I am trying to convert this to 2003 in a hurry. My 4th up manager doubts I can get this done.... at all! Any help will help. Thank you.

    =_xlfn.COUNTIFS(DATA!$BS$5:$BS$1000,TRUE,DATA!$D$5:$D$1000,'summary NEW'!E$8,DATA!$C$5:$C$1000,1)

  6. #21
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    844

    Re: Converting Countifs to 2003 formula

    You should really have started a new thread. Threads marked as solved are often ignored.

    Try this:
    =SUMPRODUCT((Data!$BS$5:$BS$1000=TRUE)*(Data!$D$5:$D$1000='summary New'!E$8)*(Data!$C$5:$C$1000=1)*1)

  7. #22
    Registered User
    Join Date
    07-21-2011
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Converting Countifs to 2003 formula

    This did not work. It is giving me a 1 as a result.

    This is the information I am trying to count:

    DATA!$BS$5:$BS$1000 is either "TRUE" or "FALSE"
    DATA!$D$5:$D$1000 is a year (2007)
    DATA!$C$5:$C$1000 is either a "1" or "0"

  8. #23
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    844

    Re: Converting Countifs to 2003 formula

    Actually it is working. If it were not working, the formula result would either be an error or 0 (zero). It is finding one occasion where a row has a TRUE (the Boolean, not the text "TRUE") value in the BS column, a value in the D column that matches the value in E8 on the "summary New" tab and a 1 (the number, not a text "1") in the C column.

    I've attached a sample sheet. To eliminate scrolling, I changed the BS column to the B column and linked the value on the summary New tab to cell B2 on the Data tab.
    Attached Files Attached Files

+ 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. A formula template
    By ajaysehgal in forum Excel General
    Replies: 2
    Last Post: 08-25-2008, 10:29 AM
  2. Replies: 4
    Last Post: 05-16-2008, 02:27 AM
  3. Replies: 7
    Last Post: 11-18-2007, 02:32 PM
  4. How do I subsitute part of a formula linked to another workbook?
    By Scej12 in forum Excel Worksheet Functions
    Replies: 11
    Last Post: 08-03-2007, 10:10 AM
  5. Excel Formula Help (Excel 2003)
    By boka in forum Excel General
    Replies: 1
    Last Post: 10-13-2006, 02:11 AM

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.2.0