+ Reply to Thread
Results 1 to 3 of 3

Macro to calculate freq count

  1. #1
    Forum Contributor
    Join Date
    12-19-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    113

    Macro to calculate freq count

    Hello,

    I have a table and want to count frequency in C1 and averaged values in C2&C3. The below a an simple example of data. I appericiate your help.

    Original Table
    C1. C2. C3
    A. 2. 1
    F. 4. 3
    G. 1. 2
    A. 5. 3
    F. 1. 4

    Final table
    A. 2 3.5. 2
    G. 1. 2.5. 3.5
    F. 2. 2.5. 3.5

  2. #2
    Valued Forum Contributor smuzoen's Avatar
    Join Date
    10-28-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003/2007/2010
    Posts
    610

    Re: Macro to calculate freq count

    To get a unique list starting in D2 of the letters in A2:A6 use an array formula Ctrl Shift Enter (row 1 is empty) and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    To get the averages then use AVERAGEIF and to get the frequency use COUNTIF
    See attached workbook
    Attached Files Attached Files
    Hope this helps.
    Anthony
    Pack my box with five dozen liquor jugs
    PS: Remember to mark your questions as Solved once you are satisfied. Please rate the answer(s) by selecting the Star in the lower left next to the Triangle. It is appreciated?

  3. #3
    Forum Contributor
    Join Date
    12-19-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Macro to calculate freq count

    Thanks, Anthony, very much for help. Great "*"

+ 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