Which Excel function searches for a value in the first column of a table and returns a value from the same row?
Correct answer: C. VLOOKUP
VLOOKUP (vertical lookup) searches down the first column. HLOOKUP searches across the first row instead.
Solved MS Excel MCQs on functions (VLOOKUP, SUMIF, COUNTIF, TODAY, LEN), error values like #DIV/0!, shortcuts, Freeze Panes, Pivot Tables and formatting.
This set goes beyond the basics of MS Excel to the functions and features that examiners like to test: lookup functions, TODAY and ROUND, text clean-up with TRIM, error messages such as #NAME? and #DIV/0!, and tools like freeze panes and conditional formatting.
If you have Excel on your computer, try each formula yourself as you read the explanation. Seeing the result once is the fastest way to remember what a function returns and why an error appears.
Correct answer: C. VLOOKUP
VLOOKUP (vertical lookup) searches down the first column. HLOOKUP searches across the first row instead.
Correct answer: B. SUMIF
For example, =SUMIF(A2:A10,"Lahore",B2:B10) adds the values in B where column A says Lahore.
Correct answer: A. COUNTIF
For example, =COUNTIF(C2:C50,"Pass") counts how many cells in the range contain "Pass".
Correct answer: C. The current date
TODAY() returns the current date. NOW() returns the current date and time. Both update when the sheet recalculates.
Correct answer: C. The current date and time
NOW() returns both the date and the time. Use TODAY() if you need only the date.
Correct answer: D. The number of characters in A1
LEN counts every character, including spaces. For example, =LEN("Pakistan") returns 8.
Correct answer: D. TRIM
TRIM removes leading and trailing spaces and reduces repeated spaces between words to one.
Correct answer: A. UPPER
UPPER converts text to all capitals, LOWER to small letters, and PROPER capitalizes the first letter of each word.
Correct answer: D. CONCAT (or CONCATENATE)
CONCAT (and the older CONCATENATE) join text values. The & operator does the same, as in =A1&" "&B1.
Correct answer: B. 3.5
ROUND rounds to the given number of decimal places. 3.456 rounded to 1 decimal place is 3.5.
Correct answer: C. The column is too narrow to display the value
Widening the column normally reveals the number or date. It is a display issue, not an error in the value.
Correct answer: A. Divides by zero or an empty cell
For example, =A1/B1 shows #DIV/0! if B1 is 0 or empty.
Correct answer: D. Excel does not recognize a function or name in the formula
A typo such as =SUMM(A1:A5) produces #NAME? because SUMM is not a valid function.
Correct answer: D. An invalid cell reference, often after deleting cells used in a formula
If you delete a row or column that a formula depends on, the reference breaks and Excel shows #REF!.
Correct answer: D. A formula uses the wrong type of data, such as adding text to a number
For example, =A1+B1 gives #VALUE! if A1 contains text that cannot be treated as a number.
Correct answer: C. Freeze Panes
Freeze Panes, on the View tab, locks rows or columns in place so headings stay visible.
Correct answer: A. Change cell formatting automatically based on the cell's value
For example, marks below 33 can be shown in red automatically. It is on the Home tab.
Correct answer: C. Summarize and analyze large amounts of data
Pivot Tables quickly group, total and compare data, for example sales by city and month. They are on the Insert tab.
Correct answer: B. Restrict what can be entered in a cell
For example, it can allow only dates, numbers within a range, or choices from a drop-down list. It is on the Data tab.
Correct answer: B. Pie chart
A pie chart shows how a total is divided into parts. Line charts are best for trends over time.