+ Reply to Thread
Results 1 to 4 of 4

Thread: Calculating Excel % and Concatenate

  1. #1
    Registered User
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    91

    Calculating Excel % and Concatenate

    Hi,

    This is probably really easy. I have the following Concatenate formula

    =CONCATENATE("Response rate: ", B10/B9*100)
    The above works fine when the number in B10 is lower than the number in B9. For example it returns 85% when the number in B10 is 6 and the number in B9 is 7. This is great.

    However sometimes the number in B9 will be higher than in B10. How can I create a formula that gives me a return of 85% (using the above example) regardless of which number is higher or not?

    Thanks
    Last edited by Plumby; 01-06-2012 at 07:22 AM.

  2. #2
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,303

    Re: Calculating Excel % and Concatenate

    Hi Plumby

    If i understoond well your point, you want ALWAYS, to get the percendage of the lowest price in the higher price...??

    In this case, something like this, maybe works for you.

    =IF(B10<B9;(B10/B9*100);IF(B10>B9;(B9/B10*100)))

    Modify it, using the CONCATENATE formula also, as you like...

    Hope to helps you.
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,806

    Re: Calculating Excel % and Concatenate

    seems strange but
    =MIN(B9:B10)/MAX(B9:B10)*100
    will do it
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    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

  4. #4
    Registered User
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: Calculating Excel % and Concatenate

    Hi guys,

    Brilliant! Thanks. Both work but i went with the latter for its (genius) simplicity!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0