converting architectural units

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I'm trying to convert 2'-8" to 32 in Excel. Any ideas? Thanks a TON
to anyone that can help.
-m
 
I don't know how generalized the technique needs to be, but for the specific
construct you show:

Demo'd from the immediate window
sStr = "2'-8"""
? sStr
2'-8"
varr = split(sStr,"-")
? val(varr(0))*12 + val(varr(1))
32

Assumes xl2000 or later
 

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

Back
Top