+ Reply to Thread
Results 1 to 5 of 5

CountIF

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    100

    CountIF

    How can I minus 1 from this COUNTIF. Basically counting non blanks - but it keeps counting the title as well, even when i change it to start at row D2 (it just jumps back to D1 next time)

    =COUNTA(RAW_DATA_2!$D$1:$D$215)

    Thanks
    Last edited by stevewilde; 07-07-2009 at 08:41 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: CountIF

    =counta(raw_data_2!$d$1:$d$215)-1
    Never use Merged Cells in Excel

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: CountIF

    This formula will ignore cell D1 and return the count of non-blank cells in D2:D215:
    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    06-11-2009
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    100

    Re: CountIF

    That was so simple - thanks guys!!

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: CountIF

    Isn't that what you said you tried?

    even when i change it to start at row D2 (it just jumps back to D1 next time)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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