Can a macro delete certain symbols and move data back one space

shreked12

Rules violation
Joined
Mar 14, 2019
Messages
17
Hi

I have the following formula all over a spreadsheet

[TABLE="width: 123"]
<colgroup><col></colgroup><tbody>[TR]
[TD] #='Week 1'!I14 [/TD]
[/TR]
[TR]
[TD] #='Week 1'!J14 [/TD]
[/TR]
[TR]
[TD] #='Week 1'!K14 [/TD]
[/TR]
[TR]
[TD] #='Week 1'!L14 [/TD]
[/TR]
</tbody>[/TABLE]

Is there a macro that will delete the # sign on all cells that have it in and then move the rest of the data back one space so the = is where the # was and all the other data moves back with it.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Assuming there are no # signs in your formulas other than those you want removed, select all of your cells and call up Excel's Replace dialog box (press CTRL+H), put a # sign in the "Find what" field, leave the "Replace with" field blank, then press the "Options>>" button and make sure the "Match entire cell contents" checkbox is not checked, then click the "Replace All" button.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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