Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
go_chrisg
 
Posts: n/a
Default How do i convert feet and inches to a decimal value?

I have an assignment that shows me this equation but it doesnt seem to
work,
=LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)
  #2   Report Post  
IC
 
Posts: n/a
Default


"go_chrisg" wrote in message
...
I have an assignment that shows me this equation but it doesnt seem to
work,
=LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)


Chris

It's close, but not quite right. Firstly I assume A1 is in the format
ft<spacein. Your formula needs to look for the space, so you need to add a
space between all 3 instances of "". Secondly, the final "find" argument is
wrong. As it stands, it will only pick up the first digit after the space
for the inches. Deleting the -1 from after the final A1 will cure this.

Ian


  #3   Report Post  
go_chrisg
 
Posts: n/a
Default

hmmmmm it seem i still am hving problems....heres the corrections to it
=LEFT(A37,FIND(" ",A37)-1)+((MID(A37,FIND(" ",A37)+1,LEN(A37)-FIND("
",A37))/12))

"IC" wrote:


"go_chrisg" wrote in message
...
I have an assignment that shows me this equation but it doesnt seem to
work,
=LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)


Chris

It's close, but not quite right. Firstly I assume A1 is in the format
ft<spacein. Your formula needs to look for the space, so you need to add a
space between all 3 instances of "". Secondly, the final "find" argument is
wrong. As it stands, it will only pick up the first digit after the space
for the inches. Deleting the -1 from after the final A1 will cure this.

Ian



  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

A1 = 3<space6 meaning 3'6"

=(--LEFT(A1,FIND(" ",A1)-1)*12+--MID(A1,FIND(" ",A1)+1,255))/12

Returns 3.5

Biff

"go_chrisg" wrote in message
...
hmmmmm it seem i still am hving problems....heres the corrections to it
=LEFT(A37,FIND(" ",A37)-1)+((MID(A37,FIND(" ",A37)+1,LEN(A37)-FIND("
",A37))/12))

"IC" wrote:


"go_chrisg" wrote in message
...
I have an assignment that shows me this equation but it doesnt seem to
work,
=LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)


Chris

It's close, but not quite right. Firstly I assume A1 is in the format
ft<spacein. Your formula needs to look for the space, so you need to add
a
space between all 3 instances of "". Secondly, the final "find" argument
is
wrong. As it stands, it will only pick up the first digit after the space
for the inches. Deleting the -1 from after the final A1 will cure this.

Ian





  #5   Report Post  
IC
 
Posts: n/a
Default


"go_chrisg" wrote in message
...
hmmmmm it seem i still am hving problems....heres the corrections to it
=LEFT(A37,FIND(" ",A37)-1)+((MID(A37,FIND(" ",A37)+1,LEN(A37)-FIND("
",A37))/12))


.... which is exactly what I suggested, except the change of cell reference
from A1 to A37 (which I couldn't have guessed from your original post).

Anyway, I'm glad it's sorted.

Ian


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
format number in feet and inches emerald Excel Discussion (Misc queries) 1 February 23rd 05 06:44 PM
How can I show Feet and inches in a Excel cell? Magama13 Excel Discussion (Misc queries) 1 January 28th 05 04:27 PM
Measurement, in feet and inches, in Excel rbashley Excel Discussion (Misc queries) 3 December 3rd 04 06:12 PM
Converting inches to feet & inches. svech61 Excel Worksheet Functions 2 November 27th 04 05:23 AM
How can I format a cell to accept feet and inches and add them Jack Excel Worksheet Functions 4 November 4th 04 01:30 AM


All times are GMT +1. The time now is 10:14 PM.

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"