+ Reply to Thread
Results 1 to 11 of 11

Function/Formula to display Stones/Pounds/Ounces

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    UK
    MS-Off Ver
    Microsoft Office 2013
    Posts
    5

    Question Function/Formula to display Stones/Pounds/Ounces

    Hello

    I have a spreadsheet to track weight loss over several weeks for colleagues in the office. The weights are currently entered in stones/pounds/ounces like this 13.10.2. A weight will be entered each week to track progress. I'd like a way to calculate the total weight loss at the end of each month (some kind of formula or function) which automatically updates when a new weight is entered each week.

    Also, is it possible to use conditional formatting on the total monthly loss to highlight the greatest and lowest loss?

    A copy of the spreadsheet is attached for anyone who would be kind enough to help me. Thanks in advance!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-20-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    22

    Re: Function/Formula to display Stones/Pounds/Ounces

    Please find attached
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Function/Formula to display Stones/Pounds/Ounces

    Quote Originally Posted by Mohamed.Mohyeldien View Post
    Please find attached
    Op is entering the weight as stones.pounds.ounces, your entries are decimal figures.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Function/Formula to display Stones/Pounds/Ounces


  5. #5
    Registered User
    Join Date
    05-11-2015
    Location
    UK
    MS-Off Ver
    Microsoft Office 2013
    Posts
    5

    Re: Function/Formula to display Stones/Pounds/Ounces

    Thanks for your responses. As I said, the weights entered need to be displayed as Stones Pounds Ounces rather than as a decimal. I want to be able to enter the weekly weights rather than having to convert to decimal.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Function/Formula to display Stones/Pounds/Ounces

    Hi,

    Does the attached help.

    I'll look at the conditional format later.

    This would be easier to do if the weights were in metric, e.g. Kg. Is that an option?
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  7. #7
    Registered User
    Join Date
    05-11-2015
    Location
    UK
    MS-Off Ver
    Microsoft Office 2013
    Posts
    5

    Re: Function/Formula to display Stones/Pounds/Ounces

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Does the attached help.

    I'll look at the conditional format later.

    This would be easier to do if the weights were in metric, e.g. Kg. Is that an option?
    Thanks Richard, this is a great solution. Yes you're right, metric weights would be easier but the scales they are using are in imperial as that seems to be what everyone's used to and it's a pain having to convert etc.

  8. #8
    Registered User
    Join Date
    05-11-2015
    Location
    UK
    MS-Off Ver
    Microsoft Office 2013
    Posts
    5

    Re: Function/Formula to display Stones/Pounds/Ounces

    Quote Originally Posted by Mohamed.Mohyeldien View Post
    Please find attached
    Just wandering if there is any easy way to use the Man of the Month formula that Mohamed has used in the solution that @Richard Buttrey came up with? Would be good to implement this in if possible? Thank you

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Function/Formula to display Stones/Pounds/Ounces

    Quote Originally Posted by dkk168 View Post
    Just wandering if there is any easy way to use the Man of the Month formula that Mohamed has used in the solution that @Richard Buttrey came up with? Would be good to implement this in if possible? Thank you
    Hi,

    Can't think of anything simple at the moment. The difficulty is that as presented any formulae are having to work with strings, and since CF calculations require numbers then interpreting stones.lb.oz strings first as numbers and then using in calculations will need formulae that are quite long. I'm not saying it can't be done, just that the formulae will not be very elegant and certainly hard to read.

    I think the pragmatic solution would be to use a 'shadow' sheet which is linked to the current sheet but which first converts the strings to numbers. Then the calculations are simple.

    See attached
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    05-11-2015
    Location
    UK
    MS-Off Ver
    Microsoft Office 2013
    Posts
    5

    Re: Function/Formula to display Stones/Pounds/Ounces

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Can't think of anything simple at the moment. The difficulty is that as presented any formulae are having to work with strings, and since CF calculations require numbers then interpreting stones.lb.oz strings first as numbers and then using in calculations will need formulae that are quite long. I'm not saying it can't be done, just that the formulae will not be very elegant and certainly hard to read.

    I think the pragmatic solution would be to use a 'shadow' sheet which is linked to the current sheet but which first converts the strings to numbers. Then the calculations are simple.

    See attached
    Great work Richard, thanks very much. So with the shadow sheet, have you converted the weights into kgs to then use in the formulas to display them? Would I need to do this for each of the following months in order to replicate the layout?

    Thank you

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Function/Formula to display Stones/Pounds/Ounces

    Hi,

    Yes the shadow sheet converts the stone.lb.oz stuff to Kg for ease of calculation, then the main sheet reads the result back and presents it as st.lb.oz.

    Yes, I only showed one month. You'd just need to copy the formulae to the other months. Just watch that the cell refs change appropriately and they are relative refs. where they need to be - I can't remember off hand.

+ 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. formula for adding pounds and ounces
    By Oldpilot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-15-2013, 04:49 PM
  2. [SOLVED] Re: Convert decimal Pounds to Pounds-Ounces
    By Sindhiiu in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-24-2012, 11:37 AM
  3. Formula to convert kilograms to stones & pounds
    By britlizard in forum Excel - New Users/Basics
    Replies: 21
    Last Post: 02-04-2007, 04:29 AM
  4. [SOLVED] Stones,Pounds and Ounces
    By Carole in forum Excel General
    Replies: 4
    Last Post: 03-01-2005, 05:06 PM
  5. I've got a formula for stones and pounds - how do I get an excel .
    By mikelenno in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 01-25-2005, 05:06 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