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 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.
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: