JavaScript is required

Dùng hàm SUM để tính tổng giá trị các ô dữ liệu số từ B5 đến B7, ta viết công thức như sau:

A.
A. =SUM(B5.B7)
B.
B. =SUM(B5,$B 6,B$7)
C.
C. =SUM($B5:B$7)
D.
D. Cả 3 câu trên đều đúng
Trả lời:

Đáp án đúng: D


The question asks how to sum values from cells B5 to B7 using the SUM function. The correct syntax uses ':' to denote a range of cells. Among the options: - A. =SUM(B5.B7): Incorrect because '.' is not the correct syntax for specifying a range in Excel. - B. =SUM(B5,$B 6,B$7): Incorrect. While syntactically valid, it sums B5, B6, and B7 individually, not as a continuous range. - C. =SUM($B5:B$7): Incorrect. While it uses the correct range syntax ':', the absolute references ($) aren't necessary in this simple case. The most correct answer would be =SUM(B5:B7) Therefore, the closest correct answer, despite the unnecessary '$' signs, is C because it utilizes the correct range operator.

Câu hỏi liên quan