+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Howto delete an empty space in cells

  1. #1
    Registered User
    Join Date
    02-02-2011
    Location
    Stockholm,Sweden
    MS-Off Ver
    Excel 2007
    Posts
    1

    Howto delete an empty space in cells

    Hi

    Im new here and i thought maybe there are some excel experts in here that could help me with (probably a VERY simple question) but i have no clue what todo.
    So please help if you can.


    Anyways, this is what my line(s) looks like in Excel 2007.

    01/31/2011 - 07:50 4 491 01/31/2011 - 17:04 4 723

    As you can see 4491 and 4723 have spaces between 4 and 4 , 4 and 7
    I simply want to make a macro that delete thoose spaces

    (i tried ctrl+h, replace...but quickly found out that how do i enter a delete command and a space command?? probably not the way togo.)

    Furthermore, a macro for this might not even be nessesarry, what im trying to do is simply
    subtract 4491 from 4723 (D27-B27), but as long as it is a space there i get #wrongvalue
    IF i take away the space, no problems at all.

    Hope you understood what i'm talking about my english isnt the greatest, but it seem like a basic excel problem.

    Thanx

    /Doggen

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Howto delete an empty space in cells

    You can do it with Find and replace

    Find What;= enter space
    Replace with:= leave empty

    And peg through changing as required, (or maybe just all if it suits)

    If it is an ongoing thing you might want to use
    Please Login or Register  to view this content.
    assuming that e.g. B27 contains 4 491 and not 01/31/2011 - 07:50 4 491

    Hope this helps
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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