+ Reply to Thread
Results 1 to 5 of 5

Counting only cells in a row that have data in them.

  1. #1
    Registered User
    Join Date
    10-11-2007
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2302 Build 16.0.16130.20806) 64-bit
    Posts
    30

    Counting only cells in a row that have data in them.

    I have two seperate training columns (IA & PII) and I have inserted the dates that the users have completed each training class. I am trying to count the number of users who have completed both of the training courses. I would like to be able to count the entire range, e3:f22 to determine the total number of users who have completed both courses, however if I have to do it row by row and then total it up at the bottom that is fine too. I have tried many formula's including the following one, but they do not work:

    =COUNTIF(D2:D51,"*")

    I have attached a copy of the spreadsheet.

    Any help you can provide will be greatly appreciated.

    v/r
    Greg
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Does this help =SUMPRODUCT((E3:E22<>"")*(F3:F22<>"")) ?

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524
    Try
    =COUNTA(E3:F22)-COUNTA(B3:B22)

  4. #4
    Registered User
    Join Date
    10-11-2007
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2302 Build 16.0.16130.20806) 64-bit
    Posts
    30
    Arthurbr,

    Your formula worked great. Can you please explain exactly what it all means and what it's doing. As you can tell, I'm not familiar with all the special characters and things. Also, how would I tally up each column individually?

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    There is a very good explanation of SUMPRODUCT at this site

+ 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