#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Deleting a Comma ","

Hi guys,

Hi have a column with City, Address, Postal Code I need to delete the I
need to delete the , between Address and Postal code, the problem is that
is not located in a specific position, some postal codes are longer, some
times there is a space others double space, I want a way to search for that
second comma and deleted,

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Deleting a Comma ","

You can hilight the column, ctrl+f, ".", then delete all. These will delete
all commas in your column though which you would have to either replace the
first comma or live without it.
Another option is that you could insert another two columns, then in the
first column enter a formula to find the second comma. In the next inserted
column enter a formula to replace the comma with a blank.The formulas would
look something like this:
Inserted column 1 (call it column B):=FIND(",",A1,10)
Inserted column 2 (call it column C):=REPLACE(A1,B1,1,"")
You can then copy your second column (I call it column C) and paste special
"values only" to replace Column A, then delete the inserted Column B & C.

Hope this helps you get started, Good Luck.


"Maracay" wrote:

Hi guys,

Hi have a column with City, Address, Postal Code I need to delete the I
need to delete the , between Address and Postal code, the problem is that
is not located in a specific position, some postal codes are longer, some
times there is a space others double space, I want a way to search for that
second comma and deleted,

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Deleting a Comma ","

On Wed, 18 Feb 2009 13:33:01 -0800, Maracay
wrote:

Hi guys,

Hi have a column with City, Address, Postal Code I need to delete the I
need to delete the , between Address and Postal code, the problem is that
is not located in a specific position, some postal codes are longer, some
times there is a space others double space, I want a way to search for that
second comma and deleted,

Thanks



If your data is in A1:An

B1: =SUBSTITUTE(A1,",","",2)

Fill down as far as required.

You can then copy/paste-special *VALUES* over the original

--ron
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
syntax for "IF" commend to check for multiple empty cells bf comma Chris Excel Worksheet Functions 4 September 3rd 07 12:02 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
no comma separator for ="total"&"$ "&sum(a1:a10) Jeff Excel Worksheet Functions 3 August 9th 06 05:06 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 11:15 PM.

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

About Us

"It's about Microsoft Excel"