Excel FAQs and Important Formulas
Excel FAQs and Important Formulas
➢ Open Excel, click "File" > "Open," and select the file you want.
➢ Right-click the cell and select "Format Cells," or use the options in the "Home" tab.
➢ Rows are horizontal lines, and columns are vertical lines of cells in a worksheet.
➢ Drag the boundary line of the column or row header, or right-click and select "Row Height" or
"Column Width."
➢ An equation that performs calculations on cell values, starting with an equals sign (=).
➢ Absolute references ($A$1) remain constant, while relative references (A1) adjust when copied.
➢ Similar to VLOOKUP but searches for a value in the top row and returns a value from a specified
row.
➢ Select the data range, go to the "Data" tab, and choose "Sort."
➢ Click on the filter icon in the column header and select criteria to filter the data.
➢ Select the cells, go to the "Home" tab, click "Conditional Formatting," and set your rules.
➢ Select the cell, go to the "Data" tab, click "Data Validation," and set your criteria.
➢ A workbook is the entire file, while a worksheet is a single tab within the workbook.
➢ Click the "+" icon next to the existing worksheet tabs or right-click a tab and select "Insert."
26. How do I rename a worksheet?
➢ Right-click the worksheet tab, select "Rename," and type the new name.
➢ Right-click the worksheet tab, select "Move or Copy," and choose the destination.
➢ A user-defined name for a cell or range of cells that simplifies referencing in formulas.
➢ Select the range, go to the "Formulas" tab, click "Define Name," and enter the name.
➢ =CONCATENATE (text1, text2, ...) combines multiple text strings into one.
➢ =LEFT (text, num_chars), =RIGHT (text, num_chars), and =MID (text, start_num,
num_chars) extract text from a string.
➢ =DATE (year, month, day) creates a date value from individual year, month, and day components.
➢ Use =DATEDIF (start_date, end_date, "unit") to find the difference in days, months, or years.
➢ A range that shows how changes in one or two variables affect the results of a formula.
➢ Select the data range, go to the "Data" tab, and click "What-If Analysis" > "Data Table."
➢ Go to the "Data" tab, select "What-If Analysis," and choose "Goal Seek" to find the input value
needed to achieve a goal.
➢ Select your data, go to the "Insert" tab, and choose the desired chart type.
➢ Click on the chart and use options in the "Chart Tools" tabs to modify its design, layout, and format.
➢ Click on the chart, go to "Chart Elements" (plus icon), and check "Data Labels."
➢ A named formula is a custom formula that can be referred to by a name rather than a cell reference.
➢ Go to the "Formulas" tab, click "Name Manager," then "New," and define your formula.
➢ =SUMIF (range, criteria, [sum range]) sums values based on a specified condition.
➢ =AVERAGEIF (range, criteria, [average range]) calculates the average of cells that meet a
condition.
➢ =COUNTIF (range, criteria) counts the number of cells that meet a specified condition.
➢ COUNT counts only numeric values, while COUNTA counts all non-empty cells.
➢ =NOW () returns the current date and time, while =TODAY () returns just the current date.
➢ =PMT (rate, nper, pv, [fv], [type]) calculates loan payments based on constant payments
and a constant interest rate.
➢ A scatter plot shows the relationship between two numerical variables using dots.
➢ Select your data, go to the "Insert" tab, and choose "Scatter" from the Charts group.
➢ Select the cell, go to the "Data" tab, click "Data Validation," and choose "List" from the options.
➢ Select a pivot table or chart, go to the "Insert" tab, and click "Slicer."
➢ A macro is a recorded sequence of actions or VBA code used to automate repetitive tasks.
➢ Go to the "View" tab, click "Macros," then "Record Macro," and perform the actions you want to
automate.
➢ Go to the "View" tab, click "Macros," then "View Macros," select the macro, and click "Run."
➢ Visual Basic for Applications (VBA) is a programming language used to create custom macros and
automate tasks.
➢ Right-click the row or column header, select "Hide," and to unhide, right-click adjacent headers and
choose "Unhide."
➢ =LEFT (text, num_chars) extracts a specified number of characters from the start of a text string.
➢ =RIGHT (text, num_chars) extracts characters from the end of a text string.
➢ =MID (text, stratum, num_chars) extracts characters from the middle of a text string.
➢ Select the cell, go to the "Home" tab, and choose a style from the "Cell Styles" gallery.
➢ =FIND (find text, within text, [stratum]) locates the position of a substring within a text
string.
➢ =REPLACE (old_text, stratum, num_chars, new text) replaces part of a text string with
another text string.
➢ =TRIM (text) removes extra spaces from text except for single spaces between words.
➢ Go to "Format Cells," select "Number" tab, and choose "Custom" to define your format.
78. What is the purpose of the ROUND function?
➢ =CEILING (number, significance) rounds up, while =FLOOR (number, significance) rounds
down.
➢ =YEARFRAC (start_date, end_date, [basis]) calculates the year fraction between two dates.
➢ =GETPIVOTDATA (data field, pivot table, [field1, item1], ...) retrieves data from a
pivot table.
➢ Excel does not have a SPLIT function, but you can use the "Text to Columns" feature or functions
like LEFT, MID, and RIGHT.
➢ =UNIQUE (array, [by_col], [exactly_once]) extracts unique values from a range or array.
➢ =SORT (array, [sort_index], [sort_order], [by_col]) sorts the contents of a range or array.
➢ =SORTBY (array, sort array, [sort_order]) sorts a range based on the values in another
range.
➢ Excel does not have an ARRAYFORMULA function, but similar results can be achieved using array
formulas or functions like SUMPRODUCT.
➢ =OFFSET (reference, rows, cols, [height], [width]) returns a range offset from a specified
reference.
➢ =LOOKUP (lookup_value, lookup vector, [result vector]) searches for a value in a range
and returns a corresponding value.
➢ =CHAR (number) returns the character specified by a number from the ASCII table.
➢ =CODE (text) returns the numeric ASCII code for the first character in a text string.
➢ Excel does not have a TEXTSPLIT function, but you can use "Text to Columns" or functions like
LEFT, RIGHT, and MID.
111. What is the purpose of the SIN, COS, and TAN functions?
➢ =SIN (angle), =COS (angle), and =TAN (angle) returns the sine, cosine, and tangent of an angle,
respectively.
➢ =SUMPRODUCT (array1, [array2], ...) multiplies corresponding elements in given arrays and
sums the products.
➢ =CONCAT (text1, [text2], ...) combines text strings into one, similar to CONCATENATE.
➢ =TEXTJOIN (delimiter, ignore empty, text1, [text2], ...) joins text strings with a
specified delimiter.
➢ =UNICODE (text) returns the Unicode value of the first character in a text string.
➢ =FILTERXML (xml, path) extracts data from XML based on XPath expressions.
➢ =EDATE (start_date, months) returns the date that is a specified number of months before or
after a start date.
➢ =EOMONTH (start_date, months) returns the last day of the month that is a specified number of
months before or after a start date.
➢ =DAY (date) extracts the day of the month from a date value.
➢ =WEEKNUM (date, [return_type]) returns the week number of the year for a given date.
➢ Excel does not have an ISNONTEXT function, but you can use =NOT (ISTEXT (value)) to check
if a value is not text.
➢ =NA () returns the #N/A error value, indicating that a value is not available.
➢ =CELL (info type, [reference]) returns information about the formatting, location, or contents
of a cell.
➢ =INFO (type) returns information about the current operating environment, such as the file path or
system name.
➢ =REPT (text, number times) repeats a text string a specified number of times.
140. How do I use the DATEDIF function?
➢ =DATEDIF (start_date, end_date, unit) calculates the difference between two dates in
specified units (days, months, or years).
➢ =EOMONTH (start date, months) returns the last day of the month that is a specified number of
months before or after a start date.
➢ =UNIQUE (array, [by_col], [exactly_once]) extracts unique values from a range or array.
This list covers a wide range of Excel functionalities, from basic operations to advanced features and
functions. If you need more detailed explanations or additional FAQs, let me know!
Most Important FAQs:
Here are some of the most important questions and answers related to Microsoft Excel, covering both
fundamental and advanced features:
Answer: Microsoft Excel is a spreadsheet program that allows users to store, organize, and analyze data. It
is widely used for financial analysis, data management, and various forms of automation.
Answer: Excel formulas are expressions used to perform calculations or operations on data. They begin
with an equals sign = and can include functions, references, and operators. For example, =A1+B1 adds the
values in cells A1 and B1.
Answer: A formula is an expression used to calculate values, while a function is a predefined formula that
simplifies complex calculations. For example, =SUM(A1:A10) is a function that adds all values in the range
A1.
Answer: A Pivot Table is a powerful tool for summarizing, analyzing, and exploring large datasets. It
allows users to automatically sort, count, and total data stored in one table and create reports based on the
data. You can create a Pivot Table by selecting your data and choosing Insert > PivotTable.
Answer: The VLOOKUP function looks for a value in the first column of a table and returns a value in the
same row from another column. For example, =VLOOKUP(lookup_value, table_array, col_index_num,
[range_lookup]) searches for the lookup value in a specific range and returns a result from the desired
column.
Answer: VLOOKUP searches for data in a vertical manner (columns), while HLOOKUP searches for data in a
horizontal manner (rows). Both functions are used to retrieve data from a specified table based on lookup
values.
Answer: Conditional formatting allows you to format cells based on certain conditions. You can apply it by
selecting a range, navigating to Home > Conditional Formatting, and setting rules like highlighting cells
greater than a specific value or changing colors based on data.
Answer: To remove duplicates, select the range of data, go to Data > Remove Duplicates, and choose the
columns to check for duplicate entries. Excel will then eliminate any repeated rows based on your selection.
9. What is the IF function, and how do you use it?
Answer: The IF function returns one value if a condition is true and another value if it's false. For example,
=IF(A1>10, "Yes", "No") will return "Yes" if the value in A1 is greater than 10, otherwise it will return
"No".
Answer: A macro is a recorded sequence of steps or actions that can be played back to automate repetitive
tasks. Macros are written in VBA (Visual Basic for Applications) and can be recorded by going to View >
Macros > Record Macro.
Answer: You can protect a worksheet by going to Review > Protect Sheet. This restricts others from
making changes to locked cells. Similarly, you can protect an entire workbook by choosing Review >
Protect Workbook, which can prevent changes to the structure of the workbook.
12. What is the difference between relative and absolute cell references?
Answer: A relative reference (e.g., A1) changes when the formula is copied to another cell, while an
absolute reference (e.g., $A$1) remains constant no matter where the formula is copied. Mixed references,
such as $A1 or A$1, lock either the row or column.
14. What are Excel Add-Ins, and how are they used?
Answer: Add-Ins are additional features or tools that enhance Excel’s functionality. You can manage them
by going to File > Options > Add-Ins. Common Add-Ins include Power Query and Solver.
Answer: To create a chart, select the data you want to visualize, go to the Insert tab, and choose from a
variety of chart types such as bar, pie, line, or scatter charts. Customize the chart with labels, titles, and
styles.
Answer: Data Validation restricts the type of data that can be entered into a cell. You can apply it by going
to Data > Data Validation and setting rules like allowing only numbers between 1 and 100 or choosing
from a drop-down list.
17. How do you split text into columns using the Text to Columns feature?
Answer: Select the column with text, go to Data > Text to Columns, and choose the delimiter (e.g.,
comma, space) or fixed-width method to split the text into separate columns.
18. How do you concatenate text in Excel?
Answer: The CONCATENATE function (or & operator) is used to combine text from different cells. For
example, =CONCATENATE(A1, " ", B1) or =A1 & " " & B1 joins the text from cells A1 and B1 with a
space in between.
Answer: SUM adds all values in a range, while SUBTOTAL performs a specified calculation (e.g., sum,
average) and can exclude hidden rows or filtered data. For example, =SUBTOTAL(9, A1:A10) will sum only
the visible rows in A1
20. How do you use the INDEX and MATCH functions together?
Answer: INDEX returns the value of a cell based on its position, and MATCH finds the position of a value in a
range. Used together, they provide a more flexible alternative to VLOOKUP. For example:
These are some of the most essential questions and answers regarding Excel, offering a mix of basic and
advanced functionality. If you’d like to explore more advanced topics or other specific areas, feel free to
ask!
Advance FAQs
Here are some advanced questions and answers related to Microsoft Excel, covering more complex
functionalities, VBA, advanced formulas, and data analysis tools:
• Answer: Power Query is a data connection technology that enables you to discover, connect, combine, and
refine data across a wide variety of sources. It is commonly used for data transformation and preparation. To
access it, go to Data > Get & Transform Data. It allows users to clean and transform data without using VBA.
• Answer: Power Pivot is an advanced data modeling feature that allows you to create complex data models,
define relationships between tables, and create custom calculations using DAX (Data Analysis Expressions).
Unlike regular Pivot Tables, Power Pivot works with much larger datasets and allows for relationships
between different tables. You can enable Power Pivot from File > Options > Add-Ins > Manage COM Add-
ins.
• Answer: Named Ranges can be used to create dynamic charts that automatically update as the data range
changes. First, define a Named Range for the data source using Formulas > Name Manager with a formula
like =OFFSET(Sheet1!$A$1, 0, 0, COUNTA(Sheet1!$A:$A), 1). Then, use this Named Range as the
data source for your chart, which will update automatically as new data is added.
5. What is a VBA Macro, and how can you use it to automate tasks?
• Answer: VBA (Visual Basic for Applications) is a programming language in Excel that allows users to
automate repetitive tasks. You can create a macro by going to Developer > Record Macro, or you can write
custom VBA code. For example, a simple VBA script to automatically format a range might look like this:
vba
Copy code
Sub FormatCells()
Range("A1:A10").[Link] = True
Range("A1:A10").[Link] = RGB(255, 255, 0)
End Sub
• Answer: You can create User Defined Functions (UDFs) using VBA. These functions can perform custom
calculations not available in standard Excel. Here’s an example of a simple UDF that calculates the cube of a
number:
vba
Copy code
Function Cube(x As Double) As Double
Cube = x ^ 3
End Function
After saving this code in the VBA Editor, you can use =Cube(3) in your worksheet to return 27.
• Answer: Volatile functions recalculate every time there is any change in the worksheet, which can slow
down performance. Examples include NOW(), TODAY(), and RAND(). Non-volatile functions only recalculate
when the data they depend on changes, such as SUM() and VLOOKUP().
8. How can you perform a multi-criteria lookup using INDEX and MATCH?
• Answer: A multi-criteria lookup can be performed using an array formula with INDEX and MATCH. For
example, to look up a value based on two conditions:
excel
Copy code
=INDEX(C2:C10, MATCH(1, (A2:A10="Apple")*(B2:B10="Red"), 0))
This formula returns the value from column C where both column A is "Apple" and column B is "Red". You
need to enter this as an array formula (press Ctrl + Shift + Enter).
9. How do you create a drop-down list that depends on another drop-down list (dependent
data validation)?
• Answer: You can create a dependent drop-down list using Data Validation and Named Ranges. First, create
the primary drop-down list using Data > Data Validation. Then, for the dependent list, use a formula like
=INDIRECT(A1) (assuming A1 contains the first drop-down selection). This ensures that the options in the
second drop-down change based on the selection in the first.
• Answer: The Scenario Manager is a tool that allows you to create and compare multiple sets of values
(scenarios) for specific cells. This is useful for performing "what-if" analysis. You can access it by going to
Data > What-If Analysis > Scenario Manager and define different input values to see how they affect your
results.
• Answer: Goal Seek is used to find the input value that will give a desired result in a formula. You can access it
by going to Data > What-If Analysis > Goal Seek. For example, if you have a formula that calculates profit
based on sales, you can use Goal Seek to determine the necessary sales figure to achieve a specific profit.
12. What are array formulas, and how do you use them?
• Answer: Array formulas allow you to perform complex calculations on multiple values and return a single or
array result. For example, =SUM(A1:A10 * B1:B10) returns the sum of the products of the corresponding
elements in ranges A1
and B1
13. What is Solver, and how can you use it for optimization?
• Answer: Solver is an advanced tool in Excel used for optimization, allowing you to find the optimal value of a
target cell by changing other cells according to constraints. You can access it from Data > Solver. It is
commonly used for linear programming, financial modeling, and resource allocation problems.
14. How do you use the SUMPRODUCT function for conditional summing?
• Answer: SUMPRODUCT multiplies corresponding values in arrays and returns the sum of the products. It can
also be used for conditional summing. For example, =SUMPRODUCT((A1:A10="Yes")*(B1:B10>100))
counts the cells in B1
15. How do you use OFFSET and INDIRECT for dynamic ranges?
• Answer:
o OFFSET returns a range that is a specified number of rows and columns from a starting cell. For
example, =OFFSET(A1, 2, 1, 5, 1) returns a range starting two rows below and one column to
the right of A1, with a height of 5 rows.
o INDIRECT returns a reference based on a text string. For example, =INDIRECT("A" & B1) will
dynamically reference the cell in column A according to the value in cell B1.
16. What is the purpose of the LET function in Excel, and how is it used?
• Answer: The LET function allows you to assign names to intermediate calculations within a formula,
improving performance and readability. For example:
excel
Copy code
=LET(x, A1+A2, y, A3*A4, x+y)
In this formula, x stores the sum of A1 and A2, and y stores the product of A3 and A4. The final result is the
sum of x and y.
• Answer: You can automate advanced filtering using VBA with the AdvancedFilter method. For example,
the following code filters data in range A1
vba
Copy code
Range("A1:C10").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("E1:E2"),
CopyToRange:=Range("G1:I1")
• Answer: Circular references occur when a formula refers to its own cell, either directly or indirectly, causing
an endless loop. To manage circular references, go to File > Options > Formulas and enable iterative
calculations, specifying the maximum number of iterations Excel should perform to resolve the circular
reference.
19. What is the AGGREGATE function, and how is it different from SUBTOTAL?
• Answer: The AGGREGATE function performs calculations like SUM, AVERAGE, or COUNT, while allowing you to
ignore errors, hidden rows, or other specific conditions. For example, =AGGREGATE(9, 6, A1:A10) will
sum the range A1
while ignoring errors and hidden rows. It offers more flexibility than SUBTOTAL.
• Answer: Dynamic dashboards can be created using a combination of PivotTables, PivotCharts, slicers, data
validation lists, and formulas. By connecting slicers or timelines to PivotTables, you can allow users to
interactively filter data. Conditional formatting and sparklines can be used to visually enhance the
dashboard.
These advanced questions explore sophisticated Excel functionalities that allow for complex analysis,
automation, and optimization. Let me know if you'd like even more depth in any of these topics!