Mass Changes in Excel using Wild Cards or other

  • Thread starter Thread starter Rev Les Hall
  • Start date Start date
R

Rev Les Hall

Help - I've a large spread sheet that needs updating & I'd rather do it in
auto than have someone re-type each cell.

Is it possible to mass replace 4 Characters in a cell with the same 4
characters followed by another charcter or a space?

For example Replace BD22 with BD22X. I've tried the Wild Card ?? which
partially works in that by using BD?? it will find and replace BD?? with
BD??X but unfortunatelly the original charcters are then replaced by the ??

Thanks in anticipation
 
I suspect the OP has more characters in the cell or else he wouldn't try to
use
wildcards. AFAIK there is no built way in Excel to do this, I am sure it is
possible
in Word but in Excel one would need VBA


--


Regards,


Peo Sjoblom
 
Let's say that cell A1 contains:

abcdDByy1234

where the yy is arbitrary. In another cell enter:

=MID(A1,1,FIND("DB",A1)+3) & "X" & RIGHT(A1,LEN(A1)-FIND("DB",A1)-3)
which will display:
abcdDByyX1234

You can perform the same type of process in-place with VBA.
 
Back
Top