Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Importing fractions with proper format from CSV

I am having a slight issue with comma separated value files and
fractions. When opening a plain text file with lines like;

"Full Name","Ancestory"
"Sara Lee","1/2"

Excel converts the value of '1/2' into January 2nd, when it should
remain a fraction. Formatting the column for fractions then results in
the numeric value representing January 2nd (37988). The original
fraction at that point is entirely gone.

Placing an apostrophe (single-quote) in front of the fraction in the
CSV file causes the fraction to display without conversion, but the
apostrophe is not hidden unless I go through and manually touch each
cell (edit, then move on).

I realize this isn't technically "programming", but it still seemed to
fit this forum. Does anyone have any tips or information on how to
prevent this auto-conversion and have the fraction show by its self?

Thanks,
-Ross


---
Message posted from http://www.ExcelForum.com/

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
How to format numbers as architectural fractions (1/16,1/8,1/4 ) Jack W Excel Discussion (Misc queries) 6 May 4th 23 03:41 AM
How do I Format fractions as fraction characters in Excel 2003? drywall steve Excel Discussion (Misc queries) 1 July 22nd 09 11:54 PM
Cond Format & Proper laurie g Excel Discussion (Misc queries) 4 September 19th 06 12:46 PM
Fractions in 16ths format - reducing to LCD Derek Excel Discussion (Misc queries) 4 June 17th 05 12:13 PM
Changing proper fractions to improper. apersonoutthere Excel Discussion (Misc queries) 1 April 15th 05 07:24 AM


All times are GMT +1. The time now is 03:59 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"