0% found this document useful (0 votes)
16 views

Excel Notes

Uploaded by

namratamehta73
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Excel Notes

Uploaded by

namratamehta73
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 50

Introduction to Excel

MS Excel is a spreadsheet program that is created by Microsoft, for platforms like Windows, macOS, Android, iOS, and
iPadOS. It is used for Data Organization, Formatting, Calculation, Data Analysis, and other tasks.

•Definition: Excel is a spreadsheet program developed by Microsoft.


•Uses: Data entry, calculations, data analysis, chart creation, and data management.

• A spreadsheet is a software tool used for organizing data into rows and columns, allowing users to perform
calculations, create charts, and analyze information efficiently.

Basic Excel Interface


•Workbook: An Excel file containing multiple worksheets.
•Worksheet: A single sheet within a workbook.
•Cell: The intersection of a row and a column (e.g., A1, B2).
•Ribbon: The toolbar at the top containing tabs like Home, Insert, Page Layout, etc.
•Quick Access Toolbar: Customizable toolbar for frequently used commands.
•Formula Bar: Displays the contents of the active cell.
Row: A row is a horizontal line of cells identified by numbers (1, 2, 3, etc.) along the left side of the spreadsheet.
Each row runs horizontally across the worksheet and contains cells labeled by their column letter and row number
(e.g., A1, A2, A3...)

•Column: A column is a vertical line of cells identified by letters (A, B, C, etc.) at the top of the spreadsheet.
•Each column runs vertically down the worksheet and contains cells labeled by their column letter and row
•number (e.g., A1, B1, C1...).

Can you describe what a cell reference is in Excel?


•A cell reference is a combination of the column letter and row number that identifies a specific cell in Excel (e.g., A1, B2).
It's used in formulas and functions to perform calculations based on the values in those cells
What is the difference between a relative reference and an absolute reference in Excel?
•A relative reference changes when the formula is copied to another cell.
• An absolute reference remains fixed and does not change when copied. Absolute references are denoted by adding a
dollar sign ($) before the column letter and/or row number (e.g., $A$1).
Examples
Absolute Reference:
Relative Reference: •Original formula in B2: =$A$1
•Original formula in B2: =A1
•Copied to B3: =$A$1
•Copied to B3: =A2

What is conditional formatting in Excel?


•Conditional formatting allows you to format cells based on certain criteria. For example, you can highlight cells with
values greater than a specific number in a different color.
How do you freeze panes in Excel?
•To freeze panes, you select the row or column below or to the right of where you want the split to appear, then click on
View > Freeze Panes > Freeze Panes.

Can you explain what a pivot table is used for in Excel?


•A pivot table is used to summarize, analyze, explore, and present large amounts of data. It allows you to reorganize
and summarize selected columns and rows of data in a spreadsheet or database table to obtain a desired report.

What is Excel used for?


Excel is a spreadsheet program used for data organization, analysis, and visualization. It provides many features
such as:
•Performing Complex Calculations with the help of buil-in functions such as COUNTIF, SUM etc.
•Creating charts
•Creating Graphs for Data Visualisation and more.

Explain the difference between a workbook and a worksheet.


•A workbook is a spreadsheet program file that you create in Excel. A workbook contains one or more worksheets.
•A worksheet consists of cells in which you can enter and calculate data. The cells are organized into columns and
rows.
What is conditional formatting, and how do you apply it?
It’s formatting applied based on specified conditions. To apply conditional formatting, select a category, go to “Home” >
“Conditional Formatting.”

Explain the VLOOKUP function.


VLOOKUP is a function in Excel that searches for a value in the first column of a range and returns a value from the
second column in the same row.

What is the CONCATENATE function used for?


The CONCATENATE function combines two or more text strings into one string.
How can you remove duplicates in Excel?
Select the range, go to “Data” > “Remove Duplicates.”

What is the difference between CONCATENATE and CONCAT functions?


CONCAT is a new function that replaces CONCATENATE, providing additional features.

How do you protect a worksheet or workbook with a password?


Right-click on the sheet tab or workbook tab, choose “Protect Sheet” or “Protect Workbook,” and set a password.
Explain the PivotTable function.
Some of the functions of PivotTable are:
•Summarizes and analyzes data from a range into a concise, tabular format.
•Aggregates data based on arithmetic operations.
•Allows filtering and sorting of data.
•Enable deep data analysis.
17. What is the purpose of the INDEX-MATCH function?
It is an alternative to VLOOKUP, which is used to look up values in a table.

How do you transfer data in Excel?


Copy the data, right-click the destination cell, select “Transpose” under “Paste Special.“
Explain the HLOOKUP function.
The HLOOKUP function is used to search for a value in the first row of a range and returns a value in the
same column from another row.

What is the Paste Special feature used for?


It allows you to choose specific formatting options when you paste data.
21. How do you find and replace data in Excel?
Press Ctrl + H to open the Find and Replace dialog box.
22. What is the IF function, and how is it used?
It performs a logical test and returns one value if true and another if false.

How do you create a drop-down list in Excel?


Use the Data Validation feature under the “Data” tab.
Explain the difference between COUNT, COUNTA, COUNTIF, and COUNTIFS functions.
•COUNT counts the number of cells with numbers.
•COUNTA counts non-empty cells.
•COUNTIF counts cells based on a single criterion.
•COUNTIFS does the same with multiple criteria.
25. How can you round a number to a specified number of decimal places in Excel?
Use the ROUND function, for example, =ROUND(A1,2) rounds the values in A1 to 2 decimal places.

