+ Reply to Thread
Results 1 to 3 of 3

Creating multiple percentages from data in the same coloum?

  1. #1
    Registered User
    Join Date
    04-13-2013
    Location
    Leicester, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Creating multiple percentages from data in the same coloum?

    Hi all,

    I'm in the process of creating a macro to produce a report but i have come upon a stumbling block and have absolutely no idea how to get round it (although i'm sure its much simpler than it is in my head).

    I have a single column of data, example is shown below, where i need to create a set of percentages from the data immediately above each total. The number of cells in each subset vary, the gaps between the data subsets vary by either one or two empty cells and the total is always in bold. I'm looking for a macro that gives the percentage of each cell from the cell at the base of the subset.

    An example of the data and the manually completes percentages are below.
    6 23.1%
    9 34.6%
    11 42.3%
    0 0.0%
    0 0.0%
    26

    7 43.8%
    5 31.3%
    4 25.0%
    16


    11 17.5%
    4 6.3%
    10 15.9%
    3 4.8%
    12 19.0%
    7 11.1%
    9 14.3%
    7 11.1%
    63

    6 22.2%
    6 22.2%
    8 29.6%
    7 25.9%
    27

    Any help would be much appreciated.
    Thanks Guys.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Creating multiple percentages from data in the same coloum?

    Try this:-
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    04-13-2013
    Location
    Leicester, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Creating multiple percentages from data in the same coloum?

    Your a Star, worked like a charm.
    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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