View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] saraqpost@yahoo.com is offline
external usenet poster
 
Posts: 3
Default Parse Cell Around "Dash" in Data

Though I understand Excel is a math system, and would see .1 and .10 as
the same number, my users do not.

The user gets data from suppliers, that shows:

Feet.Inches x Feet.Inches
12.1 x 8.10
9 x 7.5
11.10 x 10.9

(and so on)

Seeing these numbers as Feet dot (.) Inches, he wants to know the
Square Yardage value of the piece of carpet.

The problem is that 12.1 and 12.10 is the same number to Excel, but
it's 12 feet 1 inch in one case and 12 feet 10 inches in the other.

I can get the Integer, always, with the Int function, but I can't
figure out how to get the inches. If I can convert each column (length
and width being the 2 columns) to inches, I can get square yards by
using the formula (with cell references):

Inches (of Length) * Inches (of Width) / 1296

Any ideas?

thanks