+ Reply to Thread
Results 1 to 19 of 19

Help with an if formula to calculate percentages

  1. #1
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Help with an if formula to calculate percentages

    Hi,

    I believe I need to use an If formula to create a calculation. My example is as below.

    If 100 = 6% and 50 = 3% - how do I create a formula to calculate the percentage totals?

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Help with an if formula to calculate percentages

    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.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    If your value is in J2...
    =J2/100*0.06

    or just =J2*0.0006
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Re: Help with an if formula to calculate percentages

    I have added an attachment for demonstration. Hopefully this makes my request a little clearer.
    Attached Files Attached Files
    Last edited by AnitaAus.; 06-02-2017 at 01:20 AM.

  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,215

    Re: Help with an if formula to calculate percentages

    As given before

    in B3

    =$B$1/100*0.06

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help with an if formula to calculate percentages

    =MIN(6%,6%*B1/100)
    Try this
    in your sheet calculations option in in manual mode change it to automatic if needed
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  7. #7
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Re: Help with an if formula to calculate percentages

    Hi Siva,

    I have attempted the formula as suggested, if I change the amount in cell b1 in example shown it doesn't adjust the percentage? I have added another attachment.

    What I'm hoping for is that if I change the amount in cell B1 to for example 50 it will recalculate to 3%

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    Did you even try my suggestion? It gives you exactly what you asked for

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    Actually, so does Siva's

  10. #10
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Re: Help with an if formula to calculate percentages

    Hi,

    The formula works to complete calculation, however when I change the amount in the cell (J2) it doesn't update to the new percentage?

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    Quote Originally Posted by AnitaAus. View Post
    Hi,

    The formula works to complete calculation, however when I change the amount in the cell (J2) it doesn't update to the new percentage?
    Yes, it does. Check to make sure your calcs are set to Auto

  12. #12
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Re: Help with an if formula to calculate percentages

    Sorry I have been trying both, but I don't know if it's me but same thing, updating the amount does not make it recalculate

  13. #13
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Re: Help with an if formula to calculate percentages

    Ok, now I'm probably sound like a real beginner, but how do I check that?

  14. #14
    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,975

    Re: Help with an if formula to calculate percentages

    Have you done as Ford suggested and checked that you have not set calculations to manual?

    Formulas | Calculation options.
    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.

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    select the Formulas tab/Calculation/Calc Option, make sure Auto is selected

  16. #16
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    hmm just had another thought.

    How is B2 formatted?
    Put this in an empty cell somewhere and tell me what it gives you...
    =isnumber(B1)

  17. #17
    Registered User
    Join Date
    05-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    23

    Re: Help with an if formula to calculate percentages

    I figured it out Thank you Everyone! Auto - I never knew about that - learn something all the time!

  18. #18
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with an if formula to calculate percentages

    That catches many people, even old hands.

    Happy to help, glad you got it resolved

  19. #19
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: Help with an if formula to calculate percentages

    If you are familiar with VBA, then the first line of this code might do the same “Auto on” thing.
    Please Login or Register  to view this content.
    The other lines don’t usually do any harm either. This simple codes often brings things back into life that appear “dead”
    Alan
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

+ 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. How to calculate multiple percentages in a formula??
    By firefairy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-03-2016, 03:59 AM
  2. [SOLVED] Seeking Formula to calculate percentages in spread sheet column by color
    By bigdukesix in forum Excel General
    Replies: 2
    Last Post: 01-18-2016, 05:19 PM
  3. [SOLVED] Create formula to calculate percentages
    By saffy48 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2013, 01:21 AM
  4. Formula Needed to calculate 2 different percentages with limits...
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-07-2013, 04:59 PM
  5. formula to calculate 2 percentages in one cell
    By swissli78 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-01-2013, 12:48 AM
  6. Calculate percentages
    By TomBP in forum Access Tables & Databases
    Replies: 6
    Last Post: 10-30-2010, 02:10 PM
  7. Calculate percentages
    By samfl98 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2007, 05:25 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