In Excel, select the formulas you want to change, open the Formulas tab, choose the matching command, and confirm.
Select the formulas you want to change.
Open the Formulas tab on the Excel ribbon and pick the command that acts on formulas.
Set any options the dialog offers, then confirm.
Check the result on a few formulas before applying it to the whole sheet.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
Working with formulas in Excel — which is what “excel contains function” comes down to — is really about a calculation you can defend to a CFO or an auditor. The mechanics of formulas matter less than the habit behind them: keep your inputs in their own labelled cells, reference those cells instead of typing values into formulas, and let Excel recalculate the moment your data changes. That single discipline is the difference between a fix that works once and a sheet you and your colleagues can keep trusting months later. When the structure is clean, handling formulas stops being a one-off trick and becomes a reusable pattern — you set it up once, check it against the tool on this page, and it holds as the data grows from a handful of rows to thousands. People reach this page for “excel contains function” specifically, not for formulas in general. Specifically, “excel contains function” turns on contains function, and that contains function detail is what sets it apart from the dozen near-identical formula questions around it. The practical takeaway in Excel is to treat the contains function inputs as the thing you label and reference, run “excel contains function” on a handful of rows first, and lean on the tool above to confirm the contains function outcome before you commit it. What makes “excel contains function” trip people up is assuming contains function behaves like every other formula task — verify it once on your own numbers and that doubt disappears. Get that loop right for “excel contains function” and the same contains function approach answers the next, slightly different version of the question without a rebuild. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for.
A worked example
Here it is in practice on your formulas. Select the formulas you are working with, then use the Formulas tab in Excel to apply the command, and confirm. Try it first on a small copy of your data — or on the tool above — so you can see what happens to the formulas before you commit it to the real sheet. Once the result looks right on a few formulas, the same steps scale to the whole table without any extra work. So why spend the extra minute on your formulas? It is the kind of number that ends up in a budget, a board pack or a loan application, so getting it traceable and correctly formatted matters as much as the maths itself. Lock it in once, lean on the tool here to confirm it, and you will not have to think about it again the next time the sheet comes back around. Search results often blur “excel contains function” together with looser questions about formulas, but the wording here is precise on purpose. Specifically, “excel contains function” turns on contains function, and that contains function detail is what sets it apart from the dozen near-identical formula questions around it. The quickest reliable route in Excel is to build a tiny example matching your data, confirm “excel contains function” against the tool above, and only then run it for real — that way you solve the exact contains function problem you searched for, not an approximation. The thing people get wrong about “excel contains function” is treating contains function as interchangeable with the generic formula case; it usually is not, and the few seconds you spend checking contains function on a small sample is what keeps the result honest. If your real sheet differs in one detail, change that one input, re-check “excel contains function”, and the same contains function method carries straight over. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “excel contains function”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Applying the action to the wrong formula — check the selection highlight covers exactly the formulas you mean before you commit.
- Hard-coding values inside a formula instead of referencing cells, which silently breaks the moment the data changes.
- Reporting a raw decimal (0.07) instead of formatting it as 7%, which misreads the figure by a factor of a hundred.
- Pasting values over your formulas and losing the live link, turning a working model back into a static table.
- Applying the change to every formula when only some qualified, instead of filtering to the ones you meant first.
Frequently asked questions
What is the quickest way to excel contains function?
Use the boxed answer at the top of this page — it gives the exact Excel steps for “excel contains function”, and the tool just below lets you run it on your own formulas before you touch the real sheet.
How do I apply this to a whole column of formulas at once?
Set it up on the first row, then double-click or drag the fill handle — Excel repeats the same logic down every one of your formulas without re-typing it.
Will it still work on thousands of formulas?
Yes. Build it once on a small block, confirm it against the tool above, then fill it down — Excel applies the same logic to the whole column without slowing the steps.
Other ways people ask this
People reach this page typing “excel function contains”, “contain excel function” and “excel function for contains”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “excel function contains”, “contain excel function”, “excel function for contains” all point at the one operation explained on this page, which is why they all lead here.