+ Reply to Thread
Results 1 to 4 of 4

COUNTIFS across a column range

Hybrid View

  1. #1
    Registered User
    Join Date
    04-08-2021
    Location
    Swindon, UK
    MS-Off Ver
    MS365
    Posts
    26

    COUNTIFS across a column range

    Hi everyone

    =COUNTIFS(C5:C500,"Active",M5:T500,"<>")

    Doesn't work because of the M:T range involved.

    Is the solution SUMPRODUCT?

    =SUMPRODUCT((C5:C500="Active")*(M5:T500="<>"))

    This fails.

    How can I count non-blank cells across a range of columns??

    THANKS

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,769

    Re: COUNTIFS across a column range

    How about
    Formula: copy to clipboard
    =SUMPRODUCT((C5:C500="Active")*(M5:T500<>""))

  3. #3
    Registered User
    Join Date
    04-08-2021
    Location
    Swindon, UK
    MS-Off Ver
    MS365
    Posts
    26

    Re: COUNTIFS across a column range

    Gosh is it that simple. I was so close.

    Perfect

    Thanks so much

    HAPPY CHRISTMAS

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,769

    Re: COUNTIFS across a column range

    Glad to help & thanks for 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] Countifs based on date range and value of cells in a column
    By nickpavlov in forum Excel General
    Replies: 7
    Last Post: 04-27-2023, 09:25 PM
  2. COUNTIFs for a multi-column range?
    By bumchicken in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2021, 10:46 AM
  3. [SOLVED] COUNTIFS breaking when used with multiple column range
    By HallwayOrchard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-18-2020, 11:04 AM
  4. [SOLVED] Query with COUNTIFS across a range vs a column
    By galvinpaddy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2018, 12:45 PM
  5. Using countifs with date range, and summing values in that range
    By bmcoonan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2013, 11:28 AM
  6. [SOLVED] COUNTIFS within a date range but only if a second column meets a specified criteria
    By HeathWilD in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-29-2012, 01:14 AM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 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