ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Mass Changes in Excel using Wild Cards or other (https://www.excelbanter.com/excel-discussion-misc-queries/189646-mass-changes-excel-using-wild-cards-other.html)

Rev Les Hall

Mass Changes in Excel using Wild Cards or other
 
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

Arvi Laanemets

Mass Changes in Excel using Wild Cards or other
 
Hi

EditReplace"replace: BD22" with: "BD22X"Replace AllOK

Arvi Laanemets


"Rev Les Hall" <Rev Les wrote in message
...
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




Peo Sjoblom

Mass Changes in Excel using Wild Cards or other
 
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


"Arvi Laanemets" wrote in message
...
Hi

EditReplace"replace: BD22" with: "BD22X"Replace AllOK

Arvi Laanemets


"Rev Les Hall" <Rev Les wrote in message
...
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






Gary''s Student

Mass Changes in Excel using Wild Cards or other
 
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.


--
Gary''s Student - gsnu200789


"Rev Les Hall" wrote:

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



All times are GMT +1. The time now is 05:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com