Mass Changes in Excel using Wild Cards or other

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
 
A

Arvi Laanemets

Hi

Edit>Replace>"replace: BD22" with: "BD22X">Replace All>OK

Arvi Laanemets
 
P

Peo Sjoblom

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
 
G

Gary''s Student

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top