#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default fractions to date

I am copy and pasting an htm form to an excel file. All works well except one
field. On the htm it is a fraction - 4/4 , 3/2 etc. It converts to date of
4-April, 2-March. My ultimate goal is to keep it as a fraction or break it
into 2 fields- a= 4, b=4. Then I will convert it to a .csv file and import
to a third program. I am using Excel 2007. I don't have a clue how to
accomplish this. Please help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default fractions to date

One way is as follows;

Suppose you have got the dates (after wrong conversion) in Col A...

Enter this in B1
=TEXT(A1,"m")
to get the month as a number

Enter this in C1
=TEXT(A1,"d")
to get the date

Or this
="'" & =TEXT(A1,"m") & "/" & =TEXT(A1,"d") to get it as a fraction
(formatted as TEXT)


"Vivian H." wrote:

I am copy and pasting an htm form to an excel file. All works well except one
field. On the htm it is a fraction - 4/4 , 3/2 etc. It converts to date of
4-April, 2-March. My ultimate goal is to keep it as a fraction or break it
into 2 fields- a= 4, b=4. Then I will convert it to a .csv file and import
to a third program. I am using Excel 2007. I don't have a clue how to
accomplish this. Please help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default fractions to date


Thank you! This does exactly what I need.
"Sheeloo" wrote:

One way is as follows;

Suppose you have got the dates (after wrong conversion) in Col A...

Enter this in B1
=TEXT(A1,"m")
to get the month as a number

Enter this in C1
=TEXT(A1,"d")
to get the date

Or this
="'" & =TEXT(A1,"m") & "/" & =TEXT(A1,"d") to get it as a fraction
(formatted as TEXT)


"Vivian H." wrote:

I am copy and pasting an htm form to an excel file. All works well except one
field. On the htm it is a fraction - 4/4 , 3/2 etc. It converts to date of
4-April, 2-March. My ultimate goal is to keep it as a fraction or break it
into 2 fields- a= 4, b=4. Then I will convert it to a .csv file and import
to a third program. I am using Excel 2007. I don't have a clue how to
accomplish this. Please help.

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
fractions knowalittleaboutthis Excel Worksheet Functions 3 November 18th 08 01:53 PM
fractions smakee Excel Discussion (Misc queries) 2 December 17th 07 05:24 PM
Fractions Angel1 Excel Discussion (Misc queries) 4 October 18th 06 06:54 PM
Fractions Andy Excel Discussion (Misc queries) 1 May 11th 06 05:02 PM
Fractions V Excel Discussion (Misc queries) 5 September 14th 05 04:00 PM


All times are GMT +1. The time now is 12:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"