26. What is the purpose of the CONCAT function?


Concatenates a category or multiple ranges.

Relative ReferenceExplain the difference between a relative and an absolute reference


Absolute in a formula.
Reference

•A relative reference changes when the formula is copied. •An absolute reference remains fixed.

•It adjusts with the movement of Rows and Columns. •It does not adjust with the movement of Rows and Columns

•Useful for applying same formula across multiple cells. •Useful for referencing a specific cell that should not change.

•If the original formula in A1 is “=B1+C1" and is copied to A2, it gets adjusted to •If the original formula in A1 is “=$B$1+$C$1" and copied to A2, it remains as
“=B2+C2" “=$B$1+$C$1".
How do you use the IFERROR function?
It returns a custom result if a formula generates an error; otherwise, it returns the result of the
formula.
29. What is the difference between a line chart and a scatter plot?
•A line chart connects data points with lines
•A scatter plot displays individual data points.
30. How do you use the SUMIF and SUMIFS functions?
SUMIF adds values based on a single criterion. SUMIFS does the same with multiple criteria.
31. What is the purpose of the TRIM function?
Removes extra spaces from text, leaving only single spaces between words.

How do you password-protect a workbook?


Go to “File” > “Info” > “Protect Workbook” > “Encrypt with Password.”
What is the difference between CONCATENATE and TEXTJOIN functions?
TEXTJOIN is a more versatile function that can join text using a specified delimiter and ignore empty
cells.
36. How do you use the COUNTBLANK function?
It counts the number of blank cells in a range.
37. Explain the terms ‘workbook’
A workbook
Explain is the complete
the significance Excel
of the file containing
ROUND functionmultiple worksheets.
in Excel.
The ROUND Function rounds a number to a specified number of digits.
42. What is the purpose of the NETWORKDAYS function?
It calculates the number of whole workdays between two dates, excluding weekends and optionally specified
holidays.
43. How can you link data between different worksheets?
Use cell references or create formulas that reference cells in other worksheets.
44. Explain the difference between the terms ‘filter’ and ‘sort’ in Excel.
•Sorting arranges data in a specified order
•Filtering displays only the data that meets specific criteria.
45. How do you use the AVERAGEIF and AVERAGEIFS functions?
•AVERAGEIF calculates the average based on a single condition.
•AVERAGEIFS does the same with multiple criteria.
46. What is the purpose of the SUBTOTAL function?
It calculates a subtotal in a list or database, ignoring other subtotals.
How do you convert text to columns in Excel?
Use the “Text to Columns” feature under the “Data” tab.

Explain the importance of the MAX and MIN functions in Excel.


•MAX returns the highest value
•MIN returns the lowest value in a range.

How can you create a histogram in Excel?


Use the “Histogram” tool in the “Data Analysis” toolpack.
What is the purpose of the COUNTIF function?
The COUNTIF function counts the number of cells that meet a single condition.

What is the difference between a function and a formula in Excel?


Excel formulas function similarly to math instructions, giving it how to add or compute things (for example, =C3+C4).
Functions are shortcuts for typical calculations, with over 500 built-in options such as SUM and MULTIPLY, making difficult maths easy without typing everything out.

What Are Freeze Panes in Excel?


Freeze Panes in Excel allows users to lock specific rows or columns for visibility while scrolling through a spreadsheet.
This feature is useful for maintaining the visibility of headers or essential data labels, especially in large tables.
Data Analysis Tools
•Sorting: Data > Sort, choose the column and sort order.

•Filtering: Data > Filter, apply filters to columns.

•PivotTables: Insert > PivotTable, create summaries from large datasets.

•Charts: Insert > Chart, select chart type (Bar, Line, Pie, etc.).

•Data Validation: Data > Data Validation, set criteria for data entry.
Advanced Excel Features
•Macros: Automate repetitive tasks using Developer > Record Macro.
•Protecting Workbooks and Worksheets: Review > Protect Sheet/Workbook.
•Collaboration: Share and co-author workbooks via OneDrive or SharePoint.
•Goal Seek and Solver: Data > What-If Analysis > Goal Seek/Solver for finding optimal solutions.

Tips and Tricks


•Freezing Panes: View > Freeze Panes to keep rows/columns visible.
•Splitting Windows: View > Split to view different parts of the worksheet.

