+ Reply to Thread
Results 1 to 4 of 4

Percentage database help

  1. #1
    Forum Contributor
    Join Date
    07-31-2008
    Location
    Berkshire, UK
    MS-Off Ver
    2003 & 2007
    Posts
    118

    Percentage database help

    Hi there...

    I have a list that I need to evaluate and calculate a percentage of records based on criteria...

    e.g.

    say this was my list:


    Name Age Height
    Simon 28 65
    Bob 35 64
    Jim 37 66

    I would like to find out the percentage of people older than 30... in this case 66.6%

    Is there a database function or something I could use to perform this calculation?

    Thanks

    Simon

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board

    Try the following :
    =COUNTIF(A1:A3;">30")/COUNT(A1:A3)
    Adjust the range to fit and replace ; with , if needed

    Cheers

  3. #3
    Forum Contributor
    Join Date
    07-31-2008
    Location
    Berkshire, UK
    MS-Off Ver
    2003 & 2007
    Posts
    118
    Works a treat.

    Cheers fella

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    You're welcome and thx for the feedback

+ 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