+ Reply to Thread
Results 1 to 9 of 9

percentage distribution from a dataset

  1. #1
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    percentage distribution from a dataset

    Let say I have these datas:

    Zone:
    4.3
    5.0
    3.2
    1.2
    1.3
    3.7
    4.4
    1.1
    2.2
    4.9
    3.7

    And I want to make a graph or table with Zone 1-5
    And I want percentage of each zone:

    Like:
    zone 1: 14%
    zone 2:20 %
    zone 3:40%
    zone 4:15%
    zone 5:11%

    How do I do that?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: percentage distribution from a dataset

    How does your list of numbers correspond to zones 1-5?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: percentage distribution from a dataset

    I am not really sure how to sort it into zones.

    Because its average intensity on a training session: So one session can be at intensity 3.4 in average. Like f.ex one session has 5 intervals at 3.1, 3.5, 3.2, 3.1, 3.5 in intensity.
    So I guess sessions at an intensity zone below 1.5 should be sorted into zone one, and above 1.5 into zone 2.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: percentage distribution from a dataset

    Like Jeff, I am not sure what you mean by zone or how you are coming up with the results you have. My first expectation would be to use either the =FREQUENCY() function or a =COUNTIF() or =COUNTIFS() function to get the number of entries in each zone. Then, divide the result for each zone by the total entries to get the fraction/ratio/percentage for each zone.
    Help files for these functions can be found here: https://support.office.com/en-us/art...__toc309306716
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: percentage distribution from a dataset

    Here is a solution using COUNTIFS. The zones that values fall into are defined as

    1: <=1
    2: >1, <=2

    and so forth.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: percentage distribution from a dataset

    But in your formala I cant see the how the zones are defined.

    Btw: zone 1 is anything less than 1.5 anything above 1.5 is 2
    Same for zone 2 and the others.

    In your attached excel file there is 0% in zone 1, but there is already many datas with less than 1.5

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: percentage distribution from a dataset

    OK, here is a revision that uses 0.5 above the zone number as the maximum value for that zone. Note that the intervals for zones 1 and 5 are only 0.5 where the intervals for the other zones are 1.0.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    70

    Re: percentage distribution from a dataset

    Thanks a lot this worked

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: percentage distribution from a dataset

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

    And thanks for the rep!

+ 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. [SOLVED] Calculating a percentage of an abnormal distribution
    By blueshift418 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-01-2015, 09:03 AM
  2. Formula to help decide percentage distribution based on ultimate budget
    By dblock10 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-27-2014, 04:47 PM
  3. distribution of percentage if 2 items deleted
    By senjuti.sarkar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2014, 06:39 AM
  4. distribution of percentage if 2 item deleted
    By senjuti.sarkar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-15-2014, 08:08 AM
  5. Replies: 3
    Last Post: 01-23-2014, 10:13 AM
  6. [SOLVED] Vertical chart dataset needs to be converted into pivotable dataset
    By aspak84 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-17-2013, 06:06 PM
  7. Copying a dataset multiple times - and selecting titles for this dataset
    By alocke in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-07-2012, 10:15 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