Select the cells containing the data
Click an empty cell where you want the result
Enter `=MAX(A1:A10)-MIN(A1:A10)` replacing `A1:A10` with your data range
Press Enter
Use the correct cell range for your dataset
If needed, replace the range with a named range or table reference