•Shortcuts:
•Ctrl+Z: Undo
•Ctrl+Y: Redo
•Ctrl+Arrow Keys: Navigate quickly
•Ctrl+Shift+L: Apply/remove filter
•Ctrl+T: Create a table
Mathematical and Trigonometric Functions
•ABS: = ABS(number) - Returns the absolute value of a number.
•ACOS: = ACOS(number) - Returns the arccosine of a number.
•ACOSH: = ACOSH(number) - Returns the inverse hyperbolic cosine of a number.
•ASIN: = ASIN(number) - Returns the arcsine of a number.
•ASINH: = ASINH(number) - Returns the inverse hyperbolic sine of a number.
•ATAN: = ATAN(number) - Returns the arctangent of a number.
•ATAN2: = ATAN2(x_num, y_num) - Returns the arctangent from x- and y-coordinates.
•ATANH: = ATANH(number) - Returns the inverse hyperbolic tangent of a number.
•CEILING: = CEILING(number, significance) - Rounds a number up to the nearest multiple of significance.
•COMBIN: = COMBIN(number, number_chosen) - Returns the number of combinations.
•COS: = COS(number) - Returns the cosine of a number.
•COSH: = COSH(number) - Returns the hyperbolic cosine of a number.
•DEGREES: = DEGREES(angle) - Converts radians to degrees.
•EVEN: = EVEN(number) - Rounds a number up to the nearest even integer.
•EXP: = EXP(number) - Returns e raised to the power of a given number.
•FACT: = FACT(number) - Returns the factorial of a number.
•FLOOR: = FLOOR(number, significance) - Rounds a number down to the nearest multiple of significance.
•GCD: = GCD(number1, number2, ...) - Returns the greatest common divisor.
•INT: = INT(number) - Rounds a number down to the nearest integer.
•LCM: = LCM(number1, number2, ...) - Returns the least common multiple.
•LN: = LN(number) - Returns the natural logarithm of a number.
•LOG: = LOG(number, [base]) - Returns the logarithm of a number to a specified base.
•LOG10: = LOG10(number) - Returns the base-10 logarithm of a number.
•MROUND: = MROUND(number, multiple) - Returns a number rounded to the desired multiple.
•ODD: = ODD(number) - Rounds a number up to the nearest odd integer.
•PI: = PI() - Returns the value of π.
•POWER: = POWER(number, power) - Returns a number raised to a power.
•PRODUCT: = PRODUCT(number1, [number2], ...) - Multiplies all the numbers given as arguments.
•QUOTIENT: = QUOTIENT(numerator, denominator) - Returns the integer portion of a division.
•RADIANS: = RADIANS(angle) - Converts degrees to radians.
•RAND: = RAND() - Returns a random number between 0 and 1.
•RANDBETWEEN: =RANDBETWEEN(bottom, top) - Returns a random number between the specified values.
•ROUND: = ROUND(number, num_digits) - Rounds a number to a specified number of digits.
•ROUNDDOWN: =ROUNDDOWN(number, num_digits) - Rounds a number down towards zero.
•ROUNDUP: = ROUNDUP(number, num_digits) - Rounds a number up, away from zero.
•SIGN: = SIGN(number) - Returns the sign of a number.
•SIN: = SIN(number) - Returns the sine of a number.
•SINH: = SINH(number) - Returns the hyperbolic sine of a number.
•SQRT: = SQRT(number) - Returns the square root of a number.
•SQRTPI: = SQRTPI(number) - Returns the square root of (number * π).
•SUM: = SUM(number1, [number2], ...) - Adds all the numbers given as arguments.
•SUMIF: = SUMIF(range, criteria, [sum_range]) - Adds the cells specified by a given condition.
•SUMPRODUCT: =SUMPRODUCT(array1, [array2], ...) - Returns the sum of the products of
• corresponding array components.
•TAN: = TAN(number) - Returns the tangent of a number.
•TANH: = TANH(number) - Returns the hyperbolic tangent of a number.
•TRUNC: = TRUNC(number, [num_digits]) - Truncates a number to an integer by
•removing the fractional part.
Statistical Functions
•AVERAGE: = AVERAGE(number1, [number2], ...) - Returns the average of its arguments.
•AVERAGEIF: = AVERAGEIF(range, criteria, [average_range]) - Returns the average of cells that
meet a specified condition.
•AVERAGEIFS: = AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...) –
Returns the average of all cells that meet multiple criteria.
•COUNT: = COUNT(value1, [value2], ...) - Counts the number of cells that contain numbers.
•COUNTA: = COUNTA(value1, [value2], ...) - Counts the number of non-empty cells.
•COUNTBLANK: = COUNTBLANK(range) - Counts the number of empty cells.
•COUNTIF: = COUNTIF(range, criteria) - Counts the number of cells that meet a condition.
•COUNTIFS: = COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...) –
Counts the number of cells that meet multiple criteria.
•LARGE: = LARGE(array, k) - Returns the k-th largest value in a data set.
•MAX: = MAX(number1, [number2], ...) - Returns the largest value in a set of values.
•MEDIAN: = MEDIAN(number1, [number2], ...) - Returns the median of the numbers.
•MIN: = MIN(number1, [number2], ...) - Returns the smallest value in a set of values.
•MODE: = MODE(number1, [number2], ...) - Returns the most frequently occurring value in a data set.
•PERCENTILE: = PERCENTILE(array, k) - Returns the k-th percentile of values in a range.
•PERMUT: = PERMUT(number, number_chosen) - Returns the number of permutations.
•QUARTILE: = QUARTILE(array, quart) - Returns the quartile of a data set.
•RANK: = RANK(number, ref, [order]) - Returns the rank of a number in a list of numbers.
•SMALL: = SMALL(array, k) - Returns the k-th smallest value in a data set.
•STDEV: = STDEV(number1, [number2], ...) - Estimates standard deviation based on a sample.
•VAR: = VAR(number1, [number2], ...) - Estimates variance based on a sample.
3. Text Functions
•CHAR: = CHAR(number) - Returns the character specified by a number.
•CLEAN: = CLEAN(text) - Removes all non-printable characters from text.
•CODE: = CODE(text) - Returns a numeric code for the first character in a text string.
•CONCATENATE: =CONCATENATE(text1, [text2], ...) - Joins several text strings into one text string.
•EXACT: = EXACT(text1, text2) - Checks if two text strings are exactly the same.
•FIND: = FIND(find_text, within_text, [start_num]) - Finds one text value within another.
•LEFT: = LEFT(text, [num_chars]) - Returns the left part of a text string.
•LEN: = LEN(text) - Returns the number of characters in a text string.
•LOWER: = LOWER(text) - Converts text to lowercase.
•MID: = MID(text, start_num, num_chars) - Returns a specific number of characters from a
text string starting at
the position you specify.
•PROPER: = PROPER(text) - Capitalizes the first letter in each word of a text value.
•REPLACE: = REPLACE(old_text, start_num, num_chars, new_text) - Replaces part of a text string with
Date and Time Functions
•DATE: = DATE(year, month, day)
•DATEDIF: = DATEDIF(start_date, end_date, unit)
•DATEVALUE: = DATEVALUE(date_text)
•DAY: = DAY(serial_number)
•DAYS: = DAYS(end_date, start_date)
•DAYS360: = DAYS360(start_date, end_date, [method])
•EDATE: = EDATE(start_date, months)
•EOMONTH: = EOMONTH(start_date, months)
•HOUR: = HOUR(serial_number)
•ISOWEEKNUM: = ISOWEEKNUM(date)
•MINUTE: = MINUTE(serial_number)
•MONTH: = MONTH(serial_number)
•NETWORKDAYS: = NETWORKDAYS(start_date, end_date, [holidays])
•NOW: = NOW()
•SECOND: = SECOND(serial_number)
•TIME: = TIME(hour, minute, second)
•TIMEVALUE: = TIMEVALUE(time_text)
•TODAY: = TODAY()
•WEEKDAY: = WEEKDAY(serial_number, [return_type])
•WEEKNUM: = WEEKNUM(serial_number, [return_type])
•WORKDAY: = WORKDAY(start_date, days, [holidays])
•YEAR: = YEAR(serial_number)
•YEARFRAC: = YEARFRAC(start_date, end_date, [basis])
Financial Functions
•ACCRINT: = ACCRINT(issue, first_interest, settlement, rate, par, frequency, [basis])
•ACCRINTM: = ACCRINTM(issue, settlement, rate, par, [basis])
•AMORDEGRC: = AMORDEGRC(cost, date_purchased, first_period, salvage, period, rate, [basis])
•AMORLINC: = AMORLINC(cost, date_purchased, first_period, salvage, period, rate, [basis])
•COUPDAYBS: = COUPDAYBS(settlement, maturity, frequency, [basis])
•COUPDAYS: = COUPDAYS(settlement, maturity, frequency, [basis])
•COUPDAYSNC: =COUPDAYSNC(settlement, maturity, frequency, [basis])
•COUPNCD: = COUPNCD(settlement, maturity, frequency, [basis])
•COUPNUM: = COUPNUM(settlement, maturity, frequency, [basis])
•COUPPCD: = COUPPCD(settlement, maturity, frequency, [basis])
•CUMIPMT: = CUMIPMT(rate, nper, pv, start_period, end_period, type)
Basic Excel Interview Questions
1.What is Excel and how is it used?
1. Answer: Excel is a spreadsheet application developed by Microsoft. It is used for storing, organizing, and analyzing
data. It provides tools for calculations, graphing tools, pivot tables, and a macro programming language called VBA
(Visual Basic for Applications).
2.How do you start Excel?
1. Answer: You can start Excel by searching for "Excel" in the Start menu or applications list on your computer, or by
double-clicking an Excel file (.xlsx or .xls).
3.What is a cell in Excel?
1. Answer: A cell is the basic unit of a spreadsheet where you can enter data. Each cell is identified by a unique address,
determined by the column letter and row number (e.g., A1, B2).
4.What are rows and columns in Excel?
1. Answer: Rows run horizontally in an Excel worksheet and are identified by numbers (1, 2, 3, ...). Columns run vertically
and are identified by letters (A, B, C, ...).
5.How do you add a new worksheet to a workbook?
1. Answer: Click on the "+" icon at the bottom of the Excel window next to the existing sheet tabs or right-click on an
existing sheet tab and select "Insert."
6.What is a range in Excel?
1. Answer: A range is a group of two or more cells. It can be a single row, column, or a rectangular block of cells.
•How do you copy and paste data in Excel?
•Answer: Select the cell or range of cells you want to copy, press Ctrl+C to copy, select the destination cell,
• and press Ctrl+V to paste.

