×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Instant Fraction Formatting
10

Instant Fraction Formatting

Instant Fraction Formatting

10
(OP)
For thoss of you who (like me) hate entering a fraction and having it displayed as a decimal (or a date for that matter, if you forget the =3/8 )... I came across the following in my VBA book:

You can enter the following directly into a cell and have Excel automaticlly recognize it as a fraction.

Example:  To get the fraction "3/8" to enter to a cell, type the following (minus the quotes):

"0 3/8" (zero followed by a space and the fraction)

Likewise...

typing "1 10/8" returns the (mixed) fraction "2 1/4"

Hope this proves useful to someone!

jproj

RE: Instant Fraction Formatting

That's neat.  Not only that, but if you enter a list of numbers and fractions and then do a sum, the sum is in fractions.  If you multiply a fraction by a fraction, is also results in a fraction answer.  Excel apparently will give a fractional answer as close as possible.

Now I know all you people knew this, but I've been working with Excel and Lotus (as well as Visacalc)for a long time and never knew this.  

RE: Instant Fraction Formatting

That really is neat!

Thanks jproj.

RE: Instant Fraction Formatting

Thanks Guy!
Very useful!

RE: Instant Fraction Formatting

You can further tune the display of fractions. If you want measurements to the nearest 1/16 inch, use the format code # ??/16. You can create a custom format code with any denominator you require. To restrict to a maximum number of digits in the denominator, use # ??/?? (e.g. for two digits).

What excel is missing is a rounding error indicator. My HP calculator will display fractions with an indication of whether the displayed value is higher or lower than the actual value.
-JimB

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources