+ Reply to Thread
Results 1 to 8 of 8

Count No. of persons with multiple conditions

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Count No. of persons with multiple conditions

    Hi,

    Need a formula to count No. of persons in each shift based on multiple criteria.

    An excel file attached with necessary details.

    Pl. help.

    Thanks,
    Nagesh.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Count No. of persons with multiple conditions

    No expected results, so a guess:

    =SUMPRODUCT((Sheet1!$D$2:$D$18=$B3)*(INDEX(Sheet1!$E$2:$AI$18,,MATCH($C$1,--Sheet1!$E$1:$AI$1,0))=C$2))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Count No. of persons with multiple conditions

    Another way,

    C3
    Please Login or Register  to view this content.
    copy down and across.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Count No. of persons with multiple conditions

    worksheet or Tab name : Summary

    Cell C3 drag down and across

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    OR

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 03-23-2024 at 08:46 PM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Count No. of persons with multiple conditions

    In C3 copied to full range.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Count No. of persons with multiple conditions

    Its working. Thank you So much @Glenn Kennedy, @Windknife, wk9128.
    @ ksrinivasamurthy the formula need to consider date number (in C1) also.

    Anyhow thank you so much once again.

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Count No. of persons with multiple conditions

    @nagesh.tvsr You're Welcome. Glad to help . Thank You for the feedback and rep.

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Count No. of persons with multiple conditions

    You are welcome.

+ 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] Analysis of data from multiple persons on multiple topics
    By Saeber4777 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-23-2023, 11:35 AM
  2. count with multiple conditions
    By xsiededios in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2013, 08:25 AM
  3. [SOLVED] VLOOKUP to count instances of a persons name
    By mattc_uk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-11-2012, 05:51 PM
  4. Count with Multiple Conditions
    By george_g in forum Excel General
    Replies: 5
    Last Post: 03-27-2011, 04:44 AM
  5. COUNT on Multiple Conditions
    By nsd3 in forum Excel General
    Replies: 5
    Last Post: 09-13-2010, 02:51 AM
  6. Count if with Multiple conditions
    By neilpateluk in forum Excel General
    Replies: 4
    Last Post: 12-16-2008, 07:07 AM
  7. Count unique logs with multiple conditions of multiple sheets
    By Robert Bob in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-12-2007, 12:49 AM

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