•What is the difference between Save and Save As in Excel?


•Answer: Save updates the current file with any changes made. Save As allows you to save the file with a new
• name or in a different location.

•How do you create a simple formula in Excel?


•Answer: Start by typing an equals sign (=) in a cell, followed by the formula. For example, =A1+B1
• adds the values in cells A1 and B1.

•What are some common data types you can enter in Excel?
•Answer: Common data types include numbers, text, dates, and times.

. What is a cell address in Excel?


A cell address is used to identify a particular cell on a worksheet. It is denoted by a combination of the
respective column letter and a row number.
•What is the SUM function and how is it used?
•Answer: The SUM function adds all the numbers in a range of cells. For example, =SUM(A1:A10) adds the values from A1 to A10.

•How do you apply basic formatting to cells in Excel?


•Answer: You can format cells by selecting them and using options on the Home tab such as Bold, Italic, Underline, Font Color,
•Fill Color, Number Format, etc.

•How do you insert a chart in Excel?


•Answer: Select the data you want to include in the chart, go to the Insert tab, choose the type of chart you want to create
• (e.g., bar, line, pie), and Excel will insert the chart into your worksheet.

•What is a pivot table and when would you use it?


•Answer: A pivot table is a powerful tool for summarizing and analyzing data in a spreadsheet. It allows you to organize
• and rearrange data dynamically to draw insights and trends.

•How do you sort data in Excel?


