Deleting part of a formula but preserving the rest

JWill78

New Member
Joined
Feb 13, 2015
Messages
8
Hi

I have a worksheet which has formulae which reference multiple other worksheets, e.g.

AB
1Sheet 1'!W367+'Sheet 2'!W367+'Sheet 3'!W367Sheet 1'!Z367+'Sheet 2'!Z367+'Sheet 3'!Z367
2Sheet 1'!W370+'Sheet 2'!W370+'Sheet 3'!W370Sheet 1'!Z370+'Sheet 2'!Z370+'Sheet 3'!Z370

<colgroup><col><col><col></colgroup><tbody>
</tbody>

My question is is there a quick way of deleting all references in the above formulas to Sheet2 (or indeed Sheet 1 or 3) whilst preserving the rest of the formula?

Many thanks in advance

John
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Yes, there is.

Press CTRL + H to open "Find & Replace"

Find what: 'Sheet 1'!
Replace: (empty)

Click "Replace All" button.
 
Upvote 0
Select cells
Use Find & Replace

Find what:
'Sheet 2'!

Replace With:
(leave blank)

Replace ALL
 
Last edited:
Upvote 0
For that particular example, you could select those 2 columns and then do a Find/Replace with
Find what: +'Sheet 2'!*+
Replace with: +
In Options, make sure 'Match entire cell contents' is not checked
Replace All
 
Upvote 0

Forum statistics

Threads
1,216,456
Messages
6,130,743
Members
449,588
Latest member
accountant606

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