Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Multiple Scenario Condition Formula

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Multiple Scenario Condition Formula

=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
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ssmbob" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Multiple Scenario Condition Formula

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

"Bernard Liengme" wrote:

=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
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ssmbob" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Lookup as condition in sumproduct formula ExcelMonkey Excel Worksheet Functions 2 April 4th 07 08:34 PM
What formula/fn would I use to count multiple condition records? Joshcat99 Excel Worksheet Functions 3 October 27th 05 01:45 AM
scenario analysis-multiple variables joshjap Excel Worksheet Functions 3 May 1st 05 11:33 AM
Multiple Condition Formula prolixity Excel Worksheet Functions 5 April 13th 05 01:24 AM
Multiple Condition Sumif Formula momtoaj Excel Worksheet Functions 3 April 6th 05 04:06 PM


All times are GMT +1. The time now is 11:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"