+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : help with a FREQUENCY function

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    israel
    MS-Off Ver
    Excel 2010
    Posts
    3

    help with a FREQUENCY function

    i looking for a function to count the number of times that some string apear in a sequence
    for example if this is my table

    A1 - w
    A2 -w
    A3 -w
    A4 -d
    A5 - l
    A6 - w
    A7 - w
    A9 -d
    etc..
    i want for the function to show me the number 3.
    Last edited by jenya_utd; 02-06-2012 at 07:03 AM.

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: help with a problem

    Hello
    Try
    =MAX(FREQUENCY(IF(A1:A9="w",ROW(A1:A9)),IF(A1:A9<>"w",ROW(A1:A9))))

    array entered by pressing Ctrl+Shift+Enter and not just Enter.
    Good luck.

  3. #3
    Registered User
    Join Date
    02-06-2012
    Location
    israel
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: help with a FREQUENCY function

    sorry for the thread, OnErrorGoto0 it doesn't work =\

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: help with a FREQUENCY function

    @jenya-utd: works for me. At least, it returns a 3. Did you use Ctrl-Shift-Enter to commit the formula rather than just Enter?

    You will see:

    {=MAX(FREQUENCY(IF(A1:A9="w",ROW(A1:A9)),IF(A1:A9<>"w",ROW(A1:A9))))}

    if you have done it correctly.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Registered User
    Join Date
    02-06-2012
    Location
    israel
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: help with a FREQUENCY function

    o.k it works, TNX!!!!!!!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: help with a FREQUENCY function

    You're welcome. Big thanks to OEG0 fo the actual FREQUENCY formula ... they're always a mystery to me.

    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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