Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default how to clear up mixed date/text column

I have a column of mixed date/text in an Excel Workbook. The workbook
is downloaded from SAP system.

The column contains data that look like dates , but up sorting, they
would appear at different places; the "istext" function would confirm
they are text or data.

03/21/2006 istext = true
03/21/2006 istext= false

How to fix problems like this?

I tried:
a) format-cell - data - date for the column etc.
b) copy/special paste - text/value etc

but none worked for me.

Thanks for suggestions.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to clear up mixed date/text column

Hi:

Try this:

Make a loop in a range and use VBA function ISDATE. this feature can
identify the text like dates and return true if is valid date.

If you use format only change the aspect and not then contents


Regars.

Luis F. Ortiz


escribió en el mensaje
oups.com...
I have a column of mixed date/text in an Excel Workbook. The workbook
is downloaded from SAP system.

The column contains data that look like dates , but up sorting, they
would appear at different places; the "istext" function would confirm
they are text or data.

03/21/2006 istext = true
03/21/2006 istext= false

How to fix problems like this?

I tried:
a) format-cell - data - date for the column etc.
b) copy/special paste - text/value etc

but none worked for me.

Thanks for suggestions.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default how to clear up mixed date/text column

Thanks. I was using ISTEXT to identify those "NON Data" already.

But how to convert those being identified not "Valid Date" entries such
as "03/20/2006" to a valid date. I suspect those may have some some
hidden identifer to make them non-date entries. How to remove those
identifer(s)?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to clear up mixed date/text column

Try this

Use functions like MONTH, YEAR and DAY to extract a parts of date and joint
it as you wish. later use CDATE to convert it in a valid date.

Regards.


escribió en el mensaje
ups.com...
Thanks. I was using ISTEXT to identify those "NON Data" already.

But how to convert those being identified not "Valid Date" entries such
as "03/20/2006" to a valid date. I suspect those may have some some
hidden identifer to make them non-date entries. How to remove those
identifer(s)?



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
Mixed Data in column Greg Excel Discussion (Misc queries) 5 July 17th 09 05:32 PM
Excel 2007 - mixed type (line, column, stacked column) in one char Mike Charts and Charting in Excel 0 August 5th 08 06:33 PM
clear cell based on text in opposing column [email protected] Excel Worksheet Functions 2 July 14th 08 04:09 AM
Clustered column graph with mixed data in 2nd column drhatt Charts and Charting in Excel 1 October 27th 07 10:59 PM
Counting a mixed text/number column based on text in another colum Sierra Vista Steve Excel Discussion (Misc queries) 3 December 17th 06 05:30 PM


All times are GMT +1. The time now is 09:28 AM.

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"