+ Reply to Thread
Results 1 to 4 of 4

Countif, non blank values (ID based)

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Countif, non blank values (ID based)

    I'm convinced there's a simple solution to the following

    I'm looking to count all the non-blank values in KU, but the count resets after the ID (KR) changes.

    However, instead of counting, I define a value (KX1), & an IF statement tells me if there were (x, or more i.e. 2 or more in the example fo the spreadsheet) non-blank values of a specific ID

    Thanks

    Mdn
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countif, non blank values (ID based)

    Try this:

    KX2 =COUNTIF(KR:KR,KW2)-COUNTIFS(KR:KR,KW2,KU:KU,"")>=KX1

  3. #3
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Re: Countif, non blank values (ID based)

    Brilliant, ty Falcon

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Countif, non blank values (ID based)

    You're welcome. Thanks for the rep!

+ 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] Countif until blank cell (mutiple blank cells)
    By plasma33 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-07-2015, 01:14 PM
  2. [SOLVED] VBA to Insert Blank Row based on matching values
    By nirvehex in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-29-2015, 04:36 PM
  3. [SOLVED] Showing a blank cell based on values of two another cells
    By Anuru in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2014, 01:35 AM
  4. Average based on last 7 values (non-blank/zero)?
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2014, 04:34 PM
  5. Countif Range based on Cell Values
    By adam2308 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2013, 05:51 PM
  6. COUNTIF based on another column cell values
    By jammusi in forum Excel General
    Replies: 5
    Last Post: 06-01-2010, 07:53 AM
  7. How do I use countif to count values excluding blank cells
    By Glenda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2006, 12:30 PM

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