Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=INDEX(B2:F2,MATCH(TRUE,B2:F2<>"",0))=COALESCE(B2,C2,D2,E2,F2)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need the Google Sheets version instead? Open Sheets variant in workspace →
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
No — COALESCE is a Google Sheets function. Use INDEX/MATCH or IFERROR chains in Excel.
Both approaches return the value as-is, whether text or numeric, so no adjustment is needed.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: