+ Reply to Thread
Results 1 to 3 of 3

Text to Fractions

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Text to Fractions

    HI,

    I have a large sample of data which contains fractions. However every time i copy the data into excel it changes some of the fractions to dates

    Is there anyway that i can avoid this by using VBA or any other means?

    Many thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Text to Fractions

    Maybe if you preformat the column(s) you are going to paste to as Text...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Text to Fractions

    Hi, and welcome to the forum,

    Have you tried formatting the receiving cells as 'Fraction'?
    What does the original data look like. is it a text, i.e. '1/3 (prefaced by a label marker)?

    One other solution might be to first substitute the "/" character which is causing something like 5/3 to be interpreted as the date 5th March, with some other character, paste the data into an Excel column formatted as fraction and then replace the temporary character with the '/'.

    It might be easier if you upload your source file and your Excel file so that we can see the problem in context.

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1