Possible to use wildcards in replace?

cr731

Well-known Member
Joined
Sep 17, 2010
Messages
611
Is it possible to use a wildcard in the replace formula? For instance, I have a variance formula in about 20 tabs, calculating like this:

E9 - F9
E10 - F10
E11 - F11

And so forth down the column. However, I've realized that it should be F9 - E9 instead. Is there a quick way to replace all of these in the formula? Basically I'm asking if it is possible to do something like this:

Find: E? - F?
Replace with: F? - E?

Where it will just keep whatever the ? is in the formula?

Or is there a different way?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
highlight the column and do a find replace on F... changing to say Z
then do the same changing E to F
then change Z to E


ooops... just realized you need to do this across multiple tabs... Sure a VB pro will offer a quick VB solution
 
Upvote 0
highlight the column and do a find replace on F... changing to say Z
then do the same changing E to F
then change Z to E


ooops... just realized you need to do this across multiple tabs... Sure a VB pro will offer a quick VB solution

Yeah at first I thought something like that could work as well, except that I obviously don't want to replace all F's in the workbook, and I can't use the "match entire cell contents" option since there is more to the formula.
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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