Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a way to search and replace within a column where there are 2
spaces present? When I search for " " (no quotes) it says cannot be found. Thanks! mgm |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It works ok for me.
A1 = try<space<spacethis A2 = lets try this A3 = try it Select A1:A3 Goto EditReplace Find what: hit the space bar twice Replace with: hit the space bar once Replace all Results: A1 = try this A2 = lets try this A3 = try it Biff "mgm" wrote in message ... Is there a way to search and replace within a column where there are 2 spaces present? When I search for " " (no quotes) it says cannot be found. Thanks! mgm |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Maybe someone else can respond with the technical explanation ("ansi
characters . . .") of why this works, but here's my approach: - In some unused cell, type two spaces - Highlight what you just typed and press Ctrl-C to copy - Open the Replace function and paste (Ctrl-V) into the "Find What" field - Paste again into the "Replace With" field, then hit backspace to eliminate one of the two spaces. If you want to limit your Replace to just one column, highlight that column before invoking the Replace function. HTH "mgm" wrote: Is there a way to search and replace within a column where there are 2 spaces present? When I search for " " (no quotes) it says cannot be found. Thanks! mgm |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You may have Non-Breaking Spaces in the cell. You can check with the Code() function
Look here for code to remove them: http://www.mvps.org/dmcritchie/excel/join.htm#trimall -- Kind regards, Niek Otten Microsoft MVP - Excel "mgm" wrote in message ... | Is there a way to search and replace within a column where there are 2 | spaces present? When I search for " " (no quotes) it says cannot be found. | | Thanks! | mgm | | |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
BTW, the TRIM() function reduces multiple spaces to single ones (and removes leading and trailing spaces)
-- Kind regards, Niek Otten Microsoft MVP - Excel "Niek Otten" wrote in message ... | You may have Non-Breaking Spaces in the cell. You can check with the Code() function | Look here for code to remove them: | | http://www.mvps.org/dmcritchie/excel/join.htm#trimall | | -- | Kind regards, | | Niek Otten | Microsoft MVP - Excel | | | "mgm" wrote in message ... || Is there a way to search and replace within a column where there are 2 || spaces present? When I search for " " (no quotes) it says cannot be found. || || Thanks! || mgm || || | | |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Another thing to look for -- make sure you don't have the checkbox "Match
Entire Cell Contents" selected! It could have been selected from a previous Find/Replace. Bob Umlas Excel MVP "mgm" wrote in message ... Is there a way to search and replace within a column where there are 2 spaces present? When I search for " " (no quotes) it says cannot be found. Thanks! mgm |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FIND TAB, Replace with Spaces (3) or ... | Excel Discussion (Misc queries) | |||
Replace double spaces with Hard return | Excel Worksheet Functions | |||
Excel: replace all 2 spaces to FF/LR in column of text | Excel Discussion (Misc queries) | |||
How can I replace spaces in text cells (excel) with underscores? | New Users to Excel | |||
How can I replace zeros with blank spaces during calculations plea | Excel Worksheet Functions |