Converting values into ounces

pborgbarthet

New Member
Joined
Jan 5, 2016
Messages
12
Good Evening.

I have a long list of values corresponding to a quantity of color put into paint. I need to convert these according to paint size (1ltr, 2.5ltr, 5ltr etc.) However, once the number of drops reaches 48, I need this to translate to 1 (oz).

In other words;

5 x 10 = 50.. this would display as 1 oz 2 (48 = 1oz + 2 remainder)

or

20 x 5 = 100.. this would display as 2 oz 4 (96 = 2oz + 4 remainder)

Is there a way I could do this, either by formula or by macro?

Thanks in advance to anyone who could help me out!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Perhaps:-
"A" = Data, "B"= Results , "C" formula in "B"
Code:
[COLOR=RoyalBlue][B]Row No [/B][/COLOR] [COLOR=RoyalBlue][B]Col(A) [/B][/COLOR] [COLOR=RoyalBlue][B]Col(B)              [/B][/COLOR] [COLOR=RoyalBlue][B]Col(C)                                             [/B][/COLOR]
1.      50      1 oz  + 2 Remainder  =INT(A1/48) &" oz  + " & MOD(A1,48) & " Remainder" 
2.      100     2 oz  + 4 Remainder  =INT(A2/48) &" oz  + " & MOD(A2,48) & " Remainder" 
3.      48      1 oz  + 0 Remainder  =INT(A3/48) &" oz  + " & MOD(A3,48) & " Remainder"
Regards Mick
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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