+ Reply to Thread
Results 1 to 7 of 7

percent of times data shows in a column

Hybrid View

  1. #1
    Registered User
    Join Date
    03-12-2007
    Posts
    4

    percent of times data shows in a column

    I need help with the formula that will give the percent of times a number is shown in a column. The numbers are
    0-9 and at the bottom I need to calculate the number of times each number is in the column.

  2. #2
    Registered User
    Join Date
    03-12-2007
    Posts
    4

    formula for percent

    I need to get the formula that will find the percent of times the number 0-9 are present in a column.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Please read the rules re duplicate posts

    http://www.excelforum.com/showthread.php?t=591596

    this might help. Say data in Col A then enter this in B1 and drag down

    =COUNTIF(A:A,ROW()-1)/COUNTA(A:A)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    03-12-2007
    Posts
    4
    I don't understand. My column is C4:C96. The numbers in the column are any number 0-9. At the bottom I need to calculate the percentage of times, ie. the number 3 is in the column. Thanks.

  5. #5
    Registered User
    Join Date
    10-18-2005
    Posts
    16
    use this formula: =countif(c4:c96,3)

    that will do it for you.

  6. #6
    Registered User
    Join Date
    03-12-2007
    Posts
    4
    Is there a way for the answer to show as a percent? Right now if I try to change it to a percent, it goes from 7 being my answer to 700% and it should be 7%. Also, when I add all 10 of my answers together it comes to 93%, why not 100%. What am I doing wrong?

  7. #7
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Does this example help

    VBA Noob
    Attached Files Attached Files

+ 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