Clear cells (not delete) for those outcome of formula = REF accross worksheet

Fanny18

New Member
Joined
Mar 7, 2022
Messages
34
Office Version
  1. 2013
Platform
  1. Windows
How to clear contents of all cells which formula outcome = REF without delete the row accross multiple worksheets? Thanks.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
A better approach may be to update those formulas that are returning those errors.
Then you would never need to worry about it.

So if your original formula was "formula", here is how to rewrite the formula so that it will return a blank instead of REF errors.
=IFERROR(formula,"")

Just substitute your actual formula for "formula".

It might be a little bit of work to update the formulas across your worksheets, but it is just a one-time fix.
Once you update them, you should never have this problem again.
 
Upvote 0
A better approach may be to update those formulas that are returning those errors.
Then you would never need to worry about it.

So if your original formula was "formula", here is how to rewrite the formula so that it will return a blank instead of REF errors.
=IFERROR(formula,"")

Just substitute your actual formula for "formula".

It might be a little bit of work to update the formulas across your worksheets, but it is just a one-time fix.
Once you update them, you should never have this problem again.
I have multiple worksheets and each worksheet have about 20 formulas. Any better and quick way to do so?
 
Upvote 0
Isn't just a matter of updating the first formula, and then copying the formula down or across (so you don't actually need to update each and every formula manually)?
The advantage to using this approach is once you do this once, it should be fixed, and you don't need to go through and run some code or update things manually every time.
Preventing an error is almost always preferrable to trying to fix it afterwards.

You may even be able to use VBA code to make these "one-time" fixes for you automatically, if there is any pattern/method to these formulas (where they occur on the sheets, what the formulas are).
If you provide the specific details, we can probably help you with that.
 
Upvote 0

Forum statistics

Threads
1,215,701
Messages
6,126,311
Members
449,308
Latest member
Ronaldj

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