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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,687
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,204
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,687
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,760
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,508
Messages
5,487,291
Members
407,590
Latest member
Grobler

This Week's Hot Topics

Top