TS Suite Prime by Torres
ES
Guide · TS Suite Prime

Basic spreadsheet formulas with examples

Seven formulas cover 80% of everyday spreadsheet work. Here they are, with examples you can copy and paste.

Assume this table: products in column A, quantities in B and prices in C, rows 2 to 10.

FormulaWhat it doesExample
SUMAdds a range=SUM(B2:B10)
AVERAGEAverage of a range=AVERAGE(C2:C10)
IFChooses between two results=IF(B2<10,"Reorder","OK")
SUMIFAdds only what meets a condition=SUMIF(A2:A10,"Coffee",B2:B10)
COUNTIFCounts cells meeting a condition=COUNTIF(B2:B10,"<10")
VLOOKUPFinds a value and returns data from its row=VLOOKUP("Tea",A2:C10,3,FALSE)
ROUNDRounds to N decimals=ROUND(C2*1.08,2)

IF step by step

=IF(test, value_if_true, value_if_false). Example: =IF(D2>=1000,D2*0.05,0) gives a 5% discount on sales of $1,000 or more.

VLOOKUP step by step

=VLOOKUP(lookup_value, table, column_number, FALSE). It searches the first column of the table and returns the value from the given column. Always use FALSE for an exact match, or it may return the wrong row.

Absolute references ($)

When you copy a formula, references shift automatically. To lock a cell, use $: =B2*$F$1 always multiplies by F1, such as a tax rate.

Common errors

  • #NAME?: the function name is misspelled.
  • #N/A: VLOOKUP did not find the value.
  • #DIV/0!: dividing by zero or an empty cell.

Practice with the Inventory template in TS Sheets: it already includes multiplication, IF and SUM formulas.

TS SheetsA spreadsheet with 400+ formulas. Opens and saves .xlsx and .csv.
Open TS Sheets →

Frequently asked questions

Do formulas still work when I open the file in Excel?

Yes. The .xlsx file stores formulas in the standard format.

VLOOKUP or XLOOKUP?

XLOOKUP is more flexible (looks up in any column), but VLOOKUP works in older Excel versions.

How many functions does TS Sheets support?

More than 400 Excel-compatible functions.

More guides

Updated: October 2026.