+ Reply to Thread
Results 1 to 11 of 11

eliminating leading space

Hybrid View

tdvy31 eliminating leading space 12-06-2007, 12:55 PM
shg Copy a blank cell. Select all... 12-06-2007, 12:57 PM
tdvy31 shg: just tried that and... 12-06-2007, 01:12 PM
shg Make sure the cells are not... 12-06-2007, 01:14 PM
tdvy31 attached is tab-delimited... 12-06-2007, 02:20 PM
  1. #1
    Registered User
    Join Date
    12-06-2007
    Posts
    5

    eliminating leading space

    Trying to manipulate basketball statistics copied from websites ... each cell has a leading space before the number(s) ... is there any way to globally eliminate the leading space from the cells

    Tried find/replace, finding [space] replacing with 0 (which would then be disregarded ... didn't work

    Tried converting all cells to number format, didn't work

    Any suggestions would be welcome and thanks in advance.

    Trevor (tdvy31)

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Copy a blank cell. Select all the cells with the leading spaces, and do Edit > Paste Special > Add.

  3. #3
    Registered User
    Join Date
    12-06-2007
    Posts
    5
    shg: just tried that and didn't seem to work ... maybe doing something wrong (although your directions were pretty simple)

    1) copy a blank cell
    2) then select all the cells with leading space
    3) choose paste special with "add" selected

    am I missing something ... when I do this nothing seems to happen

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Make sure the cells are not formatted as text. If it still doesn't work, post an example.

  5. #5
    Registered User
    Join Date
    12-06-2007
    Posts
    5
    attached is tab-delimited .txt version of spreadsheet ... I must be missing some simple thing because it doesn't seem to work ...

    if you figure out what the problem is, wonderful, because I have this situation with about 20 other spreadsheets I work with and have resorted to basically rekeying the info (which is annoying and very very time-consuming)

    thanks for your help
    Attached Files Attached Files

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    The text file doesn't help; please post the spreadsheet.

    I imported the text file; there's a horizontal tab that needs to be discarded.

    Gotta hop on an airplane, sorry. If no one fixes this for you, I'll try to post a macro this evening.
    Last edited by shg; 12-06-2007 at 02:44 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1