Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Need a Formula for Multiplication of Feet and Inches

Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" ------- I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Need a Formula for Multiplication of Feet and Inches

Excel won't recognize those as numbers.

You first have to convert to a format Excel can use.

See Chip Pearson's site for more info.

http://www.cpearson.com/excel/FeetInches.htm


Gord Dibben MS Excel MVP

On Sun, 4 Jan 2009 20:04:22 -0800, vmohan1978
wrote:

Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" ------- I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Need a Formula for Multiplication of Feet and Inches

Hi,

First I'm having a problem figuring out just how you come to 32.64', my
calculation product 32.6667?

Second, are the entries always going to be single digits for the first two
and then always going to be feet & inches for the second three?

If so, then assume your numbers are in A1:E1 the following array formula
will give you my result:

=PRODUCT(A1:B1,LEFT(C1:E1,1)+MID(C1:E1,3,1)/12)

(the enter an array formula press Shift+Ctrl+Enter, not Enter.)

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"vmohan1978" wrote:

Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" ------- I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need a Formula for Multiplication of Feet and Inches

2*2*4'8"*2'4"*0'9"=32.64'

The correct result should be 32.66666667

This array formula works on your (very limited) sample data:

=PRODUCT(IF(ISNUMBER(FIND("'",A1:E1)),LEFT(A1:E1,F IND("'",A1:E1)-1)+MID(SUBSTITUTE(A1:E1,"""",""),FIND("'",A1:E1)+1 ,3)/12,A1:E1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"vmohan1978" wrote in message
...
Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" -------
I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need a Formula for Multiplication of Feet and Inches

P.S.

I'm assuming (a lot!) that feet inches can be in any cell and the feet can
be any (integer) number and the inches can be any (integer) number up to 11.

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
2*2*4'8"*2'4"*0'9"=32.64'


The correct result should be 32.66666667

This array formula works on your (very limited) sample data:

=PRODUCT(IF(ISNUMBER(FIND("'",A1:E1)),LEFT(A1:E1,F IND("'",A1:E1)-1)+MID(SUBSTITUTE(A1:E1,"""",""),FIND("'",A1:E1)+1 ,3)/12,A1:E1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT key then hit ENTER.

--
Biff
Microsoft Excel MVP


"vmohan1978" wrote in message
...
Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" ------- I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Need a Formula for Multiplication of Feet and Inches

Assuming the first two numbers are real numbers (not feet/inches) and that
the inches part of the other three numbers will never be more than 2-digits
in length, then this array-entered** formula should do what you want...

=PRODUCT(A2,B2,LEFT(C2:E2,FIND("'",C2:E2&"'")-1)+MID(SUBSTITUTE(C2:E2,"""",""),FIND("'",C2:E2&"' ")+1,4)/12)

**Commit formula using Ctrl+Shift+Enter, not just Enter by itself.

This formula can be copied down.

--
Rick (MVP - Excel)


"vmohan1978" wrote in message
...
Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" -------
I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Need a Formula for Multiplication of Feet and Inches

Thank you Both Shane Devenshire and Rick Rothstein , it worked perfectly :)

it orked perfectly

"Rick Rothstein" wrote:

Assuming the first two numbers are real numbers (not feet/inches) and that
the inches part of the other three numbers will never be more than 2-digits
in length, then this array-entered** formula should do what you want...

=PRODUCT(A2,B2,LEFT(C2:E2,FIND("'",C2:E2&"'")-1)+MID(SUBSTITUTE(C2:E2,"""",""),FIND("'",C2:E2&"' ")+1,4)/12)

**Commit formula using Ctrl+Shift+Enter, not just Enter by itself.

This formula can be copied down.

--
Rick (MVP - Excel)


"vmohan1978" wrote in message
...
Need a Formula for the Following


No No L B D Qty
Remarks

2 2 4' 8" 2'4" 0' 9" -------
I
need formula that multiplies( 2*2*4'8"*2'4"*0'9"=32.64')



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
Convert inches & display as Feet Inches and Fractions -- BUG FREE Mark Main Excel Worksheet Functions 12 November 26th 08 08:50 PM
Converting from feet, inches and fractions to inches and decimal p Dee Setting up and Configuration of Excel 5 September 18th 07 04:18 PM
Feet, inches and fractions to inches and dec.....reposting for Pet Dee Setting up and Configuration of Excel 1 September 18th 07 04:02 PM
Is there a formula for inches to feet and inches? Excel Worksheet Functions 2 August 12th 06 12:45 AM
is there a macro that will convert from inches to feet and inches cable guy Excel Discussion (Misc queries) 1 June 20th 05 07:29 PM


All times are GMT +1. The time now is 10:50 AM.

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

About Us

"It's about Microsoft Excel"