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 formula cell contains” comes down to — is really about a layout choice that keeps the sheet readable and sortable. 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 formula cell contains” specifically, not for formulas in general. Specifically, “excel formula cell contains” turns on cell contains, and that cell contains detail is what sets it apart from the dozen near-identical formula questions around it. The practical takeaway in Excel is to treat the cell contains inputs as the thing you label and reference, run “excel formula cell contains” on a handful of rows first, and lean on the tool above to confirm the cell contains outcome before you commit it. What makes “excel formula cell contains” trip people up is assuming cell contains behaves like every other formula task — verify it once on your own numbers and that doubt disappears. Get that loop right for “excel formula cell contains” and the same cell contains 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
Put it into practice with your real formulas. Begin by selecting the formulas in question, then reach for the Formulas tab in Excel and choose the command before confirming. Do a dry run on a small extract of the data, or in the tool higher up the page, to watch the effect on your formulas ahead of time. Once a few rows look correct, scaling to the full table needs no extra effort at all. It is worth doing your formulas properly the first time. A well-structured sheet is one other people can read, sort and extend without breaking it — which is most of what makes a spreadsheet useful past its first day. Build it once, verify it against the tool above, and the same setup keeps earning its keep on every later visit to the file. Search results often blur “excel formula cell contains” together with looser questions about formulas, but the wording here is precise on purpose. Specifically, “excel formula cell contains” turns on cell contains, and that cell contains 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 formula cell contains” against the tool above, and only then run it for real — that way you solve the exact cell contains problem you searched for, not an approximation. The thing people get wrong about “excel formula cell contains” is treating cell contains as interchangeable with the generic formula case; it usually is not, and the few seconds you spend checking cell contains 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 formula cell contains”, and the same cell contains method carries straight over. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.
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. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. The short version of “excel formula cell contains”: the answer is at the top of this page, and the sections above explain why each step matters, so a variation of the problem does not stump you. Try it once on a copy of a real file and the steps stick far better than re-reading them.
Common mistakes
- Running the change on the wrong sheet tab — confirm you are on the sheet that holds your formulas before you commit.
- Forgetting that a copied formula shifts its references unless you lock them with the $ sign.
- Merging or formatting cells inside a data range, which quietly breaks sorting and filtering of your formulas.
- Pasting values over your formulas and losing the live link, turning a working model back into a static table.
- Testing on a couple of formulas and rolling out to thousands without rechecking the edge cases at the bottom of the data.
Frequently asked questions
What is the quickest way to excel formula cell contains?
Use the boxed answer at the top of this page — it gives the exact Excel steps for “excel formula cell contains”, and the tool just below lets you run it on your own formulas before you touch the real sheet.
Will it work on Mac?
Yes — use the platform toggle at the top of the page for the Mac shortcuts. The formulas and menu paths for formulas are the same across operating systems.
Does this work in older versions of Excel?
Yes. The approach for formulas has been stable across recent Excel versions; only the ribbon icons changed cosmetically, so the steps still apply.
Other ways people ask this
This is also commonly searched as “excel cell contains” and “cell contains formula in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel cell contains”, “cell contains formula in excel” all point at the one operation explained on this page, which is why they all lead here.