•Answer: Select the range of data you want to sort, go to the Data tab, and choose either Sort A to Z for ascending
•order or Sort Z to A for descending order.

•What is conditional formatting and how do you apply it?


•Answer: Conditional formatting changes the appearance of cells based on specific conditions. You can apply
•it by selecting the range, going to the Home tab, clicking on Conditional Formatting, and setting the rules.

•How do you filter data in Excel?


•Answer: Select the range of data, go to the Data tab, and click on Filter. This adds drop-down arrows to each column header,
•allowing you to filter the data based on specific criteria.
11.What is the IF function and how is it used?
•Answer: The IF function performs a logical test and returns one value if the test is true and another value if it is false.
•Example: =IF(A1 > 10, "Greater", "Lesser").
12.How do you freeze panes in Excel?
•Answer: To freeze panes, select the cell below the row and to the right of the column you want to freeze,
•go to the View tab, and click on Freeze Panes.
13.How do you use Excel’s Find and Replace feature?
•Answer: Press Ctrl+F to open the Find dialog box or Ctrl+H for Replace. Enter the text you want
• to find (and replace if needed), and click Find All or Replace All.
These basic questions and answers cover the foundational aspects of using Excel, which ca

How do you freeze panes in Excel?


Freeze panes keep the rows and columns visible while scrolling through a worksheet. To freeze panes, select
the View tab and go to Freeze Panes.
Basic Excel Questions
1.What are the most commonly used functions in Excel?
•Answer: Common functions include SUM, AVERAGE, COUNT, IF, VLOOKUP, HLOOKUP, INDEX, MATCH,
• MIN, MAX, ROUND, and SUMIF.
2.How do you create a pivot table in Excel?
•Answer: To create a pivot table, select your data range, go to the Insert tab, click on PivotTable, choose
•the data range and location for the pivot table, and then configure the fields in the PivotTable Field List.
3.What is the difference between a relative, absolute, and mixed cell reference in Excel?
•Answer:
•Relative Reference: Changes when a formula is copied to another cell (e.g., A1).
•Absolute Reference: Remains constant regardless of where it is copied (e.g., $A$1).
•Mixed Reference: Combines both relative and absolute references (e.g., $A1 or A$1).
4.Explain the use of VLOOKUP and provide a basic example.
•Answer: VLOOKUP is used to search for a value in the first column of a table and return a value in the same
• row from a specified column.
•Example: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]).
How is a Formula different from a Function in Excel?

Formula Function

Whereas, a function in Excel is


a predefined calculation which
The formula is like an equation in Excel, the is in-built in Excel.
user types in that. It can be any type of
calculation depending on the user’s choice.

However, performing
Manually typing out a formula every time you calculations becomes more
need to perform a calculation, consumes comfortable and faster while
more time. working with functions.
Ex: = A1+A2+A3 Ex: = SUM(A1:A3)
What is the difference between count, counta, and
countblank?

1. COUNT
It counts the number of cells that contain numeric values only. Cells that have string values, special
characters, and blank cells will not be counted. Shown below is an example of the count function.

2. COUNTA
It counts the number of cells that contain any form of content. Cells that have string values, special
characters, and numeric values will be counted. However, a blank cell will not be counted. Shown below is
an example of the counta function.

3. COUNTBLANK
As the name suggests, it counts the number of blank cells only. Cells that have content will not be
taken into consideration. Shown below is an example of the countblank function.
1.How would you remove duplicates from a dataset in Excel?
•Answer: Select the data range, go to the Data tab, click on Remove Duplicates, and choose the columns you want to check for
• duplicates.
Intermediate Excel Questions
6.What is the difference between VLOOKUP and HLOOKUP?
•Answer: VLOOKUP searches for a value in the first column of a table and returns a value from a specified column, while HLOOKUP
• searches for a value in the first row and returns a value from a specified row.
7.How do you use the IF function in Excel?
•Answer: The IF function performs a logical test and returns one value if the test is true and another value if it is false.
•Example: =IF(A1 > 10, "Greater", "Lesser").
8.What is conditional formatting and how is it used?
•Answer: Conditional formatting changes the appearance of cells based on certain conditions. It is used to highlight
• important information, such as values above a threshold or duplicate values.
9.Explain the purpose and use of the INDEX and MATCH functions together.
•Answer: INDEX returns the value of a cell in a specified row and column within a range. MATCH returns the relative

