+ Reply to Thread
Results 1 to 6 of 6

Countif? Sumproduct?

Hybrid View

  1. #1
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Countif? Sumproduct?

    to keep things simple... I'd suggest using a Dynamic Named Range relative to your date value such that you don't end up with a hideously convoluted Frequency calc, I'd also suggest storing the row position in which name is found in the data (to reduce repetition)

    With name defined (_Data) the calc would look like:

    Formula: copy to clipboard
    {=SUM((FREQUENCY(IF(INDEX(_Data,$A10,0)=C$9,COLUMN(INDEX(_Data,1,0))),IF(INDEX(_Data,$A10,0)<>C$9,COLUMN(INDEX(_Data,1,0))))>1)+0)}
    note: array entry - the { } cannot be applied manually


    the above references are relative to the sample file...

    Note: should your P value for Name 2 not be 1 on grounds 4th Jan irrelevant? (if you change date to 4-Jan in the attached the result will shift to 2)
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-24-2011
    Location
    North East England
    MS-Off Ver
    Office 365
    Posts
    41

    Re: Countif? Sumproduct?

    Hi XLent, thank you for the formula! Would it be possible to post an example not using the _Data references? My example above is just a snippet of my full sheet (can't share full sheet due to data protection etc). I can then transfer the formula into my full sheet, as currently I am unsure where the _Data refers to within your example.

+ 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. Sorting multiple entries with several batches based on lowest balance.
    By Istid in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2019, 05:54 PM
  2. Number clusters
    By shabazali1 in forum Excel General
    Replies: 9
    Last Post: 08-06-2018, 09:01 AM
  3. Replies: 1
    Last Post: 04-05-2016, 11:20 AM
  4. [SOLVED] Counting the number of entries in a column (but only once for consecutive entries)
    By 11416498 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-30-2014, 09:36 AM
  5. identifying random clumping (clusters) in 2D or 3D
    By pauliehagan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-04-2012, 08:50 AM
  6. Weighing Point Clusters
    By zealot in forum Excel General
    Replies: 5
    Last Post: 12-25-2010, 04:18 PM
  7. Replies: 10
    Last Post: 08-26-2010, 04:23 PM

Tags for this Thread

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