Excel Interview Questions
Excel Interview Questions
Answer: Microsoft Excel is a spreadsheet program used to record and analyze numerical and
statistical data. It is widely used for data entry, calculations, and creating charts.
Answer: Cells are the basic building blocks of an Excel worksheet, where you can enter data.
Each cell is identified by a unique address, combining its column letter and row number, like A1
or B2.
Answer: To create a new spreadsheet, you can open Excel and click on "File" > "New" > "Blank
Workbook."
Answer: To add a column, right-click on the column letter where you want to insert the new
column and select "Insert."
Answer: To use the SUM function, you can type =SUM(A1:A10) in a cell to add up all the numbers
from A1 to A10.
Answer: A formula is an expression that calculates the value of a cell. For example, =A1+A2 adds
the values in cells A1 and A2.
Answer: Some common functions are SUM, AVERAGE, MIN, MAX, COUNT, and IF.
Answer: To format cells, right-click on the cell, select "Format Cells," and choose the desired
format, such as number, date, or currency.
linkedin.com/in/pradeep-m-analyst
9. How can you create a chart in Excel?
Answer: To create a chart, select the data you want to chart, go to the "Insert" tab, and choose
the type of chart you want, like a bar chart or pie chart.
Answer: A pivot table is a tool in Excel that allows you to summarize, analyze, and present large
amounts of data in a concise table.
Answer: To sort data, select the range you want to sort, go to the "Data" tab, and choose "Sort
A to Z" or "Sort Z to A" for ascending or descending order.
Answer: To filter data, select the range you want to filter, go to the "Data" tab, and click on
"Filter." Then, use the drop-down arrows in the column headers to select your filter criteria.
Answer: Conditional formatting allows you to apply specific formatting to cells that meet
certain criteria, such as highlighting cells that contain values above a certain number.
Answer: To freeze panes, select the row below and the column to the right of the panes you
want to freeze, go to the "View" tab, and click on "Freeze Panes."
Answer: To remove duplicates, select the range of data, go to the "Data" tab, and click on
"Remove Duplicates."
Answer: To concatenate strings, use the & operator or the CONCATENATE function, like =A1 & B1
or =CONCATENATE(A1, B1).
linkedin.com/in/pradeep-m-analyst
17. What is the difference between a relative and an absolute reference in Excel?
Answer: A relative reference changes when you copy it to another cell, while an absolute
reference remains constant. Absolute references use the $ sign, like $A$1.
Answer: VLOOKUP searches for a value in the first column of a range and returns a value in the
same row from another column. Example: =VLOOKUP("Apple", A1:B10, 2, FALSE).
Answer: HLOOKUP searches for a value in the first row of a range and returns a value in the
same column from another row. Example: =HLOOKUP("Apple", A1:E5, 3, FALSE).
Answer: The IF function checks a condition and returns one value if true and another if false.
Example: =IF(A1 > 10, "Yes", "No").
Answer: COUNTIF counts the number of cells that meet a condition. Example: =COUNTIF(A1:A10,
">5") counts cells with values greater than 5.
Answer: SUMIF adds the values in a range that meet a condition. Example: =SUMIF(A1:A10, ">5",
B1:B10) sums values in B1 where A1 values are greater than 5.
Answer: Data validation restricts the type of data that can be entered in a cell. For example,
you can set a cell to accept only numbers between 1 and 100.
Answer: INDEX returns the value of a cell in a specified row and column. Example: =INDEX(A1:C10,
2, 3) returns the value in the second row and third column of the range.
linkedin.com/in/pradeep-m-analyst
25. How do you use the MATCH function?
Answer: MATCH searches for a value in a range and returns its relative position. Example:
=MATCH("Apple", A1:A10, 0) returns the position of "Apple" in the range A1
Answer: TRIM removes all extra spaces from text except for single spaces between words.
Example: =TRIM(A1).
Answer: LEFT returns the specified number of characters from the start of a text string. RIGHT
returns characters from the end. Example: =LEFT(A1, 3) returns the first 3 characters of A1,
=RIGHT(A1, 3) returns the last 3 characters.
Answer: To protect a worksheet, go to the "Review" tab, click on "Protect Sheet," and set a
password if desired.
Answer: To create a macro, go to the "View" tab, click on "Macros," select "Record Macro,"
perform the actions you want to automate, and then stop the recording.
Answer: The TEXT function formats a number and converts it to text. Example: =TEXT(A1, "0.00")
formats the number in A1 to two decimal places.
Answer: The CONCAT function joins two or more text strings into one string. Example:
=CONCAT(A1, " ", B1) combines the contents of A1 and B1 with a space in between.
Answer: To insert a hyperlink, right-click on the cell, select "Hyperlink," enter the URL or link
location, and click "OK."
linkedin.com/in/pradeep-m-analyst
33. What is the difference between CONCATENATE and CONCAT?
Answer: CONCATENATE is an older function used to join text strings. CONCAT is a newer
function that serves the same purpose but can handle ranges and arrays more flexibly.
Answer: TEXTJOIN combines text from multiple ranges with a specified delimiter. Example:
=TEXTJOIN(", ", TRUE, A1:A3) joins the text in A1, A2, and A3 with a comma and space, ignoring
empty cells.
Answer: The PMT function calculates the payment for a loan based on constant payments and
a constant interest rate. Example: =PMT(rate, nper, pv) where rate is the interest rate, nper is the
number of periods, and pv is the present value.
Answer: LEN returns the number of characters in a text string. Example: =LEN(A1) returns the
length of the text in cell A1.
Answer: MID returns a specific number of characters from a text string, starting at the position
you specify. Example: =MID(A1, 2, 3) returns 3 characters from the text in A1, starting at the
second character.
Answer: SUBSTITUTE replaces occurrences of a specified text string within another text string.
Example: =SUBSTITUTE(A1, "old", "new") replaces "old" with "new" in the text in A1.
Answer: NOW returns the current date and time. Example: =NOW().
linkedin.com/in/pradeep-m-analyst
41. How do you use the NETWORKDAYS function?
Answer: NETWORKDAYS returns the number of whole workdays between two dates, excluding
weekends and specified holidays. Example: =NETWORKDAYS(A1, B1).
Answer: WORKDAY returns the date before or after a specified number of workdays, excluding
weekends and holidays. Example: =WORKDAY(A1, 5) returns the date 5 workdays after the date in
A1.
Answer: FIND locates one text string within another and returns the position of the first
character of the found text. Example: =FIND("find", A1) returns the position of "find" in the text in
A1.
Answer: CHOOSE returns a value from a list based on an index number. Example: =CHOOSE(2,
"Apple", "Banana", "Cherry") returns "Banana".
Answer: OFFSET returns a reference to a range that is a specified number of rows and columns
from a cell or range of cells. Example: =OFFSET(A1, 2, 3) returns the cell that is 2 rows down and 3
columns to the right of A1.
Answer: A dynamic range is a range that automatically expands or contracts based on the data
in the range. It can be created using formulas like OFFSET or using Excel Tables.
Answer: INDIRECT returns the reference specified by a text string. Example: =INDIRECT("A1")
returns the value in cell A1.
Answer: TRANSPOSE converts a vertical range of cells to a horizontal range or vice versa.
Example: =TRANSPOSE(A1:A3) changes a vertical range into a horizontal one.
linkedin.com/in/pradeep-m-analyst
49. How do you enable macros in Excel?
Answer: To enable macros, go to "File" > "Options" > "Trust Center" > "Trust Center Settings" >
"Macro Settings," and choose "Enable all macros" or "Disable all macros with notification."
Answer: RANK returns the rank of a number within a list of numbers. Example: =RANK(A1, A1:A10)
returns the rank of A1 in the range A1.
Answer: LARGE returns the k-th largest value in a data set. Example: =LARGE(A1:A10, 2) returns
the second largest value in the range A1.
Answer: SMALL returns the k-th smallest value in a data set. Example: =SMALL(A1:A10, 2) returns
the second smallest value in the range A1.
Answer: COUNT counts the number of cells that contain numbers, while COUNTA counts the
number of cells that are not empty.
Answer: XLOOKUP searches a range or array and returns an item corresponding to the first
match it finds. Example: =XLOOKUP("Apple", A1:A10, B1:B10) returns the value in B1 where "Apple" is
found in A1.
Answer: UNIQUE returns a list of unique values from a range or array. Example: =UNIQUE(A1:A10).
Answer: SORT sorts the contents of a range or array. Example: =SORT(A1:A10) sorts the range A1
in ascending order.
linkedin.com/in/pradeep-m-analyst
57. What is Power Query in Excel?
Answer: Power Query is a data connection technology that enables you to discover, connect,
combine, and refine data across a wide variety of sources.
Answer: Power Pivot is an Excel add-in you can use to perform powerful data analysis and
create sophisticated data models. It allows you to handle large datasets and create complex
relationships.
Answer: Slicers are visual filters for pivot tables and pivot charts. To add a slicer, select your
pivot table, go to the "Insert" tab, and click "Slicer." Then, select the fields you want to filter by.
Answer: To create a dashboard, you combine various charts, tables, and visual elements in a
single sheet to summarize and present key metrics and data insights. Use features like pivot
tables, charts, slicers, and formatting to design the dashboard.
linkedin.com/in/pradeep-m-analyst