• position of an item in a range. Together, they can be used to perform more flexible lookups than VLOOKUP or HLOOKUP.
•Example: =INDEX(array, MATCH(lookup_value, lookup_array, match_type)).
10.How do you use Excel’s data validation feature?
•Answer: Data validation is used to control the type of data or the values that users enter into a cell. It can be set up
• through the Data tab by selecting Data Validation and specifying the criteria for allowed data.
Advanced Excel Questions
11.What are array formulas in Excel?
•Answer: Array formulas perform multiple calculations on one or more sets of values and can return single
•or multiple results. They are entered by pressing Ctrl+Shift+Enter.
12.Explain the use of the OFFSET function.
•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(reference, rows, cols, [height], [width]).
13.How do you use the INDIRECT function and what are its benefits?
•Answer: INDIRECT returns the reference specified by a text string. It is useful for creating dynamic ranges.
•Example: =INDIRECT("A" & B1) returns the reference in column A at the row number specified in B1.
14.What is Power Query and how is it used in Excel?
•Answer: Power Query is a data connection technology that enables users to discover, connect, combine,
• and refine data across a wide variety of sources. It is accessed through the Data tab under Get &
•Transform Data.
15.How can you use Excel to create a dynamic chart that updates automatically?
•Answer: Create a dynamic named range using formulas like OFFSET or INDEX with COUNT or
•COUNTA, and then use this named range as the data source for your chart.
Practical Excel Questions
16.Describe a situation where you used Excel to solve a complex problem.
•Answer: Provide a detailed example from your experience, explaining the problem, the Excel tools
•and functions you used, and the outcome.
17.How do you handle large datasets in Excel efficiently?
•Answer: Use filters, pivot tables, data validation, and Excel’s advanced features like Power Query and Power Pivot
•to manage and analyze large datasets.
18.Can you explain the process of linking data between multiple Excel workbooks?
•Answer: Data can be linked between workbooks by using external references. Type = in a cell, navigate to the other workbook,
• select the cell you want to link to, and press Enter.
19.How would you automate a repetitive task in Excel?
•Answer: Automate tasks using macros by recording a macro or writing VBA (Visual Basic for Applications) code.
•Access the Developer tab and use the Record Macro feature or the VBA editor.
advanced Excel
1. Advanced Formulas and Functions
Array Formulas
Array formulas allow you to perform multiple calculations on one or more items in an array.
They can return either a single result or multiple results.
Example:
•{=SUM(A1:A10*B1:B10)} calculates the sum of the product of corresponding elements in two arrays (A1
and B1).

Lookup and Reference Functions


VLOOKUP and HLOOKUP are used to search for a value in the first column or row of a
table and return a value in the same row or column from a specified column or row.
Example:
•=VLOOKUP("Apple", A1:B10, 2, FALSE) searches for "Apple" in the first column of the range A1
and returns the value in the second column of the found row.

INDEX and MATCH provide more flexibility than VLOOKUP and HLOOKUP.
•=INDEX(B1:B10, MATCH("Apple", A1:A10, 0)) returns the value from the range B1
that corresponds to the position of "Apple" in A1
.
XLOOKUP (available in newer Excel versions) combines the capabilities of both VLOOKUP and HLOOKUP.
•=XLOOKUP("Apple", A1:A10, B1:B10) searches for "Apple" in A1
and returns the corresponding value from B1
.

Logical Functions
IF statements allow you to make logical comparisons between a value and what you expect.
Example:
•=IF(A1>10, "Yes", "No") returns "Yes" if A1 is greater than 10, otherwise "No".
AND and OR can be combined with IF for more complex conditions.
•=IF(AND(A1>10, B1<5), "Yes", "No") returns "Yes" if both conditions are true.

Text Functions
TEXT functions manipulate text strings.
Example:
•=TEXT(TODAY(), "dd-mmm-yyyy") converts the current date to a string in the format "dd-mmm-yyyy".

LEFT, RIGHT, MID extract specific parts of a text string.


•=LEFT(A1, 3) returns the first three characters of the text in A1.
•=MID(A1, 2, 3) returns three characters from the middle of the text in A1, starting from the second character.
Date and Time Functions

DATEDIF calculates the difference between two dates.


•=DATEDIF(A1, B1, "d") returns the number of days between the dates in A1 and B1.

EOMONTH returns the last day of the month.


•=EOMONTH(TODAY(), 1) returns the last day of the next month.

Statistical Functions
SUMIFS, COUNTIFS, and AVERAGEIFS perform calculations based on multiple criteria.
Example:

•=SUMIFS(B1:B10, A1:A10, ">10") sums the values in B1


where the corresponding value in A1
is greater than 10.
2. Data Analysis
PivotTables and PivotCharts
PivotTables allow you to summarize, analyze, explore, and present summary data.
Example:
1.Select the data range.
2.Insert a PivotTable from the Insert menu.
3.Drag and drop fields into the Rows, Columns, Values, and Filters areas to summarize your data.

PivotCharts provide graphical representation of PivotTable data.


Data Analysis Toolpak
The Data Analysis Toolpak offers statistical analysis tools.

Example:
4.Load the Data Analysis Toolpak (File > Options > Add-ins).
5.Use tools like Descriptive Statistics, Regression, Histogram.
What-If Analysis
Goal Seek finds the input needed to achieve a specific goal.
Example:
6.Set a formula in a cell.
7.Use Goal Seek (Data > What-If Analysis > Goal Seek) to find the input value that achieves the desired
result.
3. Data Visualization
Charts
Create and customize charts to visualize data.
Example:
1.Select your data range.
2.Insert a chart type from the Insert menu.
3.Customize the chart elements (titles, labels, colors).
Conditional Formatting
Highlight data based on conditions.
Example:
4.Select the data range.
5.Use Conditional Formatting from the Home menu to apply rules (greater than, less than, etc.).
Sparklines
Sparklines are small charts within a single cell to show trends.
Example:
6.Select a cell.
7.Insert Sparklines from the Insert menu and choose the data range.
4. Data Management
Data Validation
Set up rules for data entry.
Example:
1.Select the cells.
2.Use Data Validation from the Data menu to set criteria (e.g., whole number between 1 and 100).
Sorting and Filtering
Organize and find data easily.
Example:
3.Select the data range.
4.Use Sort & Filter from the Data menu to sort by columns or filter specific values.
6. Collaboration and Protection
Sharing Workbooks
Collaborate in real-time.
Example:
1.Save the workbook to OneDrive.
2.Use the Share option to invite collaborators.

Protecting Workbooks and Sheets


