Formula to convert Oz back into autosum and add to left of decimal place

Jacko1307

Board Regular
Joined
Sep 4, 2012
Messages
77
Help please,

I have a fishing club workbook that I have to sit and work out in Lbs and Ounces.

I have the format for cells as ustom 0" lb". 00" oz."

Once autosum has been applied to a range it will give a total in LBs and Ounces but counts all of the ounces up.

Is there a formula that anyone knows where I can automatically divide the ounces by 16 and any lbs moved to the left of decimal place and remaining ounces shown to the right.

Final sum required would be 34lb. 6oz. if this makes sense

 

Some videos you may like

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,690
Office Version
2019
Platform
Windows
Here is a sample

vABCD
1Total OzLbsOzCombined
2301141lb 14oz
317111lb 1oz
421151lb 5oz

and here are the formulas

vABCD
1Total OzLbsOzCombined
230=INT(A2/16)=MOD(A2,16)=CONCATENATE(B2,"lb"," ",C2,"oz")
317=INT(A3/16)=MOD(A3,16)=CONCATENATE(B3,"lb"," ",C3,"oz")
421=INT(A4/16)=MOD(A4,16)=CONCATENATE(B4,"lb"," ",C4,"oz")
 

Jacko1307

Board Regular
Joined
Sep 4, 2012
Messages
77
Here is a sample

vABCD
1Total OzLbsOzCombined
2301141lb 14oz
317111lb 1oz
421151lb 5oz

<tbody>
</tbody>

and here are the formulas

vABCD
1Total OzLbsOzCombined
230=INT(A2/16)=MOD(A2,16)=CONCATENATE(B2,"lb"," ",C2,"oz")
317=INT(A3/16)=MOD(A3,16)=CONCATENATE(B3,"lb"," ",C3,"oz")
421=INT(A4/16)=MOD(A4,16)=CONCATENATE(B4,"lb"," ",C4,"oz")

<tbody>
</tbody>

Alan,

Many thanks for the formula which I like but is there a formula that can autosum the Total weights i.e
1lb 14oz1lb 1oz1lb 5oz which using autosum gives 3lbs 20oz and what i need to do then is convert the 20oz to read 1lb 4oz and add to the total of the lbs which would give me
4lb 4oz if you get what I am trying to achieve or is it easier to autosum column B and C and do the calculation against the total Row to combine all data as a total


<tbody>
</tbody>
 
Last edited:

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
12,208
Office Version
2007
Platform
Windows
You could give an example of how your data is on your sheet and what you expect from the result.
I'm not understanding, in B you have lb or oz. In C you have lb or oz.
Or what exactly do you have?
 

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,690
Office Version
2019
Platform
Windows
easier to autosum column B and C and do the calculation against the total Row to combine all data as a total
Seems like a reasonable way to do it. Keep it simple. Why overthink the issue.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
42,835
Office Version
365
Platform
Windows
Maybe something like

<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>J</th><th>K</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style="text-align: right;;">3.15</td><td style="text-align: right;;">3.9375</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style="text-align: right;;">1.14</td><td style="text-align: right;;">1.875</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style="text-align: right;;">1.01</td><td style="text-align: right;;">1.0625</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style=";"></td><td style="text-align: right;;">6.14</td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">K2</th><td style="text-align:left">=DOLLARDE(<font color="Blue">J2,16</font>)</td></tr><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">K5</th><td style="text-align:left">=DOLLARFR(<font color="Blue">SUM(<font color="Red">K2:K4</font>),16</font>)</td></tr></tbody></table></td></tr></table><br />
 

Watch MrExcel Video

Forum statistics

Threads
1,102,665
Messages
5,488,175
Members
407,629
Latest member
bibsan

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top