PC Review


Reply
Thread Tools Rate Thread

Converting from feet, inches and fractions to inches and decimal p

 
 
=?Utf-8?B?RGVl?=
Guest
Posts: n/a
 
      17th Sep 2007
Morning,

We have a program that exports a table from Auto-cad to Excel, using a
program called TableBuilder. It exports using feet, inches and fractions eg
6'-5 1/2" or 4'-0".

I'm looking for a way to convert this to inches and decimal points and all
the -, ', " removed.
for example 6'-5 1/2" will be 77.5 and 4'-0" will be 48

Any ideas? It's a huge spreadsheet and doing each conversion individually
will drive me nuts.

Cheers in advance

Dee
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      18th Sep 2007
It will be a complex formula (almost finished), but to avoid problems
with converting cell references can you tell me which is the first
cell that this will apply to in your sheet, eg F2, and which column
you want the formula to go into? Then I can give you the exact formula
which you will be able to copy/paste into your sheet.

Pete

On Sep 17, 10:06 pm, Dee <D...@discussions.microsoft.com> wrote:
> Morning,
>
> We have a program that exports a table from Auto-cad to Excel, using a
> program called TableBuilder. It exports using feet, inches and fractions eg
> 6'-5 1/2" or 4'-0".
>
> I'm looking for a way to convert this to inches and decimal points and all
> the -, ', " removed.
> for example 6'-5 1/2" will be 77.5 and 4'-0" will be 48
>
> Any ideas? It's a huge spreadsheet and doing each conversion individually
> will drive me nuts.
>
> Cheers in advance
>
> Dee



 
Reply With Quote
 
=?Utf-8?B?RGVl?=
Guest
Posts: n/a
 
      18th Sep 2007
That would be amazing! The first cell this needs to applied to is D5 and the
same column D.

Thank you in advance

Dee

"Pete_UK" wrote:

> It will be a complex formula (almost finished), but to avoid problems
> with converting cell references can you tell me which is the first
> cell that this will apply to in your sheet, eg F2, and which column
> you want the formula to go into? Then I can give you the exact formula
> which you will be able to copy/paste into your sheet.
>
> Pete
>
> On Sep 17, 10:06 pm, Dee <D...@discussions.microsoft.com> wrote:
> > Morning,
> >
> > We have a program that exports a table from Auto-cad to Excel, using a
> > program called TableBuilder. It exports using feet, inches and fractions eg
> > 6'-5 1/2" or 4'-0".
> >
> > I'm looking for a way to convert this to inches and decimal points and all
> > the -, ', " removed.
> > for example 6'-5 1/2" will be 77.5 and 4'-0" will be 48
> >
> > Any ideas? It's a huge spreadsheet and doing each conversion individually
> > will drive me nuts.
> >
> > Cheers in advance
> >
> > Dee

>
>
>

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      18th Sep 2007
Hi Dee,

I can see on Google Groups that you have replied, but I can't read
your reply,and I couldn't find it at all on the microsoft discussions
site - any chance you can post it again to see if I can read that one?

Pete

On Sep 18, 10:35 am, Pete_UK <pashu...@auditel.net> wrote:
> It will be a complex formula (almost finished), but to avoid problems
> with converting cell references can you tell me which is the first
> cell that this will apply to in your sheet, eg F2, and which column
> you want the formula to go into? Then I can give you the exact formula
> which you will be able to copy/paste into your sheet.
>
> Pete
>
> On Sep 17, 10:06 pm, Dee <D...@discussions.microsoft.com> wrote:
>
>
>
> > Morning,

>
> > We have a program that exports a table from Auto-cad to Excel, using a
> > program called TableBuilder. It exports using feet, inches and fractions eg
> > 6'-5 1/2" or 4'-0".

>
> > I'm looking for a way to convert this to inches and decimal points and all
> > the -, ', " removed.
> > for example 6'-5 1/2" will be 77.5 and 4'-0" will be 48

>
> > Any ideas? It's a huge spreadsheet and doing each conversion individually
> > will drive me nuts.

>
> > Cheers in advance

>
> > Dee- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      18th Sep 2007
It's alright - I can see now that your first cell is D5. You can't put
the formula in the same column as it will overwrite the data that you
have, so make use of an empty column (eg column H) and put this
formula in H5:

