PC Review


Reply
Thread Tools Rate Thread

date format problem from opening dbf file in excel 2007

 
 
pol
Guest
Posts: n/a
 
      28th Nov 2008
Hai all,

When I am opening a dbf file through excel 2007 the datcolumn shows as
follows. But there is no problem while opening through old version . How I
can solve this problem in 2007 excel

Date

20080118
20080118
20080118
20080125
20080125
20080125
20080125
02/12/2008
02/12/2008
02/12/2008
02/12/2008
02/12/2008
20080214
20080214
20080214
20080214
04/04/2008
04/04/2008
04/04/2008
04/04/2008
20081017
20081017
20081017

With thanks and regards

Pol
 
Reply With Quote
 
 
 
 
galimi
Guest
Posts: n/a
 
      28th Nov 2008
Pol,

Not certain what is causing this in 2007, but you can standardize those
dates in another column using the text function.
--
http://www.ExcelHelp.us
(E-Mail Removed)
Call me at
1-888-MY-ETHER ext. 01781474



"pol" wrote:

> Hai all,
>
> When I am opening a dbf file through excel 2007 the datcolumn shows as
> follows. But there is no problem while opening through old version . How I
> can solve this problem in 2007 excel
>
> Date
>
> 20080118
> 20080118
> 20080118
> 20080125
> 20080125
> 20080125
> 20080125
> 02/12/2008
> 02/12/2008
> 02/12/2008
> 02/12/2008
> 02/12/2008
> 20080214
> 20080214
> 20080214
> 20080214
> 04/04/2008
> 04/04/2008
> 04/04/2008
> 04/04/2008
> 20081017
> 20081017
> 20081017
>
> With thanks and regards
>
> Pol

 
Reply With Quote
 
pol
Guest
Posts: n/a
 
      28th Nov 2008
Please let me know how to use text function to solve this problem

With thanks
Pol

"galimi" wrote:

> Pol,
>
> Not certain what is causing this in 2007, but you can standardize those
> dates in another column using the text function.
> --
> http://www.ExcelHelp.us
> (E-Mail Removed)
> Call me at
> 1-888-MY-ETHER ext. 01781474
>
>
>
> "pol" wrote:
>
> > Hai all,
> >
> > When I am opening a dbf file through excel 2007 the datcolumn shows as
> > follows. But there is no problem while opening through old version . How I
> > can solve this problem in 2007 excel
> >
> > Date
> >
> > 20080118
> > 20080118
> > 20080118
> > 20080125
> > 20080125
> > 20080125
> > 20080125
> > 02/12/2008
> > 02/12/2008
> > 02/12/2008
> > 02/12/2008
> > 02/12/2008
> > 20080214
> > 20080214
> > 20080214
> > 20080214
> > 04/04/2008
> > 04/04/2008
> > 04/04/2008
> > 04/04/2008
> > 20081017
> > 20081017
> > 20081017
> >
> > With thanks and regards
> >
> > Pol

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      28th Nov 2008
Assuming your "dates" are in column D, starting in D2, then you can
put this formula in an adjacent column on row 2:

=IF(D2<40000,D2,DATE(LEFT(D2,4),MID(D2,5,2),RIGHT(D2,2)))

Format the cell as a date in the style you prefer, and then copy down.

Hope this helps.

Pete

On Nov 28, 4:36*pm, pol <p...@discussions.microsoft.com> wrote:
> Please let me know how to use text function to solve this problem
>
> With thanks
> Pol
>
>
>
> "galimi" wrote:
> > Pol,

>
> > Not certain what is causing this in 2007, but you can standardize those
> > dates in another column using the text function.
> > --
> >http://www.ExcelHelp.us
> > e...@ExcelHelp.us
> > Call me at
> > 1-888-MY-ETHER ext. 01781474

>
> > "pol" wrote:

>
> > > Hai all,

>
> > > When I am opening a dbf file through excel 2007 the datcolumn shows as
> > > follows. But there is no problem while opening through old version . *How I
> > > can solve this problem in 2007 excel

