Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 1191

Replace with wildcards in Excel or batch edit some wrapping formula

$
0
0

I'm only trying to delete some CONCATENATE() function from some formulas in Excel.

What I have; here 'Something' could be a lot of things (digits, <, >, texts, etc…

CONCATENATE("Something = "; SUM(A1:A30))

What I want:

SUM(A1:A30)

And it seems very complicated!

I've tried with the search and replace functionality but even as stated here and here the wildcard \number doesn't seem to work.

What I've tried:

Search:

CONCATENATE("*= ";*))

Replace:

\2

But it only replace with exactly \2 and not the SUM(...)

I've also tried to 'group' the matching characters with surrounding parenthesis : CONCATENATE("(*)= ";(*))) but it doesn't find anything.

I thought I could do this in 2 steps : first just replace the begining with nothing CONCATENATE("*= "; and then get rid of the final parenthesis. But Excel won't accept this and I got "There's a problem with this formula" alert dialog.


Edit: Trying to follow @Mayukh’s instructions:

enter image description here


Viewing all articles
Browse latest Browse all 1191

Trending Articles