Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=MODE(B2:B6)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Use =INDEX(A2:A6,MATCH(MAX(COUNTIF(A2:A6,A2:A6)),COUNTIF(A2:A6,A2:A6),0)). In Excel 365, this is entered normally; in older Excel, press Ctrl+Shift+Enter.
MODE/MODE.SNGL returns the first mode encountered. Use MODE.MULT in Excel 365 to get all tied modes.
Use the AVERAGE function to calculate the arithmetic mean of a range of numbers in Excel or Google Sheets.
How-toUse AVERAGEIF with a "<>0" criterion to calculate an average that excludes zero values from the calculation.
How-toAVERAGE naturally ignores blank cells; use AVERAGEIF with "<>" to also ignore text placeholders like dashes.
How-toUse AVERAGEIF to compute the mean of values in one column where a corresponding column meets a specified criterion.
How-toCompute a rolling average for each row using AVERAGE with a fixed-window OFFSET or INDEX formula anchored to each row.
How-toUse the MEDIAN function to find the middle value in a dataset — the value that half the data falls above and half below.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: