+ Reply to Thread
Results 1 to 5 of 5

Formula to calculate % of total sum in column

  1. #1
    Registered User
    Join Date
    05-30-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    7

    Formula to calculate % of total sum in column

    Hi all,

    I would like to understand what formula I should use in the yellow highlighted cell in order to calculate the % of non-"POTENTIAL OUTLIER" out of the total sum of "count of category" for the respective Origins.

    For example, at column Origin = "AT", it will return (20+1)/25 = 84%

    I would like to drag down this formula along the column for ease of use and update.

    Thank you very much.

    excel2.JPG

  2. #2
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Formula to calculate % of total sum in column

    You could use this and extend the ranges down as far as you need.
    Please Login or Register  to view this content.
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Formula to calculate % of total sum in column

    This will print on first occurrence of Origin Country:

    =IF(COUNTIF($A$2:A2,"=" &A2)=1,((SUMIFS($C$2:$C$8,$A$2:$A$8,"=" &A2,$B$2:$B$8,"<>" & "POTENTIAL OUTLIER")/SUMIF($A$2:$A$8,"=" &A2,$C$2:$C$8))),"")

  4. #4
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Formula to calculate % of total sum in column

    @JohnTopley That is a nice addition and makes the result look better.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Formula to calculate % of total sum in column

    @nigelbloomy : appreciate the feedback

    John

+ 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. Formula to calculate total from column with text
    By Sadalif in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-26-2013, 01:52 PM
  2. Replies: 5
    Last Post: 07-06-2013, 08:21 PM
  3. Replies: 3
    Last Post: 01-25-2009, 12:45 PM
  4. Replies: 0
    Last Post: 02-04-2005, 03:58 PM
  5. Formula to calculate a total in one range based on dates from another column
    By CarolineD in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2005, 04:56 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