+ Reply to Thread
Results 1 to 2 of 2

Please help Count if Frequency

  1. #1
    Registered User
    Join Date
    01-06-2017
    Location
    BOCA RATON, FLORIDA
    MS-Off Ver
    2016
    Posts
    5

    Please help Count if Frequency

    I am looking for the total unique values in column D IF column F is 1
    I have tried an array of sum, sum if and the below, all returning a #Value.

    Both column D and F are all numeric values

    Please help
    Thank you

    =SUMPRODUCT(--(FREQUENCY(SURVEYS!D4:D11075,SURVEYS!D4:D11075)>0),--(F4:F11075>=1),----(F4:F11075<1))

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Please help Count if Frequency

    My first thought is to change the F column range to match the number of rows that FREQUENCY returns. If you are not aware of it FREQUENCY returns one more bin (row) than the input.

    =SUMPRODUCT(--(FREQUENCY(SURVEYS!D4:D11075,SURVEYS!D4:D11075)>0),--(F4:F11076>=1),--(F4:F11076<1))

    Edit Additionally as an alternative to FREQUENCY for returning unique values you might try nesting this.

    You'll need to array enter the formula now. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    =(MATCH(SURVEYS!D4:D11075,SURVEYS!D4:D11075,0)=ROW(D4:D11075)-MIN(ROW(D4:D11075))+1)

    The formula now:
    =SUMPRODUCT(--ISNUMBER(--(MATCH(SURVEYS!D4:D11075,SURVEYS!D4:D11075,0)=ROW(D4:D11075)-MIN(ROW(D4:D11075))+1)),--(F4:F11075>=1),--(F4:F11075<1))

    If this is not satisfactory try uploading a small sample Excel file representative of what you are working with and what you hope to achieve.

    To attach a file to your post: (Please no pics or screenshots ... saves retyping data.),
    • be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”

    The file name will appear at the bottom of your reply.
    Last edited by FlameRetired; 05-23-2018 at 04:44 PM.
    Dave

+ 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. Need help with Count If Frequency
    By debralee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2018, 06:04 PM
  2. [SOLVED] Frequency count
    By LouiseShen in forum Excel General
    Replies: 3
    Last Post: 12-12-2017, 06:40 AM
  3. count frequency
    By kimudao in forum Excel General
    Replies: 1
    Last Post: 10-06-2017, 04:05 AM
  4. [SOLVED] Count If Function To Count Frequency Of Long Numbers
    By RowanB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2013, 05:18 AM
  5. Using FREQUENCY to sum instead of count
    By Emma_Fairclough in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2008, 01:33 PM
  6. Count Frequency?
    By melnikok in forum Excel General
    Replies: 2
    Last Post: 01-21-2008, 03:11 PM
  7. Frequency count
    By topgunnerp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-30-2007, 03:06 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