Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board


Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board (http://www.paceadvantage.com/forum/index.php)
-   Off Topic - Computers (http://www.paceadvantage.com/forum/forumdisplay.php?f=55)
-   -   Excel Help (http://www.paceadvantage.com/forum/showthread.php?t=148270)

Tom 10-26-2018 01:27 AM

Excel Help
 
I have a column of data I want to use Text to columns to fix.
The data is not lined up in every cell.

3 MSW
3 MC5000
3 Clm10000
3 STR

When I get rid of the first column of numbers, there is an extra space on the left in many cells.
I tried using TRIM but it doesn't work.

Any suggestions?

TY

jay68802 10-26-2018 01:45 AM

Try

=SPLIT(A?," ")

rispa 10-26-2018 06:58 AM

Try using the Text to Columns function:

Either delimited by space or use Fixed width (importing only the column you want).

Tom 10-26-2018 08:52 AM

I'm using Text to Columns, but I still get the text off set.
The example I used straightened itself out in my post!
Looks like this:

3 MSW
3... MC5000
3 Clm10000
3 ...STR

Then after T2C it looks like this

MSW
... MC5000
Clm10000
...STR

Tom 10-26-2018 08:55 AM

Quote:

Originally Posted by jay68802 (Post 2387234)
Try

=SPLIT(A?," ")

I get a function not valid comment.

rispa 10-26-2018 09:10 AM

Try this.

Highlight entire row first. Then do text to columns. Choose delimit by space.

Are you taking the data from DRF Winner's books?

Tom 10-26-2018 10:29 AM

I am merging several old Excel sheets into one so I can put into Access.
Some of the data came from comma files, and were spaced odd.

I'll try that T2C method.
I've been using fixed.

Just tried - nope - splits in to too many columns - like, Md Sp Wt is not 3 columns.

I have a manual workaround, just takes a long time.

TY

spiketoo 10-26-2018 11:43 AM

Shouldn't be any issues if imported from previous xls but try using the CLEAN function to strip out any funky data that may be present before you go T to C.

Tom 10-26-2018 03:57 PM

Clean as no effect.

AltonKelsey 10-26-2018 08:44 PM

I tried your posted example and it works for me




Did you click the check box on screen two of the splitter "treat consecutive delimiters as one"




If thats not it, upload a sample file, and Ill look at it

cj 10-26-2018 11:09 PM

1 Attachment(s)
Quote:

Originally Posted by Tom (Post 2387477)
Clean as no effect.


=SUBSTITUTE(RIGHT(A1,LEN(A1)-1)," ","")

Where the initial data is in A1.

Suff 10-26-2018 11:13 PM

Could you use find and replace? In the find box hit the space bar, in the replace box put nothing. replace all. done.

Tom 10-27-2018 02:29 PM

CJ - will try that.
Suff - tried that - no luck.
Alton-
I'm using Excel 2000, so maybe some of those things weren't around back then.

rispa 10-28-2018 09:51 AM

If you would like to send me some of the data, I would give it a whirl and try to help. I'm using Excel 2003.



Just a thought..........

cj 10-28-2018 11:38 AM

Quote:

Originally Posted by Tom (Post 2387934)
CJ - will try that.
Suff - tried that - no luck.
Alton-
I'm using Excel 2000, so maybe some of those things weren't around back then.

Cool, let me know. Possible the white space is tab or something else if that doesn't work. I just replaced your dots in the example with spaces.


All times are GMT -4. The time now is 01:28 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved

» Advertisement
» Current Polls
Wh deserves to be the favorite? (last 4 figures)
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 01:28 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program
designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.