+ Reply to Thread
Results 1 to 11 of 11

Construct a formula to display '50 - 60%' of a source cell

  1. #1
    Registered User
    Join Date
    01-19-2023
    Location
    Alnwick, England
    MS-Off Ver
    Excel 16.69.1
    Posts
    5

    Construct a formula to display '50 - 60%' of a source cell

    Newbie alert here... I've looked around but can't seem to find an answer to my specific need. Which is this:

    Suppose cell A2 contains a whole number that I've entered. I need cell B2 to calculate (and display) a range equal to say 50% - 60% of that number.

    So if I enter 180 in A2, then I want B2 to display '90 - 108 ' (with spaces and dash!)

    I then need only change A2 to have new results calculated and displayed in B2.

    What formula would yield this result, please? Once I have the syntax I'll be able to edit it in order to deploy in multiple cells around my workbook.

    Thanks for being here to help!

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Construct a formula to display '50 - 60%' of a source cell

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Construct a formula to display '50 - 60%' of a source cell

    Welcome to the forum.

    You can use this formula in B2:

    =IF(A2="","",TEXT(A2/2,"0 - ")&TEXT(A2*6/10,"0"))

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    01-19-2023
    Location
    Alnwick, England
    MS-Off Ver
    Excel 16.69.1
    Posts
    5

    Re: Construct a formula to display '50 - 60%' of a source cell

    Thanks very much guys, for your helpful solutions here. I've settled on Fluff13's simpler option for now
    I've proved it works well for me - but in the process, have discovered something I can't solve, and I hope you can help please.
    I'm using variations on this formula to calculate other percentage ranges, eg a range from 71-80%. That yields a result which isn't a whole number - which is what I need. I've tried formatting the result-cell to display as Number to 0 decimal places, but the result of the formula continues to display as eg 109.8. How can I get the result of the formula to round up (or down) please?
    Thanks again for your help here.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Construct a formula to display '50 - 60%' of a source cell

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Construct a formula to display '50 - 60%' of a source cell

    If you had used my formula you would find that it only returns integer values.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    01-19-2023
    Location
    Alnwick, England
    MS-Off Ver
    Excel 16.69.1
    Posts
    5

    Re: Construct a formula to display '50 - 60%' of a source cell

    I knew that...
    Thanks very much again to both of you - it's great that there's such willingness to help out those of us less accomplished.
    Much appreciated.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Construct a formula to display '50 - 60%' of a source cell

    Glad to help & thanks for the feedback

  9. #9
    Registered User
    Join Date
    01-19-2023
    Location
    Alnwick, England
    MS-Off Ver
    Excel 16.69.1
    Posts
    5

    Re: Construct a formula to display '50 - 60%' of a source cell

    Thanks again Pete. I was attracted to the simpler version mainly because it was easier to change my percentages to values like 71%, 84% etc. Always more than one way to achieve our objectives though eh! Thanks.

  10. #10
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Construct a formula to display '50 - 60%' of a source cell

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  11. #11
    Registered User
    Join Date
    01-19-2023
    Location
    Alnwick, England
    MS-Off Ver
    Excel 16.69.1
    Posts
    5

    Re: Construct a formula to display '50 - 60%' of a source cell

    Quote Originally Posted by Pete_UK View Post
    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete
    And thanks also for this extra advice Pete. I'd already found the 'Add Reputation' star and deployed that for my two fantastic helpers, but I didn't easily find how to mark the question 'answered'. Will do that now! So - thanks again.
    Really, this is the best of the internet...

+ 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. Trying to get cell value based on formula I construct
    By mcleary1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-08-2020, 01:53 PM
  2. [SOLVED] formula to display pivot table source range
    By iracknback in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-19-2016, 06:28 PM
  3. [SOLVED] Need Formula to display pivot table source data
    By Don S in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-19-2016, 05:13 PM
  4. [SOLVED] Display the source for a calculated cell...?
    By wspencer11 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-13-2015, 10:22 AM
  5. [SOLVED] How to construct IF formula to search for if a cell contain any 3 string.
    By Syahman_style666 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-24-2014, 02:17 PM
  6. Using a cell contents to construct a formula?
    By pradhan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2010, 09:21 PM
  7. Construct cell reference for use in formula
    By AG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2005, 11: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