+ Reply to Thread
Results 1 to 6 of 6

Formula for adding a percentage from one cell and adding the total of 2 others

Hybrid View

  1. #1
    Registered User
    Join Date
    11-03-2013
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2010
    Posts
    13

    Formula for adding a percentage from one cell and adding the total of 2 others

    Hi all,

    I'm pretty new to Excel 2010 and was wondering if anyone could help...

    I need to take 40% of one column, and add the total of 2 other columns for one whole total

    Example, 40% of Column K, add the entire amount of Columns N and O to show the whole total in P...

    Any help would be greatly appreciated...


    Thank you!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula for adding a percentage from one cell and adding the total of 2 others

    =sum(k:K)*0.4+sum(n:o) or do you mean something else?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-03-2013
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Formula for adding a percentage from one cell and adding the total of 2 others

    do I need to put in the cell numbers as there are some cells in each of those columns that are empty...or would the above take care of it all no matter if number there or not?

    Thank you!

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula for adding a percentage from one cell and adding the total of 2 others

    if its the whole column or a range say
    =sum(k1:K10)*0.4+sum(n1:O10)
    then no
    if its only each row you want to do
    k1*0.4+sum(n1:O1)

    you can use % instead of decimal eg

    =sum(k1:K10)*40%+sum(n1:O10)
    Last edited by martindwilson; 11-03-2013 at 07:34 PM.

  5. #5
    Registered User
    Join Date
    11-03-2013
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Formula for adding a percentage from one cell and adding the total of 2 others

    Yes, it's a range of the whole column but some cells are empty and sometimes not, lol. So the above should take care of it if they are empty or not...


    Thanks again for your help

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Formula for adding a percentage from one cell and adding the total of 2 others

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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] Adding percentage to a cell value
    By Timeferret in forum Excel General
    Replies: 3
    Last Post: 04-15-2012, 08:49 AM
  2. Formula for adding percentage
    By hauptinc in forum Excel General
    Replies: 2
    Last Post: 02-07-2012, 04:00 AM
  3. Formula for adding a percentage to each cell
    By Dwinter in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 08-24-2010, 08:09 AM
  4. Adding Percentage in formula
    By junkscratch in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2007, 07:17 PM
  5. [SOLVED] Adding percentage as interest to a total
    By Cath in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2006, 08:10 AM

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