#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Find & replace

How do I do a find and replace the 2 numbers at the end of the field in a
column?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Find & replace

Assumptions: Data is in column A, replacing "12" with "34"
=IF(ISNUMBER(FIND("12",A2)),REPLACE(A2,LEN(A2)-1,2,"34"),A2)

Copy down as needed. Then, if you want, copy and paste special-values only
to get static values.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"VN01" wrote:

How do I do a find and replace the 2 numbers at the end of the field in a
column?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Find & replace

Try this...

=SUBSTITUTE(A1,RIGHT(A1,2),$B$1) and pull down.

Where your list is in column A and the replacement number (or text) is in
B1.

HTH
Regards,
Howard

"VN01" wrote in message
...
How do I do a find and replace the 2 numbers at the end of the field in a
column?



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
Find & Replace: find part cell, replace whole cell katy Excel Worksheet Functions 3 April 3rd 23 01:20 PM
Find and Replace - Replace with Blank Space Studebaker Excel Discussion (Misc queries) 4 April 3rd 23 10:55 AM
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
find and replace - replace data in rows to separated by commas msdker Excel Worksheet Functions 1 April 15th 06 01:00 AM
find replace cursor default to find box luffa Excel Discussion (Misc queries) 0 February 3rd 05 12:11 AM


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