"SUBSTITUTE" Function With Wilcard For Symbols?

Dhira

Board Regular
Joined
Feb 23, 2006
Messages
85
Office Version
  1. 2021
Platform
  1. Windows
In trying to create a formula that remove EVERY symbol from a cell (C6) and replacing it with a space.... the "SUBSTITUTE" function is telling me I have too many nested Substitutes.

This is the formula:
Code:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE([COLOR=Red]C6[/COLOR],"/"," "),"%"," "),"!"," "),","," "),"*"," "),"-"," "),"("," "),")"," ")

It works thus far, but I would still like to add more symbols into the nest.
Is there a way/formula to do this that replaces ANY symbol with a space?
 
p45cal & Biz,

Thank you. That did work, however I had to remove the function because I kept on getting a Privacy warning every time I tried to save - incredibly annoying It wouldn't go away even when I changed settings in the trust center (Excel 2007) SO I had to try Joseph's :And it works a treat.
(Had to download morefunc at DOwnload.com since it wasn't available)

Thanks again.


Please note if you forward spreadsheets and it relies on morefunc then it won't work.

Biz
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Well morefunc WAS working for a bit, but now when I save the file.... It has #NAME? in the cells instead of results...

Is there any way to use the functions while disabling the privacy notifications?
I tried EVERYTHING in the trust center and it still notifies on every save....
 
Upvote 0
K I figured it out:

<table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="contentRight" style="padding-left: 10px; " valign="top"><table class="tborder" id="post2124734" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(235, 235, 235); color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(235, 235, 235); border-right-color: rgb(235, 235, 235); border-bottom-color: rgb(235, 235, 235); border-left-color: rgb(235, 235, 235); background-position: initial initial; background-repeat: initial initial; " align="center" border="0" cellpadding="6" cellspacing="0" width="100%"><tbody><tr><td class="alt1" id="td_post_2124734" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(252, 252, 252); color: rgb(122, 122, 122); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(235, 235, 235); background-position: initial initial; background-repeat: initial initial; ">"notifications" -- this message goes away when you un-check the check box labelled "Remove personal information from file properties on save".
</td></tr></tbody></table>

</td></tr></tbody></table>
In "Privacy settings" after checking 'enable'.
 
Upvote 0

Forum statistics

Threads
1,224,513
Messages
6,179,212
Members
452,895
Latest member
BILLING GUY

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