+ Reply to Thread
Results 1 to 8 of 8

COUNT IF Formula

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    8

    COUNT IF Formula

    From the attached data is it possible to create a formula to count the number of staff in post that are line managers?
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: COUNT IF Formula

    Try this.......

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,824

    Re: COUNT IF Formula

    Try this: =SUMPRODUCT(($D$6:$D$13=1)*($E$6:$E$13="Yes"))
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,824

    Re: COUNT IF Formula

    @sktneer

    OP profile is shown using XL2003. Countifs is not available in that version.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: COUNT IF Formula

    @ alansidman

    Oh yes. I didn't see that. Thanks for reminding though.

  6. #6
    Registered User
    Join Date
    02-25-2014
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: COUNT IF Formula

    @alansidman thanks that works!

    If the data was on Sheet 1 (as in the attached spreadsheet) and I was calculating the formula in Sheet 2 how would that change the formula?

  7. #7
    Registered User
    Join Date
    02-25-2014
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: COUNT IF Formula

    @alansidman thanks that works!

    If the data was on Sheet 1 (as in the attached spreadsheet) and I was calculating the formula in Sheet 2 how would that change the formula?

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: COUNT IF Formula

    In that case the formula will be like this.......

    =SUMPRODUCT((Sheet1!D6:D13=1)*(Sheet1!E6:E13="Yes"))

+ 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] text count issue, it seems to count the formula also?
    By randypang in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2013, 03:27 AM
  4. [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
  5. Replies: 5
    Last Post: 08-29-2012, 05:25 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