Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Replacing Apostrophize at Beginning of Cell

I have a spreadsheet where columns D through N have SOME data with
apostrophies before the data (e.g., '777, 'DCH8, 'GlobalExpress). Some data
does, and some data doesn't have the apostrophe and they are all mixed
together. This becomes a pain when trying to compare cells (e.g., I want to
compare replace DCH8 with 'DCH8). When I go to find replace, if I put find '
and replace with nothing, it does not find anything. How can I get rid of
all of the ' in front of the data?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Replacing Apostrophize at Beginning of Cell

I would highlight the apostrophe and the copy it the go to the find and
replace and paste the apostrophe that u just copied, it happened to me once
that the apostophe that i was typing with my keybord wasn't the same as the
one that was on the actual cell that why it wasnt finding anything at first.

hope it helps

"SeanF74" wrote:

I have a spreadsheet where columns D through N have SOME data with
apostrophies before the data (e.g., '777, 'DCH8, 'GlobalExpress). Some data
does, and some data doesn't have the apostrophe and they are all mixed
together. This becomes a pain when trying to compare cells (e.g., I want to
compare replace DCH8 with 'DCH8). When I go to find replace, if I put find '
and replace with nothing, it does not find anything. How can I get rid of
all of the ' in front of the data?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default Replacing Apostrophize at Beginning of Cell

"SeanF74" wrote:
This becomes a pain when trying to compare cells
(e.g., I want to compare replace DCH8 with 'DCH8)


If you have DCH8 in A1 and 'DCH8 in A2, =IF(A1=A2,TRUE) should return true,
as should =IF(A2="DCH8",TRUE).

Perhaps your mistake is including the apostrophe in the string when you make
a comparison. For example, the following is wrong: =IF(A2="'DCH8",TRUE).

The apostrophe is superfluous in that example; but it should not adversely
affect your ability to write comparison formulas.

On the other hand, in the example '777, the question is: do you want to
treat that as a text string or as a number?

If the latter, then it would indeed be better to remove the apostrophe.
I've forgotten how to do that with Find/Replace, if it can be done.
Alternative: use the Text To Column feature, which is under Data in Excel
2003.


----- original message -----

"SeanF74" wrote:
I have a spreadsheet where columns D through N have SOME data with
apostrophies before the data (e.g., '777, 'DCH8, 'GlobalExpress). Some data
does, and some data doesn't have the apostrophe and they are all mixed
together. This becomes a pain when trying to compare cells (e.g., I want to
compare replace DCH8 with 'DCH8). When I go to find replace, if I put find '
and replace with nothing, it does not find anything. How can I get rid of
all of the ' in front of the data?

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default Replacing Apostrophize at Beginning of Cell

Hi,

Try the =clean(cell ref.) formula in a helper column.

Jaleel

"SeanF74" wrote:

I have a spreadsheet where columns D through N have SOME data with
apostrophies before the data (e.g., '777, 'DCH8, 'GlobalExpress). Some data
does, and some data doesn't have the apostrophe and they are all mixed
together. This becomes a pain when trying to compare cells (e.g., I want to
compare replace DCH8 with 'DCH8). When I go to find replace, if I put find '
and replace with nothing, it does not find anything. How can I get rid of
all of the ' in front of the data?

Thanks!

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
How can I delete a space in the beginning of a cell... GSimone Excel Discussion (Misc queries) 2 April 3rd 23 04:41 PM
Strip out the ' at the beginning of cell contents Colin Hayes Excel Discussion (Misc queries) 3 April 19th 08 08:48 PM
Finding average beginning at first cell in row 0? MJW[_2_] Excel Discussion (Misc queries) 4 November 28th 07 09:25 PM
Find the beginning Cell of a Range J@Y Excel Discussion (Misc queries) 3 June 15th 07 05:43 PM
Identification of "<" character at beginning of cell Hemil Excel Worksheet Functions 3 May 26th 05 07:49 PM


All times are GMT +1. The time now is 09:19 PM.

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"