Set permissions and protect data.
Example:
3.Use Protect Sheet from the Review menu to restrict editing.
4.Set passwords for opening or modifying the workbook.
7. Advanced Tools
Solver
Optimize problems with multiple constraints.
Example:
1.Load Solver add-in (File > Options > Add-ins).
2.Define the objective cell, variables, and constraints.
3.Run Solver to find the optimal solution.
Power Pivot
Handle large datasets and perform complex calculations.
Example:
4.Load Power Pivot add-in.
5.Import large datasets and create data models.
6.Use DAX functions for complex calculations.
Outliers
Outliers in Excel are data points that are significantly different from the rest of the data. Detecting outliers is important
because they can affect your analysis and conclusions.

Example: Detecting Outliers in Excel


Imagine you have a list of test scores for a class of students:

Scores
55 Steps to Detect Outliers
56
57 1.Visual Inspection with a Box Plot:
58 1. Step 1: Select the data range (A1).
59 2. Step 2: Go to the Insert tab.
60 3. Step 3: Choose Insert Statistic Chart and then select
90 Box and Whisker.
61 The box plot will show the distribution of the scores and
62 highlight any outliers as points outside the "whiskers".
63
64
2.Using Formulas:

•Step 1: Calculate the Interquartile Range (IQR).


•Quartile 1 (Q1)(25%): Use the formula =QUARTILE(A1:A11, 1)
•Quartile 2 (Q2)(50%): Use the formula =QUARTILE(A1:A11, 2)
•Quartile 3 (Q3)(75%): Use the formula =QUARTILE(A1:A11, 3)
•IQR: Use the formula =Q3 - Q1
For the given data:
•Q1 = 57.5
•Q3 = 62.5
•IQR = 62.5 - 57.5 = 5

•Step 2: Determine the lower and upper bounds for outliers.


•Lower Bound: =Q1 - 1.5 * IQR
•Upper Bound: =Q3 + 1.5 * IQR
For the given data:
•Lower Bound = 57.5 - 1.5 * 5 = 50
•Upper Bound = 62.5 + 1.5 * 5 = 70

•Step 3: Identify outliers.


•Any score less than 50 or greater than 70 is considered an outlier.
In our example, the score 90 is greater than the upper bound (70), so it is an outlier.
Summary
•Outliers are data points that are significantly different from
the rest of the data.
•Box Plots in Excel can visually show outliers.
•Formulas like QUARTILE and IQR can help identify outliers
mathematically.
important Excel Shortcuts
General Shortcuts
Navigation Shortcuts
•Ctrl + N: Create a new workbook
•Arrow Keys: Move one cell up, down, left, or right
•Ctrl + O: Open an existing workbook
•Ctrl + Arrow Key: Move to the edge of the data region
•Ctrl + S: Save the current workbook
•Home: Move to the beginning of the row
•F12: Save As
•Ctrl + Home: Move to the beginning of the worksheet
•Ctrl + P: Print the current workbook
•Ctrl + End: Move to the last cell with data
•Ctrl + W: Close the current workbook
•Page Up/Page Down: Move up/down one screen
•Ctrl + Z: Undo the last action
•Alt + Page Up/Page Down: Move one screen to the left/right
•Ctrl + Y: Redo the last undone action
•Ctrl + F: Find
•Ctrl + H: Replace
•Alt + F4: Close Excel Selection Shortcuts
•Shift + Arrow Key: Extend selection by one cell
•Ctrl + Shift + Arrow Key: Extend selection to the edge of the
data region
•Ctrl + Space: Select the entire column
•Shift + Space: Select the entire row
•Ctrl + A: Select the entire worksheet or the data region
•Ctrl + Shift + Space: Select the entire worksheet
Editing Shortcuts Formatting Shortcuts
•F2: Edit the active cell •Ctrl + 1: Open the Format Cells dialog box
•Ctrl + X: Cut •Ctrl + B: Apply or remove bold formatting
•Ctrl + C: Copy •Ctrl + I: Apply or remove italic formatting
•Ctrl + V: Paste •Ctrl + U: Apply or remove underline
•Ctrl + Alt + V: Paste Special •Ctrl + Shift + $: Apply currency format
•Delete: Clear the contents of the selected cell(s) •Ctrl + Shift + %: Apply percentage format
•Ctrl + D: Fill down •Ctrl + Shift + #: Apply date format
•Ctrl + R: Fill right •Ctrl + Shift + @: Apply time format
•Ctrl + "-": Delete the selected cells •Ctrl + Shift + ^: Apply exponential number format
•Ctrl + "+": Insert new cells •Alt + Enter: Start a new line in the same cell

