+ Reply to Thread
Results 1 to 4 of 4

sum(if frequency) is not working

  1. #1
    Registered User
    Join Date
    07-03-2019
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    2

    sum(if frequency) is not working

    Hello all,

    I have use sum(if frequency) quite often, and now it seems to not want to work.

    So, I have entered in the first cell in the C column "=SUM(IF($A$1:$A$5 = C1, 1, 0))" to calculate the frequency of the names in the A column by the range in B column and then dragged the formula down for each cell in the C column as per instructions. However, it produces this strange result. I've tried different data sets and different worksheets to no avail. I was getting a "circular reference" message before, but I don't see it circularly referring to anything.

    A B C
    tom tom 1
    harry harry 0
    harry **** 0
    ****
    george

    I've attached the worksheet. Any help is much appreciated!
    Tom
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: sum(if frequency) is not working

    Use this instead:

    =COUNTIF(A:A,C1)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    02-07-2019
    Location
    New Delhi
    MS-Off Ver
    2010
    Posts
    80

    Re: sum(if frequency) is not working

    Hello Mr. Tom,

    You're using SUM on text values. You need to understand the syntax of your function and the reference you're applying respective function to.

    Use this one - =COUNTIF($G$3:G3,G3)

  4. #4
    Registered User
    Join Date
    09-16-2003
    Location
    Waiau Pa NZ
    Posts
    81

    Re: sum(if frequency) is not working

    Tom,
    Best way would be to use countif something like '=COUNTIF($C$1:$C$12,A3)
    Bill K

+ 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. Replies: 3
    Last Post: 01-21-2016, 02:23 PM
  2. Replies: 3
    Last Post: 02-11-2014, 05:36 PM
  3. [SOLVED] Productsum: Highest Frequency Category, Specific Main Category, Frequency of Category
    By T86157 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2012, 12:43 PM
  4. Word Cloud (Working but want to tweak to adjust font color based on frequency and...)
    By VTHokie11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2011, 03:23 PM
  5. histograms - frequency and relative frequency?
    By confusedstudent in forum Excel General
    Replies: 2
    Last Post: 02-08-2006, 04:25 AM
  6. how do get the frequency
    By Hi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2005, 10:55 AM
  7. Replies: 1
    Last Post: 08-31-2005, 02:05 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