formula help

ali zaib

Active Member
Joined
Nov 21, 2010
Messages
412
i enter in cell A1 24.12 and enter in A2 24.12 i want to see result 49
24 are the number of cases and 12 show number of bottles 24 bottles are in one case now 24.12 and 24.12 can show result 49 cases
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I am incredibly confused. Can you please provide several examples of what you want along with their examples?
 
Upvote 0
Assuming Niether decimal will be more than .23, otherwise the whole number would go up 1, and the decimal to 0..

Also assuming the decimal may be up to 23, and you want the remainder added back in..

LIke 24.15 + 24.17 = 49.08 (15+17 =32, - 24 = 8)

Also assuming, that 24 cases and 8 bottles would be written as

24.08 (NOT 24.8)


Try

=INT(SUM(A1:A2))+INT(MOD(SUM(A1:A2),1)/0.24)+(MOD(MOD(SUM(A1:A2),1)/0.24,1)*24/100)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top