Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Removing spaces from cells

I have a very large spreadsheet--like 35,000 items long including 12-digit
UPC. The problem alot of them have spaces in between the numbers. We need
to import without any spaces.

Anything built into excel to do this easily--or is it better to just buy the
add-in.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Removing spaces from cells

A simple Find/Replace should do the trick.

Select your range of UPC numbers
From the Edit Menu, choose "Replace"
In the Find What field, type a space
In the Replace With field, leave it blank
Click on Replace All

HTH,
Elkar


"CathyD" wrote:

I have a very large spreadsheet--like 35,000 items long including 12-digit
UPC. The problem alot of them have spaces in between the numbers. We need
to import without any spaces.

Anything built into excel to do this easily--or is it better to just buy the
add-in.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Removing spaces from cells

On Tue, 13 Nov 2007 12:55:00 -0800, CathyD
wrote:

I have a very large spreadsheet--like 35,000 items long including 12-digit
UPC. The problem alot of them have spaces in between the numbers. We need
to import without any spaces.

Anything built into excel to do this easily--or is it better to just buy the
add-in.


Worksheet function:

=SUBSTITUTE(A1," ","")

will give you the result in a different cell.

Or you can use the Edit/Replace <space for <nothing


--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default Removing spaces from cells

assuming your code in in A1. in B1 write =CLEAN(A1) and drag it down. you
can then copy and paste special|values.

Does that work?

"CathyD" wrote in message
...
I have a very large spreadsheet--like 35,000 items long including 12-digit
UPC. The problem alot of them have spaces in between the numbers. We
need
to import without any spaces.

Anything built into excel to do this easily--or is it better to just buy
the
add-in.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Removing spaces from cells

CLEAN will not remove spaces nor invisible html characters


--


Regards,


Peo Sjoblom



"Gaurav" wrote in message
...
assuming your code in in A1. in B1 write =CLEAN(A1) and drag it down. you
can then copy and paste special|values.

Does that work?

"CathyD" wrote in message
...
I have a very large spreadsheet--like 35,000 items long including 12-digit
UPC. The problem alot of them have spaces in between the numbers. We
need
to import without any spaces.

Anything built into excel to do this easily--or is it better to just buy
the
add-in.






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
removing all spaces jamesea Excel Discussion (Misc queries) 4 May 27th 07 02:18 PM
Removing spaces from cells not possible? Robert M. Gary Excel Discussion (Misc queries) 4 October 11th 06 11:34 PM
removing unnecessary spaces from multiple cells sflady Excel Worksheet Functions 2 November 15th 05 12:05 PM
Removing spaces in cells with data in it Ltat42a Excel Discussion (Misc queries) 7 August 7th 05 01:40 PM
Removing trailing spaces from cells ? Don Guillett Excel Worksheet Functions 0 April 10th 05 03:32 PM


All times are GMT +1. The time now is 03:51 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"