+ Reply to Thread
Results 1 to 15 of 15

Countif if counting 65536 cells (excel 2003) with count if blank

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Countif if counting 65536 cells (excel 2003) with count if blank

    Please Login or Register  to view this content.
    For some reason the result is everyline in the column, I have tried "clear all" on the empty cells but to no joy.

    Does anyone have any idea why this is happening.

    Side issue I have used the below code to try to counter this and it only produces results on values with a date, anything with writing (i.e. "Yes", "No") isn't included in the count.

    Again any ideas why?

    Please Login or Register  to view this content.

  2. #2
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    can you post your example

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    of what, the result?

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    You may use:
    =COUNTIF(Active!C:C,"<>")

  5. #5
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    Thanks Iz, that works perfectly,

    Still having the problem of only counting dates with the other formula. I don't know why this is only counting dates

    Please Login or Register  to view this content.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    That's standard COUNTIF behaviour if you use ">0" or similar it only counts numbers (dates are simply formatted numbers). If you wanted to count any text or number COUNTA is the normal option, e.g.

    =COUNTA(Active!C:C)
    Audere est facere

  7. #7
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    Please Login or Register  to view this content.
    I tried this and it started counting all cells in the column again (65527) as soon as I placed it into the array?
    Last edited by Sc0tt1e; 12-06-2013 at 09:56 AM.

  8. #8
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    why you don"t post a example

  9. #9
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    Becasue it is confidential data and I can't be putting it on the web.
    Last edited by Sc0tt1e; 12-06-2013 at 10:18 AM.

  10. #10
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    I assumed you were using COUNTA with a single range as per your example. Can you explain what you are attempting to do with this formula?

    =COUNTA(IF((Active!J$10:J$65536<>"")*(Active!K$10:K$65536=""),Active!J$10:J$65536))

  11. #11
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    By placing an example, the formulas will be translated, the note that my mother tongue is different
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    I am attempting to creat MI (Management Information).

    If column J has a value (Yes or date) and Column K is empty then the unit of work is outstanding and the value in column J needs to be counted, If both cells have a value then it has moved from this stage and can be excluded from the O/s count by stage.

    This then needs to be replicated for the 5 different stages so the o/s cases in stages 1-4 and the completed cases in Stage 5 (should) add to the total cases count already created by work allocation number.

    Stage 1 <>"", Stage 2 "" = Count
    Stage 2 <>"", Stage 3 "" = Count
    Stage 3 <>"", Stage 4 "" = Count
    Stage 4 <>"", Stage 5 "" = Count
    Stage 5 <>"" = Completed cases = Count

    Stage 1 = J
    Stage 2 = K
    Stage 3 = L
    Stage 4 = M
    Stage 5 = N

    This way I can track all the cases within a specific work stream, find bottlenecks and re-allocate resources according to workload need.

  13. #13
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    To count rows where column J is populated but K isn't try using SUMPRODUCT like this

    =SUMPRODUCT((Active!J$10:J$65536<>"")*(Active!K$10:K$65536=""))

    If you don't really have 65527 lines of data then it would be better to use a smaller range

  14. #14
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    I don't know sumproducts, I haven't had the time to get my head around it and the spreadsheet is live and people will continue to us ethe spreadsheet so cell range will have to be whole columns.

  15. #15
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Countif if counting 65536 cells (excel 2003) with count if blank

    SUMPRODUCT allows you to sum or count with multiple conditions (SUMIF and COUNTIF only allow one condition - SUMIFS and COUNTIFS are preferable for multiple conditions but only available in Excel 2007 or later versions).

    It's up to you what ranges you use (You can't actually use the whole column in Excel 2003, SUMPRODUCT doesn't allow that but, starting at row 10 is OK), but it can impact on speed of calculation.

+ 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. [SOLVED] Long Countif statement Not to Count Blank Cells
    By Jiptastic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2013, 01:44 PM
  2. COUNTIF without counting blank cells
    By Melgaard in forum Excel General
    Replies: 5
    Last Post: 03-03-2010, 11:48 PM
  3. My Countif formula is not accurately counting- Need to cound blank cells
    By mrgillus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2009, 02:59 PM
  4. [SOLVED] Errors in COUNT, COUNTA, COUNTIF when counting merged cells
    By Outback in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2006, 12:35 PM
  5. How do I use countif to count values excluding blank cells
    By Glenda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2006, 12:30 PM

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