#1   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default column justification

I have a spreadsheet that has a column formated as general, but the numbers
in the column are right justified in some and left justified in others. If
the number has a space after the first 3 numbers it left justifies. If it
does not then it right justifies. This spreadsheet is downloaded from a
vendor in .xls format.

My problem is I am trying to import into Access and when it hits the numbers
that are left justified it gives me an import error.

Is there something in this spreadsheet that I can not find that is causing
this to act differently?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,327
Default column justification

Hi

Left aligned stuff is text if no alignment is forced. Not numbers, but
number looking text. Not dates, but date looking text.

Access understands. You will have to repair that data.

From your description, try edit-replace, replace space with nothing, and see
if alignment changes.

HTH. Best wishes Harald

"Bob" skrev i melding
...
I have a spreadsheet that has a column formated as general, but the

numbers
in the column are right justified in some and left justified in others.

If
the number has a space after the first 3 numbers it left justifies. If it
does not then it right justifies. This spreadsheet is downloaded from a
vendor in .xls format.

My problem is I am trying to import into Access and when it hits the

numbers
that are left justified it gives me an import error.

Is there something in this spreadsheet that I can not find that is causing
this to act differently?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default column justification

Thank you both. At least I know what is going on now.

"Harald Staff" wrote:

Hi

Left aligned stuff is text if no alignment is forced. Not numbers, but
number looking text. Not dates, but date looking text.

Access understands. You will have to repair that data.

From your description, try edit-replace, replace space with nothing, and see
if alignment changes.

HTH. Best wishes Harald

"Bob" skrev i melding
...
I have a spreadsheet that has a column formated as general, but the

numbers
in the column are right justified in some and left justified in others.

If
the number has a space after the first 3 numbers it left justifies. If it
does not then it right justifies. This spreadsheet is downloaded from a
vendor in .xls format.

My problem is I am trying to import into Access and when it hits the

numbers
that are left justified it gives me an import error.

Is there something in this spreadsheet that I can not find that is causing
this to act differently?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default column justification

Anything with a space or letter in it becomes alphanumberic data and thus
acts as text and is left justified, the ones without no spaces or letters
will act as strictly numeric data and thus be right justified. I'm not
familiar with how importing into access works but if you have to declare what
type of data you are importing it will not like the alpha numeric if it is
only looking for numeric data.

"Bob" wrote:

I have a spreadsheet that has a column formated as general, but the numbers
in the column are right justified in some and left justified in others. If
the number has a space after the first 3 numbers it left justifies. If it
does not then it right justifies. This spreadsheet is downloaded from a
vendor in .xls format.

My problem is I am trying to import into Access and when it hits the numbers
that are left justified it gives me an import error.

Is there something in this spreadsheet that I can not find that is causing
this to act differently?

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
Stock data manipulation [email protected] Excel Worksheet Functions 1 June 12th 06 11:06 PM
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 05:27 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"