To add to an Excel dictionary, you need to understand which "dictionary" Excel actually offers. Standard Excel has no user-editable word dictionary you can extend like in Word; instead, your options are: (1) use the built-in Spell Check and choose "Add to Dictionary" when it flags a word, so it is remembered for that session and, when saved to the custom dictionary file, for future sessions; (2) create a lookup table in cells and use functions like VLOOKUP, XLOOKUP or XMATCH to simulate a dictionary lookup; or (3) use Power Query or a small VBA dictionary object for fast key-value storage. Most people searching this term want the first or second. Below are the steps for each, with the ones that are common mistakes called out so you do not waste time.

What You'll Need

  • A copy of Excel on desktop (Windows or Mac). The Spell Check custom dictionary file is easiest to manage on desktop; the mobile app is more limited.
  • If you want a lookup dictionary, an empty area of a worksheet or a separate sheet for your key/value list.
  • For the VBA route, macros must be enabled in the workbook (and macros are not available on mobile or Excel for the web).
  • Basic familiarity with opening the Spell Check dialog (Review tab) and with typing a simple formula.

Step-by-Step

Option A: Add a word to the Excel spelling dictionary

  1. Open your workbook and select a cell, or highlight the range you want to check. If you select a single cell and press spell check, Excel typically scans the whole sheet, so select the range if you want to limit scope.
  2. Go to the Review tab and click Spelling (the keyboard example is F7 on most Windows layouts). On Mac the menu is spelled Spelling as well, under the Review tab; exact wording and shortcut can differ slightly by Excel version and platform, so use the Review tab as your anchor.
  3. When Excel flags a word you know is correct (a name, acronym, product, or technical term), click Add to Dictionary rather than Ignore. Ignore only skips it for now; Add to Dictionary records it so it stops flagging in future checks.
  4. Excel writes these words to a custom dictionary file (a .dic text file), separate from its main language dictionary. To see or edit it, use the options path: File > Options > Proofing > Custom Dictionaries on Windows. On Mac, open Excel > Preferences > Spelling and the dictionary listing area is there. Labels vary by version and region.
  5. In that Custom Dictionaries dialog, the file used for a given language is listed with a checkmark. Select the checked one and click Edit (or Edit Word List, depending on version) to add words manually, one per line, then save. This is handy for bulk additions.
  6. Confirm the change took effect by running spell check again on the same range; the terms you added should no longer be flagged.

Option B: Build a lookup dictionary in cells

  1. On a new sheet called something like Dictionary, put keys (the terms you want to look up) in column A and definitions or values in column B. Keep headers in row 1 and no blank rows inside the data.
  2. On your working sheet, type the term you want to find in a cell, say D2.
  3. Enter a lookup formula in the adjacent cell, such as =XLOOKUP(D2, Dictionary!A:A, Dictionary!B:B, "not found"). The final argument supplies a friendly fallback instead of the #N/A error. XLOOKUP exists in Microsoft 365 and newer perpetual versions; on older copies use =IFERROR(VLOOKUP(D2, Dictionary!A:B, 2, FALSE), "not found").
  4. For exact-match behavior, make sure the range lookup argument in VLOOKUP is FALSE (or 0), and in XLOOKUP rely on the default exact match.
  5. Copy the formula down the column so it works for a whole list. Wrap it in TRIM on the lookup cell if trailing spaces are a risk: XLOOKUP(TRIM(D2), ...).
  6. If you need case-insensitive matching that still returns a set of allowed words, add a helper column with =LOWER(A2) on the dictionary sheet and look up against that, because XLOOKUP is case-insensitive but EXACT-based MATCH is not.

Option C: Use a VBA dictionary for fast key/value storage

  1. Press Alt+F11 (Windows) to open the editor, then choose Insert > Module. Mac users can use the Visual Basic editor from the Developer tab if it is enabled.
  2. Add a reference or use late binding: Dim d As Object: Set d = CreateObject("Scripting.Dictionary"). This works on Windows without adding a library reference.
  3. Add items with d.Add "key", "value". Use d.Exists("key") to test before adding, because Add throws an error on duplicate keys; that is the most common runtime failure.
  4. Read a value with d("key"), count entries with d.Count, and loop with For Each k In d.Keys.
  5. Note that Scripting.Dictionary is a Windows component and is not the same on Mac; for cross-platform code use a Collection or a variant array with a custom lookup function instead.

Common Mistakes

  • Using Ignore when you meant Add to Dictionary. Ignore is temporary; the word will be flagged again in the next session.
  • Expecting a shared dictionary. The custom dictionary lives with the Office profile, so a colleague on another machine will not see your words unless you share the .dic file and point their Proofing settings at it.
  • Editing the wrong dictionary file. Several languages may be installed; only the checked/active one is used. You can add words to an inactive list and see no effect.
  • VLOOKUP with a hard-coded column number after inserting a column. The number shifts and you get the wrong data. XLOOKUP avoids this by returning the whole target column.
  • Duplicate keys in VBA. d.Add fails if the key already exists; check d.Exists first.
  • Forgetting TRIM. A trailing space makes "apple " not equal "apple," and your lookup returns "not found."

Tips

  • Make a spreadsheet-based dictionary the single source of truth, then use it for data validation: on the data-entry sheet, choose Data > Data Validation, select List, and point it at the dictionary column.
  • Keep the dictionary sheet on its own tab and lock it to avoid accidental edits.
  • Sort your dictionary keys alphabetically; it makes manual review and troubleshooting much easier, even if XLOOKUP does not need sorted data.
  • Use wildcard matching in XLOOKUP (match_mode 2) only when you genuinely need partial matches, since it can return unexpected hits.
  • Store terms with consistent capitalization and spelling; case-insensitive lookups will still find them, but exact-match tools will not.

Troubleshooting

If a word you added is still flagged, confirm you clicked Add to Dictionary and not Ignore, then check which dictionary file is active in the Proofing or Spelling preferences. If nothing changes after editing the .dic by hand, close Excel and reopen the workbook, because the word list is read when the app starts. If your lookup returns "not found" for a term you can see in the dictionary sheet, check for extra spaces, hidden characters, or a type mismatch (a number stored as text versus a real number). If XLOOKUP produces #NAME?, your version does not support it; switch to IFERROR with VLOOKUP or INDEX/MATCH. If a macro fails with a duplicate-key error, add an Exists check before Add. As a safe first move for any odd behavior, save your work, close and reopen Excel before making larger changes.

Frequently Asked Questions

Does adding a word to the dictionary change it for all workbooks?

Yes. The custom dictionary is tied to your Office profile, not a single file, so words added there apply to other workbooks you open on that machine.

Is there a separate dictionary in Excel for spell check versus autocorrect?

Autocorrect replacement entries are managed in the Proofing options area and are separate from the custom spelling dictionary; adding a word to one does not add it to the other.

Can I use a spreadsheet as a dictionary for all Excel files?

Not automatically. A cell-based dictionary lives in its file. To reuse it, keep it in a template or workbook you open, or reference it with formulas.

Does the VBA dictionary work in Excel for the web or on mobile?

No. Macros are not supported there, so the Scripting.Dictionary approach is desktop-only.

What if my dictionary words do not appear on another computer?

The .dic file is local to the profile. Copy the file to the other machine and set it as the active custom dictionary in that app's settings.