Need Help With Importing DBF File

CARBOB

Well-known Member
Joined
Jun 6, 2005
Messages
1,866
I have approx. 35 files that I have imported with DBF format. The problem I have is when I attempt to sort the dates sort but not the values. I think the values are in text format but I reformatted the column to numbers, still not working. Thanks for help.
Carbob
ALLSTATES CASH 3.xls
ABCDE
1DRAWDATEP1P2P3
201/28/1997011011
301/29/1997926926
401/30/1997201201
501/31/1997206206
602/01/1997980980
Fl31
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
It's not clear from your example what the problem is because all the dates are unique.

If you want to sort all the data by date, select it all before sorting.

You can quickly convert text that liiks like a number to a real number by clicking the column header, choosing Data|Text to Columns and clicking Finish. Changing the Format won't change the cell contents, only how it looks.
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,344
Office Version
  1. 365
Platform
  1. Windows
Is it the column with the dates that's the problem.

If so try this:

Select the column with the dates.

Goto Data>Text to columns...

On the 3rd step chose Date for Column data format and MDY from the dropdown.

That should change them to true date values.
 

CARBOB

Well-known Member
Joined
Jun 6, 2005
Messages
1,866
Andrew, your suggestion worked. Norie, sbeatton thanks for responding.

Carbob
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,995
Messages
5,834,777
Members
430,321
Latest member
yemisimi11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top