The range in Excel is the difference between the largest and smallest values in a set of numbers, and you get it by subtracting the MIN from the MAX. The quickest way is to type =MAX(range)-MIN(range) in any empty cell, replacing range with your actual cells (for example =MAX(B2:B20)-MIN(B2:B20)). Press Enter and Excel returns the spread of your data in one number. This guide covers that method, the faster shortcut for a cell you already have highlighted, how to skip blanks and zeros, and what to do when the answer looks wrong.

A range of 0 means every value is identical; a negative range is impossible with the MAX-MIN formula, so if you see one you have almost certainly reversed the order. Note that Excel has no built-in RANGE function, so you always build it from two other functions or use the status bar readout. Menu labels and minor wording can differ slightly by Excel version, device and region.

What You'll Need

  • A spreadsheet with at least two numeric cells you want to compare (Excel for Windows, Mac, the web, or the mobile apps all work).
  • Numbers stored as real numbers, not as text with apostrophes or trailing spaces. Text-looking numbers are the single most common cause of a wrong result.
  • An empty cell where the formula can live, ideally outside the column or row you are measuring.
  • No need for add-ins or macros; every method below uses standard worksheet functions.

Step-by-Step

  1. Identify your data. Confirm the cells you want to measure are contiguous (no blank column breaking them) and contain numbers only. Click the top cell of the block, hold Shift, and click the bottom cell; Excel shows the coordinates in the Name Box at the top-left, for example C2:C50.
  2. Pick a destination cell. Choose an empty cell below or beside your data so the result does not overwrite anything.
  3. Start the formula. Type =MAX( in that cell, then drag across your data range with the mouse. Excel inserts the reference for you, saving typing and typos. Close the bracket so you have =MAX(C2:C50).
  4. Subtract the minimum. After the closing bracket type -MIN(, select the same range again, and close the bracket. The finished formula reads =MAX(C2:C50)-MIN(C2:C50).
  5. Press Enter. The cell now displays the range. In a column of test scores from 42 to 97, the result is 55.
  6. Check the anchor. Compare the displayed number against the actual largest and smallest values. To see them, put =MAX(C2:C50) in one cell and =MIN(C2:C50) in another and verify the subtraction matches.
  7. Make it readable. Select the result cell and apply number formatting from the Home tab (currency, decimal places or percentage) so the figure matches the rest of your sheet. Formatting changes display only, never the value.
  8. Copy it down or across, if needed. Drag the fill handle (the small square at the bottom-right of the selected cell) to apply the formula to other columns or rows. If your source data is in fixed columns and you fill sideways, convert the references to absolute first with F4, so C2:C50 becomes $C$2:$C$50.

The quick status bar method

If you only need a one-off look, select the cells and glance at Excel's status bar along the bottom of the window. It can show Average, Count and Sum by default; right-click it to switch on Minimum and Maximum. Subtract the two figures in your head. This method is display-only — nothing is written to a cell — so it is perfect for a quick check but not for a report you will update later. On the Excel mobile apps the selection summary appears above the keyboard area and offers similar statistics.

Ignoring blanks, zeros or outliers

MAX and MIN already ignore blank cells and text, which is usually what you want. Zeros are included, though, and they can drag your minimum to 0 and inflate the range. Two fixes:

  • Filter out rows containing zeros or use a helper column with =IF(D2=0,"",D2), then run MAX and MIN on the helper column.
  • Use =MAXIFS(D2:D50,D2:D50,">0") and =MINIFS(D2:D50,D2:D50,">0") to measure only positive values. MAXIFS and MINIFS require a newer Excel version; if the function name is not recognised, use the helper-column approach instead.

For a range that ignores extreme outliers, decide on a cutoff first and document it, then apply the same filter rule to both ends so the comparison stays fair.

Common Mistakes

  • Numbers stored as text. Values pasted from websites or exported files often arrive as text. MAX and MIN silently skip them, giving a wrong result or a zero. Select the column, open the Data tab and use Text to Columns with Finish, or multiply the cells by 1 in a helper column, to convert them.
  • Reversed subtraction. Typing =MIN(range)-MAX(range) produces a negative number. The range is always highest minus lowest.
  • Wrong range size. Selecting C2:C49 when data runs to C50 quietly excludes the final value, which may be the maximum or minimum.
  • Extra spaces. A cell containing "97 " with a trailing space is text, not a number, and is ignored. Use Find and Replace or the TRIM function to clean it.
  • Referencing your own result cell. If the destination sits inside the source range, you create a circular reference warning and Excel cannot calculate it.
  • Confusing range with other statistics. Range measures spread only. It is not the same as standard deviation, variance or average, and a single outlier will distort it far more than it distorts the mean.

Tips

  • Use named ranges instead of cell coordinates for readability: select the data, name it in the Name Box, then write =MAX(Scores)-MIN(Scores). Formulas stay readable if the sheet grows.
  • Add a label in the neighbouring cell ("Range of scores") so anyone opening the workbook knows what the number means.
  • To show the highest and lowest values beside the range, use =MAX(range) and =MIN(range) in separate labelled cells; auditors and colleagues can then verify the math at a glance.
  • For a range that must exclude text like "N/A", use =MAX(IFERROR(range*1,"")) entered with Ctrl+Shift+Enter in older Excel versions; in Microsoft 365 a plain Enter is enough.
  • If you need the range as a percentage of the mean, divide the result by AVERAGE: =(MAX(range)-MIN(range))/AVERAGE(range).
  • Keep source columns free of merged cells; merged cells break range selection and cause MAX or MIN to return values from the wrong area.

Troubleshooting

If the formula returns 0: every cell in the range is empty, or all values are text. Select the range and check the status bar — if Count is 0 while the cells look populated, they are text.

If you see #VALUE!: a bracket is missing or mismatched. Excel highlights the offending part when you press Enter; click the warning icon next to the cell and choose Show Calculation Steps to trace it.

If the answer is not what you expect: widen the selection with the mouse and confirm the formula bar shows the same coordinates, then check for hidden rows or filtered-out data. Filtered rows are still included in MAX and MIN — use SUBTOTAL with function numbers 104 (MAX) and 105 (MIN) if you need visible rows only: =SUBTOTAL(104,D2:D50)-SUBTOTAL(105,D2:D50).

If Excel says there is a circular reference: the result cell is inside the range. Move it outside or cut the source range so they no longer overlap.

If nothing recalculates: check whether calculation is set to Manual under Formulas > Calculation Options and switch it back to Automatic. Restarting Excel and updating the app resolves most odd display problems.

Frequently Asked Questions

Is there a RANGE function in Excel?

No. Excel has no single RANGE function; you combine MAX and MIN, use the status bar, or use MAXIFS and MINIFS with conditions.

Does the range include blank cells and zeros?

Blanks and text are ignored by MAX and MIN. Zeros are counted, so they pull the minimum down to zero. Use MAXIFS and MINIFS with a ">0" condition to exclude them.

How do I find the range of several columns at once?

Use a multi-area or stacked reference such as =MAX(D2:D50,F2:F50)-MIN(D2:D50,F2:F50). Both MIN and MAX accept more than one area as long as each is a valid range.

What if my numbers are in different sheets?

Reference them with the sheet name, for example =MAX(Sheet1!D2:D50)-MIN(Sheet1!D2:D50). Excel adds the exclamation mark automatically if you click the other sheet while building the formula.

Can a range be negative?

Not from the MAX-MIN method, because MAX is always greater than or equal to MIN. A negative result means the subtraction was reversed.

Is range better than standard deviation?

They answer different questions. Range is simple and easy to explain but is driven by the two extreme values alone; standard deviation uses every value and resists outliers. Use range for quick comparisons and standard deviation for a fuller picture of spread.