=IF(ISNUMBER(FIND("
",D5)),LEFT(D5,FIND("'",D5)-1)*12+MID(D5,FIND("-",D5)+1,2)+MID(D5,FIND("
",D5),FIND("/",D5)-FIND(" ",D5))/MID(SUBSTITUTE(D5,CHAR(34),"
"),FIND("/",D5)+1,3),LEFT(D5,FIND("'",D5)-1)*12+MID(SUBSTITUTE(D5,CHAR(34),"
"),FIND("-",D5)+1,2))

This is all one formula, so be wary of spurious line-breaks that the
newsgroups sometimes introduce (usually showing up as hyphens).

I've tested it out on your examples and also on 14'-11 23/64", which
returns the correct result of 179.359375, so it seems to work. Format
the cell with the appropriate number of decimal places, and then copy
the formula down.

If you don't want this extra column in your sheet, you can fix the
values from the formula and then paste them over the original values
in column D and then delete column H.

Hope this helps.

Pete



On Sep 18, 2:01 pm, Pete_UK <pashu...@auditel.net> wrote:
> Hi Dee,
>
> I can see on Google Groups that you have replied, but I can't read
> your reply,and I couldn't find it at all on the microsoft discussions
> site - any chance you can post it again to see if I can read that one?
>
> Pete
>
> On Sep 18, 10:35 am, Pete_UK <pashu...@auditel.net> wrote:
>
>
>
> > It will be a complex formula (almost finished), but to avoid problems
> > with converting cell references can you tell me which is the first
> > cell that this will apply to in your sheet, eg F2, and which column
> > you want the formula to go into? Then I can give you the exact formula
> > which you will be able to copy/paste into your sheet.

>
> > Pete

>
> > On Sep 17, 10:06 pm, Dee <D...@discussions.microsoft.com> wrote:

>
> > > Morning,

>
> > > We have a program that exports a table from Auto-cad to Excel, using a
> > > program called TableBuilder. It exports using feet, inches and fractions eg
> > > 6'-5 1/2" or 4'-0".

>
> > > I'm looking for a way to convert this to inches and decimal points and all
> > > the -, ', " removed.
> > > for example 6'-5 1/2" will be 77.5 and 4'-0" will be 48

>
> > > Any ideas? It's a huge spreadsheet and doing each conversion individually
> > > will drive me nuts.

>
> > > Cheers in advance

>
> > > Dee- Hide quoted text -

>
> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
=?Utf-8?B?RGVl?=
Guest
Posts: n/a
 
      18th Sep 2007
Hey Pete,

Thank you again. I'll give it a go later today, when I'm in work.
Regs

Dee

"Pete_UK" wrote:

> It's alright - I can see now that your first cell is D5. You can't put
> the formula in the same column as it will overwrite the data that you
> have, so make use of an empty column (eg column H) and put this
> formula in H5:
>
> =IF(ISNUMBER(FIND("
> ",D5)),LEFT(D5,FIND("'",D5)-1)*12+MID(D5,FIND("-",D5)+1,2)+MID(D5,FIND("
> ",D5),FIND("/",D5)-FIND(" ",D5))/MID(SUBSTITUTE(D5,CHAR(34),"
> "),FIND("/",D5)+1,3),LEFT(D5,FIND("'",D5)-1)*12+MID(SUBSTITUTE(D5,CHAR(34),"
> "),FIND("-",D5)+1,2))
>
> This is all one formula, so be wary of spurious line-breaks that the
> newsgroups sometimes introduce (usually showing up as hyphens).
>
> I've tested it out on your examples and also on 14'-11 23/64", which
> returns the correct result of 179.359375, so it seems to work. Format
> the cell with the appropriate number of decimal places, and then copy
> the formula down.
>
> If you don't want this extra column in your sheet, you can fix the
> values from the formula and then paste them over the original values
> in column D and then delete column H.
>
> Hope this helps.
>
> Pete
>
>
>
> On Sep 18, 2:01 pm, Pete_UK <pashu...@auditel.net> wrote:
> > Hi Dee,
> >
> > I can see on Google Groups that you have replied, but I can't read
> > your reply,and I couldn't find it at all on the microsoft discussions
> > site - any chance you can post it again to see if I can read that one?
> >
> > Pete
> >
> > On Sep 18, 10:35 am, Pete_UK <pashu...@auditel.net> wrote:
> >
> >
> >
> > > It will be a complex formula (almost finished), but to avoid problems
> > > with converting cell references can you tell me which is the first
> > > cell that this will apply to in your sheet, eg F2, and which column
> > > you want the formula to go into? Then I can give you the exact formula
> > > which you will be able to copy/paste into your sheet.

> >
> > > Pete

> >
> > > On Sep 17, 10:06 pm, Dee <D...@discussions.microsoft.com> wrote:

> >
> > > > Morning,

> >
> > > > We have a program that exports a table from Auto-cad to Excel, using a
> > > > program called TableBuilder. It exports using feet, inches and fractions eg
> > > > 6'-5 1/2" or 4'-0".

> >
> > > > I'm looking for a way to convert this to inches and decimal points and all
> > > > the -, ', " removed.
> > > > for example 6'-5 1/2" will be 77.5 and 4'-0" will be 48

> >
> > > > Any ideas? It's a huge spreadsheet and doing each conversion individually
> > > > will drive me nuts.

> >
> > > > Cheers in advance

> >
> > > > Dee- Hide quoted text -

> >
> > > - Show quoted text -- Hide quoted text -

> >
> > - Show quoted text -

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert inches & display as Feet Inches and Fractions -- BUG FREE Mark Main Microsoft Excel Worksheet Functions 9 26th Nov 2008 08:50 PM
How do I use feet and inches (including fractions of inches) MRZ Microsoft Excel Worksheet Functions 2 18th Sep 2008 10:35 PM
Feet, inches and fractions to inches and dec.....reposting for Pet =?Utf-8?B?RGVl?= Microsoft Excel Setup 1 18th Sep 2007 04:02 PM
How do I set cell format for feet, inches, & fractions of inches? =?Utf-8?B?c3RldmUtYg==?= Microsoft Excel Worksheet Functions 3 30th Sep 2004 12:27 AM
how to convert feet-inches-fractions to feet (or inches) in Excel =?Utf-8?B?Sm9obiBCYXRlcw==?= Microsoft Excel Worksheet Functions 1 23rd Sep 2004 08:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:46 AM.