Spreadsheet formula tools · Updated May 13, 2026
Build the spreadsheet formula before you read the guide.
Generate XLOOKUP, SUMIFS, and QUERY formulas, then open tested examples, error fixes, and platform notes when you need the details.
Why this is a tool site
FormulaDesk starts with a working formula builder, then supports the answer with syntax, examples, mistakes, and platform notes. The goal is to solve the spreadsheet task first and let the guide explain the why.
Built for search intent
Every page answers one spreadsheet job
People rarely search for spreadsheet theory. They search because a report is broken, a lookup failed, or a manager needs a number now. FormulaDesk keeps each page focused on a single job: formula, example, mistake, fix, and next step.
Start with common spreadsheet problems
Remove duplicate rows or values dynamically with UNIQUE in Excel or Google Sheets.
Merge Two Columns in Excel or Google SheetsCombine first name and last name, city and state, or other columns with a delimiter.
Google Sheets QUERY LimitLimit the number of rows returned by a Google Sheets QUERY formula.
Find Duplicates with a FormulaUse COUNTIF or COUNTIFS to identify duplicate spreadsheet rows or values.
Keep Leading Zeroes in Excel or Google SheetsPreserve leading zeroes in ZIP codes, IDs, SKU codes, and imported text values.
Percent Change FormulaCalculate percentage increase or decrease between an old value and a new value.
Problem clusters
Jump straight to the task
These clusters are built around how people actually search: something is broken, a report needs a number, or messy data needs to be cleaned before formulas work.
Fix broken formulas
Troubleshoot formulas that show errors, return the wrong result, or display as text.
Numbers Stored as TextFix numbers stored as text so SUM, lookup, pivot tables, and comparisons work correctly.
How to Fix #DIV/0! in Excel and Google SheetsFix #DIV/0! errors when a formula divides by zero, blank cells, or missing values.
Build reports
Use SUMIFS to total values for a specific month from a table with transaction dates.
QUERY with IMPORTRANGECombine QUERY and IMPORTRANGE to filter imported Google Sheets data.
Running Total in Excel or Google SheetsCreate a cumulative total that adds each row to the total above it.
Clean imported data
Remove leading, trailing, repeated, and invisible spaces from spreadsheet text.
Remove Blank Rows with a FormulaUse FILTER to return only nonblank rows from a spreadsheet range.
Keep Leading Zeroes in Excel or Google SheetsPreserve leading zeroes in ZIP codes, IDs, SKU codes, and imported text values.
Browse every formula category
Find matching values, return related records, and replace old lookup habits with clearer formulas.
Aggregation & CountingSum, count, average, and group spreadsheet data with criteria that match real reports.
Google Sheets QUERYUse Google Sheets QUERY clauses for select, where, group by, order by, labels, and pivots.
Dynamic ArraysFilter, sort, stack, and transform ranges with modern spreadsheet formulas.
Text CleanupClean names, IDs, emails, imported data, extra spaces, and inconsistent text.
Date & TimeCalculate workdays, date gaps, due dates, month ends, and spreadsheet-friendly date values.
Logic & Error FixesFix common spreadsheet errors and write formulas that fail gracefully.
Pivot TablesBuild useful pivot tables, refresh reports, group values, and troubleshoot odd totals.
FormattingUse conditional formatting, number formats, date formats, and visual rules that make sheets easier to read.
ComparisonsChoose the right formula by comparing similar functions, tradeoffs, and platform differences.