adding lbs & oz's

R

Roy Gudgeon

Hi guys

KNow you guys can help with this...

I need a formula that will calculate lbs & oz when data is entered:

49.02
35.15
24.13

this needs to take account that 1lb = 16 oz, using decimals it would assume
this once 10 is reached.

I dont want to have the lbs and oz in seperate cells if possible

adding my numbers up manually comes out at 109.14
Hope this makes sense.
 
P

Pete_UK

This array* formula does it, Roy:

=SUM(INT(A1:A3))
+INT(SUM(MOD(A1:A3,1))*100/16)+MOD(SUM(MOD(A1:A3,1))*100,16)/100

assuming your numbers are in A1 to A3, so adjust the range to suit.

*An array formula has to be committed using Ctrl-Shift-Enter (CSE)
instead of the usual <Enter>. If you do this correctly then Excel will
wrap curly braces { } around the formula when viewed in the formula
bar - do not type these yourself. If you subsequently edit/amend the
formula you need to use CSE again.

Hope this helps.

Pete
 
P

Pete_UK

Here's a non-array version, i.e. commit with <Enter> as usual:

=INT(SUM(A1:A3))+INT(MOD(SUM(A1:A3),1)*100/16)+MOD(MOD(SUM(A1:A3),
1)*100,16)/100

Hope this helps.

Pete
 
P

Pete_UK

Thanks for feeding back, Roy.

I suppose I've been using Excel for about 8 years, and before that
Quattro Pro for several more years, so you tend to pick things up ...

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top