158 useful answers · Page 7 of 7

Google Sheets: page 7

Use formulas, clean imported data, combine tables, and understand calculation errors.

Search this topic

How do I highlight odd-numbered rows with a formula in Google Sheets?

Select the range, open conditional formatting, and use a custom formula such as =ISODD(ROW()). Choose a fill color. This uses the sheet's physical row numbers, so row 1 is odd and row 2 is even regardless of where your table starts. If you want table-relative striping, adjust the row calculation to account for the table's header and starting position.

How do I spot cells where a formula may have been replaced with a typed value?

Use =ISFORMULA(B2) in a helper column and fill down beside a column that should contain formulas. FALSE identifies cells without a formula; investigate those against the intended design. Some constants may be legitimate, so do not automatically replace every flagged cell. TRUE only confirms that a formula exists, not that its references or calculation are correct.

How do I show a Google Sheets formula as text beside its result?

Enter =FORMULATEXT(B2) in another cell to display B2's formula rather than its calculated answer. This is useful when documenting a calculation or comparing neighboring rows. Reference a cell that contains a formula, and allow enough column width to read it. If you supply a range, FORMULATEXT inspects only its top-left cell rather than listing every formula in the range.

How do I remove duplicate rows in Google Sheets?

Make a copy first, then select the complete table you want to clean. Choose Data > Data cleanup > Remove duplicates and select the columns that determine whether records match. Review the selected columns before confirming: matching names alone may not mean two orders are the same. Check the remaining rows afterward. Use UNIQUE instead if you want a separate formula-based list while preserving the source.

How do I find and highlight duplicates in Google Sheets?

Select A2:A100, open Format > Conditional formatting, and choose Custom formula is. Use =AND(A2<>"",COUNTIF($A$2:$A$100,A2)>1), choose a fill, and click Done. The fixed range checks the whole list while A2 follows each row. This flags every occurrence of a repeated nonblank value without deleting anything. COUNTIF ignores letter case; use another method if capitalization must distinguish records.

Source checks for these answers: September 21, 2026. Product instructions and local requirements can vary.