DeskBrief
Bài viết này chưa được dịch sang ngôn ngữ này, vì vậy bản gốc tiếng Anh được hiển thị.

Twelve Excel functions cover most office work

Đăng ngày 2026-11-26 · 3 phút đọc

Excel has more than 400 functions, but the ones an office uses every month number about ten. This article explains those twelve by "when do I use it?". Situation first, syntax second. Every example refers to a simple table like this one.

ABCD
1DateDepartmentItemAmount
22026-11-03SalesCopy paper24,000
32026-11-05FacilitiesToner89,000
42026-11-12SalesBallpoint pens6,500
5…………

Group 1. Adding and counting

SUM — the total of a range. =SUM(D2:D100). The most used function, and also the most often wrong. The usual mistake is a subtotal row inside the range, so values are added twice.

AVERAGE / COUNT / COUNTA — the mean, the number of numeric cells, the number of non-empty cells. COUNT counts only numbers; COUNTA counts text too. Count "respondents" with COUNT and the text answers go missing.

SUBTOTAL — calculates only the visible rows when a filter is on. In =SUBTOTAL(9, D2:D100), the 9 means sum. Totalling a filtered list with SUM includes the hidden rows and gives the wrong answer.

Group 2. Conditions

IF — a different value depending on a test. =IF(D2>=50000, "High", "Normal"). With three or more conditions, IFS is easier to read.

SUMIF / COUNTIF — add or count only what matches a condition. "Total for Sales" is =SUMIF(B:B, "Sales", D:D). For two or more conditions use SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2). The common mistake is that the argument order differs from SUMIF.

IFERROR — show something else instead of an error. =IFERROR(VLOOKUP(...), "Not found"). It stops #N/A from landing in the report as is.

Group 3. Looking things up

VLOOKUP — fetch a value from another table. =VLOOKUP(lookup_value, table_range, column_number, FALSE). Leave off the final FALSE and it quietly returns an approximate match. The lookup value must be in the first column of the table, which is its main limitation.

XLOOKUP — the newer function without that limitation. =XLOOKUP(lookup_value, lookup_range, return_range, "Not found"). It can look to the left, and the fourth argument sets the value for a miss directly. If your version has it, use this one.

INDEX / MATCH — the combination that does the same job in older versions without XLOOKUP. =INDEX(return_range, MATCH(lookup_value, lookup_range, 0)).

Group 4. Working with text

TEXT — turn a number or date into text in the shape you want. =TEXT(A2, "yyyy-mm") builds a key for monthly totals; =TEXT(D2, "#,##0") puts an amount inside a sentence.

LEFT / RIGHT / MID, TRIM — cut text and remove spaces. The first four characters of an ID are =LEFT(A2, 4). When a VLOOKUP fails because of leading or trailing spaces in imported data, clean it with TRIM first.

Group 5. Dates

TODAY / EOMONTH — today's date, and the last day of the month a date falls in. For deadlines, =EOMONTH(A2, 0) (end of this month) and =EOMONTH(A2, 1) (end of next month). Dates are numbers inside Excel, so =B2-A2 gives the difference in days directly.

Three habits that matter more than the functions

  1. Keep raw data and calculations apart. No formulas on the raw-data sheet; functions only on the summary sheet. Refreshing the raw data then never breaks the summary.
  2. Prefer a table (Ctrl+T) to whole-column ranges (D:D). A table's range grows with the rows automatically.
  3. Don't be stingy with helper columns. Two extra columns are kinder to your future self than five functions nested in one cell.

With these twelve in your hands, you look like "the Excel person". The other 388 can be searched for when needed.

Cài đặt
Phím sếpChuyển sang màn hình công việc. Nhấn lại cùng phím để quay về.
Phím sếp thứ hai
Màn hình công việc
Hiệu ứng âm thanhMặc định tắt. Phím sếp tắt tiếng ngay lập tức.
Giờ tan làmChỉ dùng cho dòng "N phút trước giờ tan làm" trên thẻ kết quả.
Số lần nhấn phím sếp (trình duyệt này)
0
Thẻ kết quả
Thẻ kết quả

Ảnh chỉ chứa điểm số và thời gian.

Bản không quảng cáo

Thanh toán chưa mở. Chúng tôi sẽ thông báo tại đây khi sẵn sàng. Trong thời gian đó mọi thứ vẫn miễn phí.