Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default text to date format

I am exporting into Excel from the electronic medical record system,
AllScripts Professional EHR. There are 2 columns of dates which ultimately I
need to subtract. One column of dates comes across just fine, it's obviously
a date column. The other column of dates, when you click on a cell, NOTHING
shows up in the white bar below the ribbon, however, there are dates that are
left justified in the column, plain as day. My challenge is to turn these
mysterious cells into dates so I can perform the subtraction. One more note,
the column in question (along with the text column before it) does not show
up on the screen after export unless I insert a column and then the text and
"date" columns pop up on the screen. AllScripts says there are "special
characters" there and has no real ideas for me. Thanks! Note: Version is
2007
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default text to date format

One frequent culprit is a non-breaking space, CHAR(160).
Try =SUBSTITUTE(A1,CHAR(160),"")

After that you may need to convert text to columns to change to a number, or
you may get away with doing the 2 steps together by using
=--SUBSTITUTE(A1,CHAR(160),"") and formatting appropriately.

If it isn't that character, you may need to check your text string to find
out what the dodgy characters are.
--
David Biddulph

"EMREMEV" wrote in message
...
I am exporting into Excel from the electronic medical record system,
AllScripts Professional EHR. There are 2 columns of dates which
ultimately I
need to subtract. One column of dates comes across just fine, it's
obviously
a date column. The other column of dates, when you click on a cell,
NOTHING
shows up in the white bar below the ribbon, however, there are dates that
are
left justified in the column, plain as day. My challenge is to turn these
mysterious cells into dates so I can perform the subtraction. One more
note,
the column in question (along with the text column before it) does not
show
up on the screen after export unless I insert a column and then the text
and
"date" columns pop up on the screen. AllScripts says there are "special
characters" there and has no real ideas for me. Thanks! Note: Version is
2007



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default text to date format

Hi,

I can't really say what's happening, but try this for starters:

The "white bar below the ribbon" is called the Formula Bar. Place your
mouse along the bottom of the of this Formula Bar and when the mouse becomes
a two headed arrow, drag down. It seem likely that the dates are preceeded
by special characters, so you may now see them on the formula bar.

To clean up this problem try
=CLEAN(A1)
this formula assumes that A1 has one of the offending dates. put this
formula in a blank cell and see if that helps, if so copy the formula down,
then convert the formula to values using Copy and Paste, Paste Values
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"EMREMEV" wrote:

I am exporting into Excel from the electronic medical record system,
AllScripts Professional EHR. There are 2 columns of dates which ultimately I
need to subtract. One column of dates comes across just fine, it's obviously
a date column. The other column of dates, when you click on a cell, NOTHING
shows up in the white bar below the ribbon, however, there are dates that are
left justified in the column, plain as day. My challenge is to turn these
mysterious cells into dates so I can perform the subtraction. One more note,
the column in question (along with the text column before it) does not show
up on the screen after export unless I insert a column and then the text and
"date" columns pop up on the screen. AllScripts says there are "special
characters" there and has no real ideas for me. Thanks! Note: Version is
2007

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default text to date format

Thanks for getting back to me, Shane and David.

Pulling down the formula bar was very helpful, now I know that there is a
RETURN before the date. When I did CLEAN and COPY-PASTE SPECIAL-VALUES I got
a text value. I can parse the text "date" but not sure how to put it back
together.

Thanks!



"Shane Devenshire" wrote:

Hi,

I can't really say what's happening, but try this for starters:

The "white bar below the ribbon" is called the Formula Bar. Place your
mouse along the bottom of the of this Formula Bar and when the mouse becomes
a two headed arrow, drag down. It seem likely that the dates are preceeded
by special characters, so you may now see them on the formula bar.

To clean up this problem try
=CLEAN(A1)
this formula assumes that A1 has one of the offending dates. put this
formula in a blank cell and see if that helps, if so copy the formula down,
then convert the formula to values using Copy and Paste, Paste Values
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"EMREMEV" wrote:

I am exporting into Excel from the electronic medical record system,
AllScripts Professional EHR. There are 2 columns of dates which ultimately I
need to subtract. One column of dates comes across just fine, it's obviously
a date column. The other column of dates, when you click on a cell, NOTHING
shows up in the white bar below the ribbon, however, there are dates that are
left justified in the column, plain as day. My challenge is to turn these
mysterious cells into dates so I can perform the subtraction. One more note,
the column in question (along with the text column before it) does not show
up on the screen after export unless I insert a column and then the text and
"date" columns pop up on the screen. AllScripts says there are "special
characters" there and has no real ideas for me. Thanks! Note: Version is
2007

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
Change Date Format to Specific Text Format When Copying [email protected] Excel Discussion (Misc queries) 4 December 23rd 08 03:43 PM
Convert date from text format to date format Anita Excel Discussion (Misc queries) 3 June 4th 07 11:57 AM
Convert date + time text format to date format Paul Ho Excel Worksheet Functions 2 May 22nd 07 05:47 PM
Concatenating a Text and a Date without losing orginal Date Format Hi_no_Tori Excel Discussion (Misc queries) 5 September 17th 06 06:35 PM
Help: How do I convert a text date into a real date format japorms Excel Worksheet Functions 4 August 2nd 06 06:36 PM


All times are GMT +1. The time now is 05:22 AM.

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"