+ Reply to Thread
Results 1 to 3 of 3

How do I add together lbs, ozs & drams in excel?

  1. #1
    treboryelbis
    Guest

    How do I add together lbs, ozs & drams in excel?

    Bearing in mind taht there is 16 drams in an ounce & 16 ounces in a lb.

  2. #2
    Norman Jones
    Guest

    Re: How do I add together lbs, ozs & drams in excel?

    Hi Treboryelbis

    See archive responses posted by Ron Rosenfeld:

    http://tinyurl.com/55lec


    ---
    Regards,
    Norman



    "treboryelbis" <[email protected]> wrote in message
    news:[email protected]...
    > Bearing in mind taht there is 16 drams in an ounce & 16 ounces in a lb.




  3. #3
    Forum Contributor
    Join Date
    01-11-2004
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    388
    Hi!

    Put this array in a sheet starting at A1

    4....................15.....................................9...............................=256*A1+16*B1+C1
    5.....................8....................................13...............................=256*A2+16*B2+C2
    =INT(D3/256)....=INT((D3-256*A3)/16)....=D3-256*A3-16*B3.....=D1+D2

    It converts the lbs and ozs to drams: adds them together and reconverts back to lbs ozs and drams.

    So 4lb 15oz 9drams added to 5 lb 8 oz 13 drams equals the result in row 3.

    If you hide the workings in col D, you have a typical "long addition" sum (at least, typical in my school days): inputs in a1..C1 and A2..C2: answer in A3..C3.

    The same principles will work if you want to incorporate these formulae into your computations or, for that matter, VBA.

    Alf

+ 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.6.0 RC 1