+ Reply to Thread
Results 1 to 35 of 35

Multi-Column Counting - COUNTA or other Options

Hybrid View

  1. #1
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Multi-Column Counting - COUNTA or other Options

    Quote Originally Posted by OnErrorGoto0 View Post
    FYI, here is Haseeb's sheet with my formula beneath his.
    I've taken OnError's sheet and put my formula below his.

    Hope this helps.

    Pete
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-25-2012
    Location
    CA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Multi-Column Counting - COUNTA or other Options

    Pete,

    How would I adjust the cell allocations in order to accomplish my goal of totaling rows from multiple areas of the sheet? I'm not sure what I'd have to edit from your formula.



    Quote Originally Posted by Pete_UK View Post
    I've taken OnError's sheet and put my formula below his.

    Hope this helps.

    Pete

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Multi-Column Counting - COUNTA or other Options

    Quote Originally Posted by argomike View Post
    Pete,

    How would I adjust the cell allocations in order to accomplish my goal of totaling rows from multiple areas of the sheet? I'm not sure what I'd have to edit from your formula.
    It would help if you described your data layout - in your first post you said you had 10,000 rows!

    With my formula you are counting the number of rows in the range and subtracting from that the rows that have all three cells blank, so applying my formula to the ranges that OnError has used, you would have this:

    =ROWS(A7:A32)-SUMPRODUCT((I7:I32="")*(J7:J32="")*(K7:K32="")) + ROWS(A36:A80)-SUMPRODUCT((I36:I80="")*(J36:J80="")*(K36:K80="")) + ROWS(A84:A109)-SUMPRODUCT((I84:I109="")*(J84:J109="")*(K84:K109=""))

    Hope this helps.

    Pete

+ 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