Partial Cell Deletion Question

L

Legacy 178446

Guest
Hello!

I have about 3000 row of cells which all include the word 'Residence ED = XXXXXX'

for example in Row 1 it says 'Residence ED = 5001'

What I need to do is delete the 'Residence ED = 'part from all 3000 rows without deleting the unique number in each cell. Any quick way I can do this with a macro or something?

Its my first time posting I hope Im doing so in the correct manner

Thanks!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi,

Welcome to the board.

Ctrl + H -> Find What: "Residence ID = " (without quotes - make sure you include the space after the =),, Replace with: Leave blank.
 
Upvote 0
another question,

the digits in each cell are 4 digit numbers eg 1234, is there a way I can put a zero before each number quickly to make 01234
 
Upvote 0
Note that formatting will make it appear that there is a 0 at the front but your actual number does not. If your number is in A1 and you try =LEN(A1) you will find the result is 4.

This may be exactly what you want but if you really want a 0 at the front you could use ..
=0&A1
or
=TEXT(A1,"00000")
.. but on the flip side these would no longer be numbers but text.

Also, if it is the text values you really want, you may have been able to achieve that with the original Find/Replace by typing '0 into the 'Replace with:' box instead of leaving it blank.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,340
Messages
6,124,386
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top