+ Reply to Thread
Results 1 to 5 of 5

Calculate Percentage for matrix data

  1. #1
    Registered User
    Join Date
    06-21-2014
    Location
    India
    MS-Off Ver
    MS Excel 2016
    Posts
    34

    Calculate Percentage for matrix data

    Below is the sample of data in matrix form (4000x4000), i need to find out percentage as shown:

    GBCAT-1 GBCAT-2 GBCAT-3 GBCAT-4 GBCAT-5
    GBCAT-1 0 0.226 0.234 0.216 0.248
    GBCAT-2 0.226 0 0.235 0.208 0.194
    GBCAT-3 0.234 0.235 0 0.21 0.249
    GBCAT-4 0.216 0.208 0.21 0 0.195
    GBCAT-5 0.248 0.194 0.249 0.195 0

    % GBCAT-1 GBCAT-2 GBCAT-3 GBCAT-4 GBCAT-5
    GBCAT-1 % % % % %
    GBCAT-2 % % % % %
    GBCAT-3 % % % % %
    GBCAT-4 % % % % %
    GBCAT-5 % % % % %


    Please suggest formula or script, thank you!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculate Percentage for matrix data

    Welcome to the forum.

    Please take a few minutes to read the forum rules (link in menu bar) about cross-posting.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,131

    Re: Calculate Percentage for matrix data

    percent of what ?

    the total , the row , the column ?

    you have 0 then 0.226 then 0.234
    what do you want those to be the % of ?
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    06-21-2014
    Location
    India
    MS-Off Ver
    MS Excel 2016
    Posts
    34

    Re: Calculate Percentage for matrix data

    Hi etaf! thanks for giving your time... percent of the total!

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,131

    Re: Calculate Percentage for matrix data

    assuming you start in
    B2
    and the range was for example

    B2:Z200

    then the formula would be

    B2/Sum($B$2:$Z$200)

    and copy across and down

    have you cross posted in another forum ?

    rule 8 requires a link
    8. Don't cross-post without a link. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post. Expect cross-posts without a link to be closed.

+ 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] Formula to calculate number and percentage in the attached raw data
    By sarat47 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-18-2014, 12:31 AM
  2. Calculate number of transitions in a matrix
    By simone77 in forum Excel General
    Replies: 6
    Last Post: 04-27-2012, 05:49 AM
  3. How to calculate frequency transition matrix in Excel?
    By sally123 in forum Excel General
    Replies: 1
    Last Post: 03-27-2012, 06:35 AM
  4. calculate a percentage of a percentage
    By ianmb in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-03-2010, 08:20 AM
  5. [SOLVED] percentage:how do I calculate the percentage change
    By Knowledge001 in forum Excel General
    Replies: 3
    Last Post: 11-25-2005, 02:40 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