Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default deleting a comma from every cell in a column

I have copied from the web a list of names, address, city, state and zip.
The problem is in the column with the street address there is a comma at the
end of each cell.

Is there a way to delete the comma from every cell in that columm?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default deleting a comma from every cell in a column

find and replace , with nothing

sbaum wrote:

I have copied from the web a list of names, address, city, state and zip.
The problem is in the column with the street address there is a comma at the
end of each cell.

Is there a way to delete the comma from every cell in that columm?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default deleting a comma from every cell in a column

If that is the only comma in each cell of that column press ctrl + H and
replace , with nothing (leave replace with box)empty.


If there are multiple commas and the comma you want to replace is the last
visible character in the cells use a help column and


=IF(RIGHT(TRIM(A1))=",",LEFT(TRIM(A1),LEN(TRIM(A1) )-1),A1)


then copy down and copy and paste special over the old values and finally
delete the help column

--


Regards,


Peo Sjoblom

"sbaum" wrote in message
...
I have copied from the web a list of names, address, city, state and zip.
The problem is in the column with the street address there is a comma at
the
end of each cell.

Is there a way to delete the comma from every cell in that columm?



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
entire column to comma delimited cell samuel Excel Discussion (Misc queries) 2 September 5th 08 05:33 PM
Deleting Charactors from a cell and the whole column Card1234 Excel Discussion (Misc queries) 1 March 25th 08 11:50 PM
deleting entire rows with the same cell value in the first column Pedro F. Excel Discussion (Misc queries) 3 January 11th 06 07:10 PM
column values to a cell with comma seperated Raju Boine. Excel Worksheet Functions 3 July 27th 05 03:30 PM
VBA 'deleting row if a cell in column A is a zero. Charlie Excel Worksheet Functions 4 December 7th 04 04:50 PM


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