A sales manager has a worksheet containing sales data. Column A lists the product category, and Column B lists the sales amount. Which formula correctly calculates the total sales for the 'Electronics' category?
-
A
=SUMIF(A:A, "Electronics", B:B)
-
B
=SUM(B:B, A:A, "Electronics")
-
C
=VLOOKUP("Electronics", A:B, 2, FALSE)
-
D
=COUNTIF(A:A, "Electronics")