+ Reply to Thread
Results 1 to 2 of 2

Count and Countif within existing formula

  1. #1
    Registered User
    Join Date
    07-29-2009
    Location
    Suffolk, England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Question Count and Countif within existing formula

    Hi There,

    I am trying to do two different counts within my existing formula. If you look at the attachment, in I2 and J2 the formula is adding up the response times from column E, but I would like to change these to do the following;

    I2 - count the total number of records that match (for I2 answer should be 8)
    J2 - cound the total number of records that equal N/A (for J2 answer should be 5)

    Thanks in advance for your help. Chloe
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Count and Countif within existing formula

    Quote Originally Posted by chloesnowling View Post
    Hi There,

    I am trying to do two different counts within my existing formula. If you look at the attachment, in I2 and J2 the formula is adding up the response times from column E, but I would like to change these to do the following;

    I2 - count the total number of records that match (for I2 answer should be 8)
    J2 - cound the total number of records that equal N/A (for J2 answer should be 5)

    Thanks in advance for your help. Chloe
    Hi
    Not sure about I2 Whether you want count total date make 8 or number count 3. First Try I2 =COUNTIF(A:A,H2) make 8. If count number put in =COUNTIFS(A:A,H2,E:E,">0") make 3. Then J2 =COUNTIFS(A:A,H2,E:E,"N/A") make 5. happy with it then copy down.

+ 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