Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Mr Gow
 
Posts: n/a
Default Deleting blank spaces in cells


Hi all
I have spreadsheet (converted from report) which contains cells that
contain data and blank spaces. I want to keep the data and delete the
blank spaces. All cells are not formatted the same eg some are 4 blank
spaces and then text, some are text and 14 blank spaces. Please help!


--
Mr Gow
------------------------------------------------------------------------
Mr Gow's Profile: http://www.excelforum.com/member.php...o&userid=34511
View this thread: http://www.excelforum.com/showthread...hreadid=542758

  #2   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default Deleting blank spaces in cells

Hi Mr Gow,

Look at the Trim function in Excel help.

Trim will remove the leading and trailing spaces.



---
Regards,
Norman



"Mr Gow" wrote in
message ...

Hi all
I have spreadsheet (converted from report) which contains cells that
contain data and blank spaces. I want to keep the data and delete the
blank spaces. All cells are not formatted the same eg some are 4 blank
spaces and then text, some are text and 14 blank spaces. Please help!


--
Mr Gow
------------------------------------------------------------------------
Mr Gow's Profile:
http://www.excelforum.com/member.php...o&userid=34511
View this thread: http://www.excelforum.com/showthread...hreadid=542758



  #3   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default Deleting blank spaces in cells

Hi Mr Gow,

Depending on the nature of the spaces, you may also wish to visit David
McRitchie's TrimAll page at:

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


---
Regards,
Norman


  #4   Report Post  
Posted to microsoft.public.excel.misc
JMB
 
Posts: n/a
Default Deleting blank spaces in cells

You can set up a helper column and use the TRIM function to remove extra
spaces.

=TRIM(B1)

Then copy this formula as far as necessary, copy, click Edit/PasteSpecial -
values. Then delete the original data. Play with it a little bit, just be
sure to back up your data.


"Mr Gow" wrote:


Hi all
I have spreadsheet (converted from report) which contains cells that
contain data and blank spaces. I want to keep the data and delete the
blank spaces. All cells are not formatted the same eg some are 4 blank
spaces and then text, some are text and 14 blank spaces. Please help!


--
Mr Gow
------------------------------------------------------------------------
Mr Gow's Profile: http://www.excelforum.com/member.php...o&userid=34511
View this thread: http://www.excelforum.com/showthread...hreadid=542758


  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Deleting blank spaces in cells

If you want to get rid of all the spaces--including any between words:

Select the range to fix
edit|replace
what: (spacebar)
with: (leave blank)
replace all

Mr Gow wrote:
would become
MrGowwrote:



Mr Gow wrote:

Hi all
I have spreadsheet (converted from report) which contains cells that
contain data and blank spaces. I want to keep the data and delete the
blank spaces. All cells are not formatted the same eg some are 4 blank
spaces and then text, some are text and 14 blank spaces. Please help!

--
Mr Gow
------------------------------------------------------------------------
Mr Gow's Profile: http://www.excelforum.com/member.php...o&userid=34511
View this thread: http://www.excelforum.com/showthread...hreadid=542758


--

Dave Peterson
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
Deleting Blank Cells Wholesale? Trey Excel Discussion (Misc queries) 1 October 6th 05 09:37 PM
pivot tables reports - altering display of (blank) cells cak Excel Worksheet Functions 1 August 22nd 05 12:39 AM
CONCATENATE problem with blank cells roger_home Excel Discussion (Misc queries) 1 August 17th 05 09:18 PM
Blank cells represented in area charts cdoughty Charts and Charting in Excel 2 August 6th 05 06:02 PM
Copy down - special to fill only the blank cells Mike Excel Discussion (Misc queries) 3 April 18th 05 10:08 PM


All times are GMT +1. The time now is 11:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"