Multiple Scenario Condition Formula

S

ssmbob

I'm trying to Create a Formula that Wiil take the results I get, in this case
Gallons in Decimals, and display the result in the spreadsheet in Gallon and
Ounces. Example 1.65 Gallons (Note The answer I get may be 2.55, 3.79 etc
Gallons)

I want the formula to multiply only the Decimal part of the result ~ .65 by
128 to get the Ounces and then add back to to the Full Gallon # which will
vary 1, 2, 3 etc.

Or if another way to do this let me Know.

Thank You All
 
B

Bernard Liengme

=INT(A1)&"gals "&MOD(A1,1)*128&"oz"
or
=INT(A1)&"gals "&TEXT(MOD(A1,1)*128,"#")&"oz"
or
=INT(A1)&" "&TEXT(MOD(A1,1)*128,"#")&"/128"
best wishes
 
S

ssmbob

Your a Wizard, and Fast! ~ Don't know how much I appreciate this.
Kudos to Merlin ~ My Nickname for you.
 

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