>
> > > Date

>
> > > 20080118
> > > 20080118
> > > 20080118
> > > 20080125
> > > 20080125
> > > 20080125
> > > 20080125
> > > 02/12/2008
> > > 02/12/2008
> > > 02/12/2008
> > > 02/12/2008
> > > 02/12/2008
> > > 20080214
> > > 20080214
> > > 20080214
> > > 20080214
> > > 04/04/2008
> > > 04/04/2008
> > > 04/04/2008
> > > 04/04/2008
> > > 20081017
> > > 20081017
> > > 20081017

>
> > > With thanks and regards

>
> > > Pol- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
macropod
Guest
Posts: n/a
 
      29th Nov 2008
Hi pol,

Assuming the data start in D2, try:
=IF(LEFT(CELL("format",D2),1)="D",D2,DATE(LEFT(D2,4),MID(D2,5,2),RIGHT(D2,2)))
Format the cell as a date, then copy down.
--
Cheers
macropod
[MVP - Microsoft Word]


"pol" <(E-Mail Removed)> wrote in message news:BB9646B3-6F9D-4430-BD87-(E-Mail Removed)...
> Hai all,
>
> When I am opening a dbf file through excel 2007 the datcolumn shows as
> follows. But there is no problem while opening through old version . How I
> can solve this problem in 2007 excel
>
> Date
>
> 20080118
> 20080118
> 20080118
> 20080125
> 20080125
> 20080125
> 20080125
> 02/12/2008
> 02/12/2008
> 02/12/2008
> 02/12/2008
> 02/12/2008
> 20080214
> 20080214
> 20080214
> 20080214
> 04/04/2008
> 04/04/2008
> 04/04/2008
> 04/04/2008
> 20081017
> 20081017
> 20081017
>
> With thanks and regards
>
> Pol

 
Reply With Quote
 
pol
Guest
Posts: n/a
 
      1st Dec 2008
Thanks it was helpful to me

thanks a lot

"macropod" wrote:

> Hi pol,
>
> Assuming the data start in D2, try:
> =IF(LEFT(CELL("format",D2),1)="D",D2,DATE(LEFT(D2,4),MID(D2,5,2),RIGHT(D2,2)))
> Format the cell as a date, then copy down.
> --
> Cheers
> macropod
> [MVP - Microsoft Word]
>
>
> "pol" <(E-Mail Removed)> wrote in message news:BB9646B3-6F9D-4430-BD87-(E-Mail Removed)...
> > Hai all,
> >
> > When I am opening a dbf file through excel 2007 the datcolumn shows as
> > follows. But there is no problem while opening through old version . How I
> > can solve this problem in 2007 excel
> >
> > Date
> >
> > 20080118
> > 20080118
> > 20080118
> > 20080125
> > 20080125
> > 20080125
> > 20080125
> > 02/12/2008
> > 02/12/2008
> > 02/12/2008
> > 02/12/2008
> > 02/12/2008
> > 20080214
> > 20080214
> > 20080214
> > 20080214
> > 04/04/2008
> > 04/04/2008
> > 04/04/2008
> > 04/04/2008
> > 20081017
> > 20081017
> > 20081017
> >
> > With thanks and regards
> >
> > Pol

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File always opens with Date format set - Excel 2007 ale Microsoft Excel Misc 0 30th Dec 2007 02:55 PM
Date format on opening a csv file in Excel 2007 =?Utf-8?B?R2xlYW0=?= Microsoft Excel Programming 1 4th Nov 2007 08:25 PM
Excel 2007 Date Format Problem Terry Microsoft Excel Discussion 0 22nd Nov 2006 12:02 PM
Excel 2007 File Problems (Opening New Format) =?Utf-8?B?R3JhemVu?= Microsoft Excel Misc 2 21st Jul 2006 04:24 PM
opening excel file -> date format problem: DD/MM/YYYY vs MM/DD/YYYY yung Microsoft Excel Programming 2 18th Mar 2005 12:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:16 PM.