+ Reply to Thread
Results 1 to 2 of 2

Count rows, based on two criteria across multiple columns (with blanks)

  1. #1
    Registered User
    Join Date
    07-15-2021
    Location
    Las Vegas, NV
    MS-Off Ver
    2016
    Posts
    1

    Count rows, based on two criteria across multiple columns (with blanks)

    I need a formula in one worksheet to count rows on a second worksheet, based on criteria in the second and a third worksheets. The range is C3:CX41, with multiple blanks. I need to know how many people in a given home participated in at least one activity (marked with an "X" on the worksheet containing the data). For example, there should be 2 of the 3 people in 1300 W that participated in at least one activity, but every formula I try gives me a different number, none of which is 2. Any assistance provided would be most appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Count rows, based on two criteria across multiple columns (with blanks)

    The problem that you are having is that your layout is not normalized for analysis. You would be better served if you had your data in the following format.

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    1
    Name Home Date Activity
    2
    Amelia 1300W
    6/1/2021
    Bingo
    3
    Amelia 1300W
    6/1/2021
    Snack
    Sheet: Sheet1

    With your data in this manner, you can then use =Countifs function to filter your data as required.
    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

+ 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 if based on rows that contain multiple OR criteria
    By Enounce in forum Excel General
    Replies: 4
    Last Post: 02-27-2020, 10:07 AM
  2. Replies: 1
    Last Post: 02-09-2017, 05:55 PM
  3. [SOLVED] Count number of occurrences based on criteria in multiple columns and rows
    By gerryger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2015, 08:13 PM
  4. [SOLVED] count and sum based on criteria in multiple columns
    By BBCline in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-14-2012, 04:08 PM
  5. Replies: 1
    Last Post: 11-20-2010, 05:38 AM
  6. count rows based on multiple criteria
    By indyman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2007, 03:40 PM
  7. Deleting blanks rows based on multiple criteria
    By Pedros in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2006, 12:44 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