Results 1 to 2 of 2

Thread: COUNTIFS, LEN (and SUMPRODUCT?)

  1. #1
    Board Regular
    Join Date
    Sep 2018
    Posts
    79
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default COUNTIFS, LEN (and SUMPRODUCT?)

    Hi All,

    I'm looking to do a countifs formula with one of the criteria being a cell length of 9. I've done some research and found the following:

    =SUMPRODUCT(--(LEN(C2:C1000)=9))
    Can you help with how I can combine this with my countifs:

    =COUNTIFS(A2:A1000,"DEFINED",Range2,Criteria2
    Many thanks
    Last edited by horizonflame; Sep 14th, 2019 at 01:18 PM.

  2. #2
    MrExcel MVP
    Join Date
    May 2009
    Posts
    16,487
    Post Thanks / Like
    Mentioned
    37 Post(s)
    Tagged
    8 Thread(s)

    Default Re: COUNTIFS, LEN (and SUMPRODUCT?)

    Do you want something like this?
    Code:
    =SUMPRODUCT((LEN(C2:C1000)=9)*(A2:A1000="DEFINED"))
    Joe

    When I was a young man I knew everything. Now that I'm older, I realize I know very little, and what I do know, I tend to forget!

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •