+ Reply to Thread
Results 1 to 15 of 15

Calculating percentage with only one given cell

  1. #1
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Calculating percentage with only one given cell

    Cant find a way to calculate a percentage of only one specific cell into another cell. Im looking for a simple formula that take the value of a specific cell and multiply with for example 0.5 and then round it of.
    Last edited by Eazio; 08-02-2016 at 05:08 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    Like this, perhaps?

    =ROUND((A1*0.5),0)

    where A1 contains the original value.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Re: Calculating percentage with only one given cell

    Get an Excel Error every time I try to do that. It seems to refer to the 0.5. It somehow aint a valid formula.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    The formula is perfectly valid and works perfectly here. See it working below in D1. What sort of data do you have in A1? It needs to be a number.

    Round Formula.png
    Last edited by AliGW; 08-02-2016 at 05:27 AM.

  5. #5
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Re: Calculating percentage with only one given cell

    Well, In my case its the M122 and its 60 kg, I tried remove the prefix at the end but it didnt solved the problem.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    Quote Originally Posted by Eazio View Post
    Well, In my case its the M122 and its 60 kg, I tried remove the prefix at the end but it didnt solved the problem.
    OK - try this:

    =ROUND(LEFT(A1,2)*0.5,0)

    But you would be better having just a number in the cell. You have got text.

  7. #7
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Re: Calculating percentage with only one given cell

    Hmm, It still wont work. To be more specific the Excel Error want me to choose a formula from one of their lists. I shouldnt have to change anything right? Just copypaste and enter?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    By the way, you might need to change commas to semi-colons for your locale - have you done that?

    =ROUND((A1*0.5);0)

    =ROUND(LEFT(A1,2)*0.5;0)

    You will also need the Swedish names for the functions being used (ROUND and LEFT).

  10. #10
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Re: Calculating percentage with only one given cell

    Forgott to change to the swedish equivalents and thought that would solve it all, nope. >< Tried both with and without the semi-colons.
    Last edited by Eazio; 08-02-2016 at 07:28 AM.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  12. #12
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Re: Calculating percentage with only one given cell

    Not quiet sure how to put this but here is a try.
    Attached Files Attached Files

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    Try this:

    =ROUND(SUBSTITUTE(C5," kg","")*0.5,0)&" kg"

    or in your case:

    =ROUND(SUBSTITUTE(C5;" kg";"")*0.5;0)&" kg"
    Attached Files Attached Files
    Last edited by AliGW; 08-02-2016 at 07:51 AM.

  14. #14
    Registered User
    Join Date
    05-28-2016
    Location
    Varberg, Sweden
    MS-Off Ver
    2013
    Posts
    19

    Re: Calculating percentage with only one given cell

    Think It finally worked!
    Thanks alot :D

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,421

    Re: Calculating percentage with only one given cell

    Great! Glad to have helped.

+ 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. Replies: 6
    Last Post: 04-05-2014, 07:17 PM
  2. [SOLVED] Calculating a Percentage of a Percentage
    By tpedry in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2014, 03:44 PM
  3. calculating percentage of percentage
    By zinneken in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-10-2013, 10:12 AM
  4. Need help on calculating the percentage?
    By malsha in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-06-2013, 09:52 AM
  5. Calculating a percentage with the end percentage in mind
    By Shadowshady in forum Excel General
    Replies: 2
    Last Post: 06-17-2006, 04:45 AM
  6. Calculating Percentage
    By מיכאל (מיקי) אבידן in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  7. Calculating Percentage
    By mconnolly in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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