+ Reply to Thread
Results 1 to 6 of 6

COUNT IF formula

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    24

    COUNT IF formula

    Hi Everyone, I am working on a team work calendar and need to count the number of days a resource is available.

    The easiest way to explain is as follows:

    The formula needs to check cells D6:G6,J6:N6,Q6:U6,X6:AB6,AE6:AH6 and only count the number of blank cells and output this number in cell AI6.

    Any help would be great.

    Cheers

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: COUNT IF formula

    Not a real elegant way to do this.

    =SUM(COUNTIF(INDIRECT({"D6:G6","J6:N6","Q6:U6","X6:AB6","AE6:AH6"}),""))

    =COUNTIF(D6:G6,"")+COUNTIF(J6:N6,"")+COUNTIF(Q6:U6,"")+COUNTIF(X6:AB6,"")+COUNTIF(AE6:AH6,"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: COUNT IF formula

    Hi Aaron,

    =SUM(COUNTIF(D6:G6,""),COUNTIF(J6:N6,""),COUNTIF(Q6:U6,""),COUNTIF(X6:AB6,""),Countif(AE6:AH6,""))

    That should do the trick?

    Rob
    Last edited by Rob.Marchel; 08-18-2014 at 10:21 PM.

  4. #4
    Forum Contributor
    Join Date
    07-29-2014
    Location
    Oz
    MS-Off Ver
    2010
    Posts
    142

    Re: COUNT IF formula

    =countblank(d6:g6)+countblank(j6:n6)+countblank(q6:u6)+countblank(x6:ab6)+countblank(ae6:ah6)

  5. #5
    Registered User
    Join Date
    09-19-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: COUNT IF formula

    Thanks all, works a treat!

    Much appreciated

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: COUNT IF formula

    You're welcome. We appreciate the feedback!

+ 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] Count formula not count hidden cells in table
    By tlacloche in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2013, 02:35 PM
  2. [SOLVED] Count and average formula needed to not count text field
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-07-2013, 05:30 PM
  3. [SOLVED] Count/No Count for year entered---formula help
    By awest181 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-26-2012, 02:07 PM
  4. Replies: 5
    Last Post: 08-29-2012, 05:25 PM
  5. Count Formula-count the number of times
    By admiral7921 in forum Excel General
    Replies: 3
    Last Post: 01-07-2011, 09:07 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