Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets MODE Function: How to Find the Most Common Value

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The MODE function in Google Sheets returns the most frequently occurring number in a range. To use it, click an empty cell, type =MODE(A1:A10) (replacing the range with your own), and press Enter. The result is the number that appears most often. If no number repeats, or if the range contains no numbers, MODE returns an error. That is the short answer; the rest of this guide covers the exact syntax, how MODE handles ties and text, and what to do when it returns an error.

What You'll Need

  • A Google account with access to Google Sheets (the free web version or the mobile app).
  • A spreadsheet containing a column or row of numeric data with at least one repeated value.
  • Basic familiarity with entering formulas (starting with an equals sign).

Step-by-Step

  1. Open your spreadsheet. Go to sheets.google.com, sign in, and open the file that contains your data. On mobile, open the Google Sheets app and select the same file. The steps below work on both desktop and mobile; the formula itself is identical.
  2. Identify your data range. Decide which cells hold the numbers you want to analyse. For example, if your values are in column A from row 2 to row 20, your range is A2:A20. MODE only looks at numbers; text, blank cells, and logical values are ignored.
  3. Click an empty cell where you want the result to appear. Choose a cell outside your data range so the result does not overwrite anything.
  4. Type the MODE formula. Enter =MODE(A2:A20) and press Enter. On mobile, tap the formula bar or the cell, type the same text, and tap the checkmark. The cell now shows the most common number in that range.
  5. Check the result. Compare the returned number with your data. If you see a number that does not look like the most common value, verify the range is correct and that the data is stored as numbers, not text.
  6. Handle multiple modes if needed. If two or more numbers tie for the highest frequency, MODE returns only the first one it encounters. To see all modes, use =MODE.MULT(A2:A20) in a vertical range of cells (select several cells first, then enter the formula and press Ctrl+Shift+Enter on desktop; on mobile, enter it in the first cell and it will spill down if the sheet supports it).
  7. Use MODE.SNGL for a single result explicitly. Google Sheets also accepts =MODE.SNGL(A2:A20), which behaves the same as MODE. Either is fine; MODE is shorter.
  8. Copy the formula down or across if you want to analyse several columns. Drag the fill handle (the small square at the bottom-right of the cell) or copy and paste. Relative references adjust automatically.

Common Mistakes

  • Including text in the range. MODE ignores text, so a range with labels will not error but may return a misleading result if the numbers are stored as text. Check that your numbers are right-aligned by default; left-aligned numbers are usually text.
  • Expecting MODE to work with no repeats. If every number appears exactly once, MODE returns #N/A. That is not a bug; there is no mode.
  • Using MODE on an empty range. An empty range also returns #N/A.
  • Forgetting that MODE returns only one value. When there is a tie, only the first mode is shown. Use MODE.MULT to see all of them.
  • Typing the range with spaces or missing colons. =MODE(A1 A10) is invalid; use =MODE(A1:A10).
  • Assuming MODE works on text categories. MODE is numeric only. To find the most common text value, use =INDEX(range, MODE(MATCH(range, range, 0))) as an array formula, or a COUNTIF-based approach.

Tips

  • Use named ranges to make formulas readable: select your data, choose Data > Named ranges, give it a name like Scores, then write =MODE(Scores).
  • Combine MODE with COUNTIF to see how often the mode occurs: =COUNTIF(A2:A20, MODE(A2:A20)).
  • If your data includes decimals, MODE treats each distinct value separately; 1.0 and 1.00 are the same number.
  • For large ranges, MODE is fast; no special optimisation is needed.
  • Remember that MODE ignores blank cells, so a partially filled column still works.

Troubleshooting

If MODE returns #N/A, first confirm the range contains at least one repeated number. If all values are unique, there is no mode; that is expected. Next, check for text-formatted numbers: select the range, then use Format > Number > Number to convert. If the formula returns #VALUE!, the range reference is malformed; re-type it carefully. If you see #NAME?, the function name is misspelled; use MODE or MODE.SNGL. On mobile, ensure you are using the English function name; localised versions may differ. If the result seems wrong, widen the range or check that you have not accidentally included a header row with text. Finally, if the sheet is shared and someone else edited the range, verify the current references.

Frequently Asked Questions

What does MODE do in Google Sheets?

It returns the most frequently occurring number in a range. If no number repeats, it returns #N/A.

Can MODE handle text values?

No. MODE is numeric only; text is ignored. To find the most common text, use a COUNTIF or INDEX/MATCH array formula.

What is the difference between MODE and MODE.MULT?

MODE returns a single mode (the first if there is a tie). MODE.MULT returns all modes as a vertical array.

Why does MODE return #N/A when I can see repeats?

The repeated values may be stored as text, or the range may not include them. Check formatting and the range reference.

Does MODE work on filtered or hidden rows?

MODE includes hidden and filtered rows; it does not ignore them. To exclude them, use a helper column or SUBTOTAL-based approach.

Is MODE available in the Google Sheets mobile app?

Yes, the formula works the same in the Android and iOS apps; type it in the formula bar.