View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Bill Ridgeway
 
Posts: n/a
Default Find and Replace in a column

This formula will do the job -
=IF(LEN(A4)=2,RIGHT(A5,1),IF(LEN(A4)=3,RIGHT(A5,2) ,IF(LEN(A4)=4,RIGHT(A4,3),IF(LEN(A4)=5,RIGHT(A4,4) ))))
for cells with up to 5 characters.

Regards.

Bill Ridgeway
Computer Solutions

"Mort Snerd" wrote in message
...
I am trying to manipulate some imported text/data on a spreadsheet. My
problem seems simple enough but I have not been able to come across
the solution by myself.

I have a column of numbers preceded by a # sign. I would like to
simply replace all "#(value)" with "(value),".

If I use find #??? and replace with ???, I get a literal replacement
showing question marks or asterisks instead of the numeric value
represented by the wildcards.

I'm sure there must be a simple soluton but I can't find it.

TIA for any assistance.