Formula Shortcuts
•Alt + =: Insert the SUM function Miscellaneous Shortcuts
•Ctrl + ` (grave accent): Show or hide formulas •F9: Calculate all worksheets
•F4: Repeat the last action or toggle absolute/relative •Shift + F9: Calculate the active worksheet
references in a formula •Ctrl + F9: Minimize the workbook window
•Ctrl + Shift + Enter: Enter an array formula •Ctrl + F10: Maximize or restore the workbook window
•Ctrl + Shift + L: Apply or remove filter •Alt + F8: Open the Macro dialog box
•Ctrl + Shift + U: Expand or collapse the formula bar
Why Outliers are Important
1.Spotting Unusual Data:
1. Outliers are data points that are significantly different from the majority. They can indicate errors,
unexpected events, or unique circumstances within the data.
2.Understanding Variability:
1. By identifying outliers, we can better understand the range and variability of the data. This helps in making
informed decisions and drawing accurate conclusions.
3.Quality Assurance:
1. Outliers highlight potential issues with data quality or measurement errors. Finding and addressing outliers
improves the overall reliability of the data.
4.Enhancing Insights:
1. Outliers sometimes reveal insights that are not apparent from the main dataset. They can lead to new
discoveries, trends, or patterns that may impact business strategies or scientific research.
5.Improving Models:
1. In statistical analysis and machine learning, handling outliers properly ensures that models are more
accurate and reliable. Models trained on clean data without outliers perform better in predicting future
outcomes.
Data cleaning
Data cleaning in Excel involves preparing and transforming data to make it suitable for analysis or presentation.
Here’s a step-by-step guide on how to perform basic data cleaning tasks in Excel:

1. Removing Duplicates:
Select Data: Click on a cell within your dataset.
Remove Duplicates: Go to Data tab > Remove Duplicates.
Choose Columns: Select columns where you want to remove duplicates and click OK.

2. Trimming Whitespace:
Using TRIM function: If your data has leading, trailing, or excess spaces, use TRIM function: =TRIM(A1) to remove
them.

3. Handling Errors:
Identifying Errors: Use IFERROR function to replace errors with a specific value: =IFERROR(formula, "Error
Message").
Finding Errors: Use ISERROR or ISERR functions to identify cells with errors.
5. Splitting Data into Columns:
Text to Columns: Use Data tab > Text to Columns to split data based on delimiters (comma, space, etc.).

6. Changing Text Case:


UPPER, LOWER, PROPER

7. Handling Dates:
Formatting Dates: Use Format Cells (Ctrl + 1) to change date formats.
Extracting Components: Use YEAR, MONTH, DAY functions to extract year, month, or day from a date.

8. Removing Blank Rows:


Filtering and Deleting: Use filter to identify blank rows and delete them manually.

9. Handling Non-printable Characters:


CLEAN Function: Use CLEAN function to remove non-printable characters.
10. Checking for Inconsistent Data:
Conditional Formatting: Use conditional formatting rules to highlight inconsistent data.

11. Handling Text and Numbers:


Converting Text to Numbers: Use VALUE function or Text to Columns feature.

12. Handling Blank or Null Values:


Replacing Blanks: Use IF, IFERROR, or ISBLANK functions to replace or handle blank cells.

13. Advanced Filtering:


Using Filter Criteria: Use AutoFilter or Advanced Filter to filter data based on specific criteria.

14. Data Validation:


Setting Rules: Use Data Validation feature to restrict data input based on specified criteria.

15. PivotTables and Charts:


Aggregating Data: Use PivotTables to summarize and analyze cleaned data.
Visualizing Data: Create Charts to present cleaned data visually.
Excel offers a variety of tools and functions to clean and prepare data efficiently. Depending on your specific needs, you may need to
combine these techniques to effectively clean your dataset.
uses of pivot table
1. Summarizing Data
Pivot tables allow you to quickly aggregate large amounts of data. For example:
•Total Sales: Sum up sales figures by region, product, or salesperson.
•Total Expenses: Calculate total expenses by category or department.
2. Analyzing Trends
Track and analyze trends over time. For instance:
•Monthly Sales Trends: Summarize sales data by month to identify seasonal patterns.
•Year-over-Year Comparisons: Compare data from different years to see growth or decline.
3. Comparing Data
Make comparisons between different categories or groups. For example:
•Sales Performance: Compare total sales performance between different regions or sales representatives.
•Expense Analysis: Compare spending across different departments or cost centers.
4. Breaking Down Data
Drill down into specific segments of your data for detailed analysis. For example:
•Sales by Product: Break down total sales to see performance for individual products or product categories.
•Customer Demographics: Analyze sales by customer demographics such as age, location, or buying behavior.
5. Filtering Data
Apply filters to focus on specific subsets of your data. For example:
•Regional Sales: Filter sales data to view only specific regions or territories.
•Product Categories: Analyze data for particular product categories.
6. Creating Reports
Generate dynamic and interactive reports that can be easily updated. For instance:
•Executive Dashboards: Create summaries that highlight key metrics for executive decision-making.
•Departmental Reports: Generate reports for different departments to review their performance.
7. Grouping Data
Group data into meaningful categories to make analysis easier. For example:
•Date Grouping: Group sales data by year, quarter, or month to analyze time-based trends.
•Age Grouping: Group customer ages into ranges to understand age-based buying patterns.
8. Calculating Metrics
Perform calculations on your data to derive useful metrics. For example:
•Average Sales: Calculate the average sales per region or salesperson.
•Percentage of Total: Determine the percentage contribution of each item to the total sales or expenses.
9. Data Exploration
Explore data interactively by rearranging fields and applying different aggregations. For example:
•Dynamic View: Change rows and columns to view data from different perspectives.
•What-If Analysis: Test different scenarios by changing pivot table settings and calculations.
10. Visualizing Data
Pivot tables can be used to create charts and graphs for better visualization. For example:
•Pivot Charts: Create charts that automatically update with changes in your pivot table.
•Trend Lines: Add trend lines to visualize data trends over time.
11. Identifying Outliers
Spot anomalies or outliers in your data. For example:
•High Sales Performers: Identify products or regions with exceptionally high sales.
•Expense Anomalies: Detect unusual spending patterns or budget overruns.
12. Consolidating Data
Combine data from multiple sources or datasets into a single summary. For example:
•Monthly Reports: Consolidate monthly data from various departments into a single report.
•Sales Summary: Aggregate sales data from multiple stores or branches.

You might also like