In Excel, select the formulas you want to change, open the Formulas tab, choose the matching command, and confirm.
On this page7
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.
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 a small example in your workbook, 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 your workbook example 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 your workbook example — 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 your workbook example 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 your workbook example, 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: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. Here is the takeaway for “excel contains function”: follow the steps at the top, check the result on the sheet itself, and keep undo in mind while you experiment. Done once deliberately, it becomes something you do from memory in Excel rather than something you search for again.
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?
Read the answer and steps for “excel contains function”, identify the intended input and result, and check a small copy of your workbook first. Compare the result with the stated example before applying the action to real data. This fallback page does not include a verified interactive tool for the task.
How do I apply this to a whole column of formulas at once?
First check whether the described action can be repeated for each row. Copying a formula, changing a view and converting a file are different tasks. Verify the cell references and expected result on two rows before extending a formula; do not apply a whole-column instruction to an unrelated command.
Will it still work on thousands of formulas?
Check a small, representative sample before increasing the range. Confirm which rows the action affects and whether the result is a formula, a changed cell, a view setting or a new file. Then check the output size and calculation time in your own workbook; this page does not establish a performance guarantee.
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.