+ Reply to Thread
Results 1 to 4 of 4

Erase space in a cell

  1. #1
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Erase space in a cell

    I need to erase space (any spaces) which appears in a cell.
    Example: Boeing 747 should read Boeing747
    Any help with this function would be appreciated.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Erase space in a cell

    Try

    =SUBSTITUTE(A1," ","")

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Erase space in a cell

    Please Login or Register  to view this content.
    or Ctrl+H and replace space with nothing

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Erase space in a cell

    I know you listed this as solved but it seems a simpler option would be using a find/replace where in find you put the space and in replace you leave it blank.
    make sure you have it as any part of cell and highlight the column only where you want it to happen. Easy and done w/o a formula.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to erase the name of a cell using macros?
    By luisfmb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2014, 12:41 PM
  2. [SOLVED] button erase dont erase an image inserted on an image control
    By Nuno Neves in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2014, 08:04 AM
  3. How to erase some words on a cell?
    By Gravity101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-21-2013, 07:36 AM
  4. [SOLVED] Erase cell that are unprotect AND not in the first row.
    By Melisendk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2013, 02:34 AM
  5. [SOLVED] If Cell Starts with a Space, remove that space
    By Ocean Zhang in forum Excel General
    Replies: 2
    Last Post: 09-29-2012, 01:52 PM
  6. [SOLVED] how to erase all spaces in text cell?
    By D in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2006, 03:45 AM
  7. erase all space characters into string
    By Maileen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2005, 06:06 PM

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