Excel
Excel
Introduction
Microsoft Excel is a spreadsheet program that allows users to organize,
analyze, and manipulate data. It is part of the Microsoft Office suite of
applications. Excel is a grid of cells organized by lettered columns and numbered
rows. This grid pattern allows for easy data manipulation and conversion of data
into mathematical formulas.
Cell addresses:
Each cell has a name, or a cell address, based on
the column and row where it is located. For example, this cell is C3 because it is
where column C and row 3 intersect.
Cell Range:
A range in Excel is a collection of cells. A range can be two or more cells,
and the cells don't have to be adjacent to each other. A range is usually
symmetrical (square), but can exist of separate cells.
To set a range, you enter the cell reference for the top left corner, then
the bottom right corner. The range is made using those two as coordinates. For
example, the range A1:E10 has the value of A1:E10.
By default, any new workbook you create in Excel will contain three
worksheets.
To delete a worksheet:
• Right-click the worksheet you want to delete, then select Delete from
the worksheet menu.
• The worksheet will be deleted from your workbook.
To rename a worksheet:
• Right-click the worksheet you want to rename, then select Rename from
the worksheet menu.
• Type the desired name for the worksheet.
• Click anywhere outside the worksheet tab, or press Enter on your
keyboard. The worksheet will be renamed.
To move a worksheet:
• Click and drag the worksheet you want to move until a small black
arrow appears above the desired location.
• Release the mouse. The worksheet will be moved.
Home Tab:
Clipboard Group:
The Clipboard is a holding place on your computer where you can
temporarily store data (text, pictures, and so on). When you copy something,
your selection is held on the Clipboard, where it remains until you copy
something else or shut down your computer.
It has four options- Paste, Cut, Copy and Format Painter.
Copy:
Select the text you want to copy and press Ctrl+C.
Cut:
The Cut feature allows you to remove selected text from the document and
temporarily place it on the Office Clipboard.
Paste:
Place your cursor where you want to paste the copied text and press
Ctrl+V.
Format Painter:
You can use the Format Painter on the Write tab to apply text formatting
and some basic graphics formatting, such as borders and fills.
• On the Home tab, in the Clipboard group, click Format Painter. The
pointer changes to a paint brush icon.
• To stop formatting, press ESC.
Note: Double-click the Format Painter button if you want to change the
format of multiple selections in your document.
Font:
It has the following options – Font Face, Font Size, Grow Font, Shrink
Font, Bold, Italic, Underline, Strikethrough, Sub Script, Super Script, Change
Case, Border option, Fill color and Font Color.
To add a border:
• Select the cell or cells you want to format.
• Click the drop-down arrow next to the Borders command on the Home tab.
A menu will appear with border options.
• Left-click an option from the list to select it.
Alignment Group:
1. Horizontal Alignment:
- Left Align: Aligns the content to the left within the cell.
- Center Align: Aligns the content to the center within the cell.
- Right Align: Aligns the content to the right within the cell.
2. Vertical Alignment:
- Top Align: Aligns the content to the top of the cell.
3. Text Orientation:
- Rotate Text Up: Rotates the text in the cell up.
4. Wrap Text:
- Wrap Text: Wraps the text within the cell, displaying it on multiple
lines if needed to fit the column width.
5. Shrink to Fit:
- Shrink to Fit: Shrinks the text to fit within the cell width while
maintaining the font size.
Number Group:
Number Format:
The "Number Format" dropdown allows you to select various pre-defined
number formats such as General, Number, Currency, Accounting, Date, Time,
Percentage, Fraction, Scientific, and more.
Number Styles:
Comma Style: Adds a comma as a thousand separator and displays two
decimal places.
Long Date: Formats the selected cell(s) with a long date format.
Styles Group:
1. Cell Styles:
• Cell Styles: This button opens a dropdown menu with a wide range
of predefined cell styles, each with a combination of formatting
options including font color, fill color, borders, and more.
3. Conditional Formatting:
4. Format as Table:
• Format as Table: This option converts the selected range of cells into
a table with a pre-defined format. Tables make it easier to sort, filter,
and analyse data.
• Below the "Cell Styles" button, you'll see a set of individual style
thumbnails that represent specific pre-defined styles. Examples
include "Normal," "Bad," "Good," "Currency," etc. These styles
provide a quick way to format cells with common formats.
Cells Group:
1. Insert:
2. Delete:
• Row height
• Column width
• Organize sheet
1. Rename Sheet
3. Tab color
• Protect sheet
Editing Group:
1. AutoSum:
2. Fill:
• Fill Down: Copies the content from the cell above into the selected
cell(s).
• Fill Right: Copies the content from the cell to the left into the
selected cell(s).
• Fill Up: Copies the content from the cell below into the selected
cell(s).
• Fill Left: Copies the content from the cell to the right into the
selected cell(s).
• Clear Contents: Removes the contents (data) from the selected cells
while keeping the formatting intact.
4. Editing Tools:
• Find & Select: Allows you to find specific content within the
worksheet and provides options to replace or go to cells.
• Replace: Opens the "Find and Replace" dialog box, enabling you to
replace specific content with other content.
Insert Tab
The "Insert" tab in Microsoft Excel 2007 offers an array of powerful tools
to enrich your worksheets by allowing the insertion of various elements. Each
option serves a unique purpose, enabling efficient data visualization, analysis,
and organization.
1. Table (Ctrl+T):
Description:
The "Table" option helps convert a selected range of data into a
formatted table. This feature provides dynamic ranges, automatic formatting,
and enhanced data management capabilities.
Process:
1. Select Data: Highlight the data range you wish to convert into a table.
2. Insert Table: Navigate to the "Insert" tab and click on the "Table" button.
3. Verify Data Range: Ensure the selected range is correct in the "Create
Table" dialog box.
4. Include Headers: Check the box if your data range includes headers.
Description:
The "PivotTable" option allows for the analysis and summarization of
large amounts of data in a cross-tabular format. It provides a dynamic way to
view and explore complex data sets.
Process:
1. Select Data: Choose the data range you want to analyze.
2. Insert PivotTable: Access the "Insert" tab and click on the "PivotTable"
button.
4. Drag and Drop Fields: Drag and drop fields into appropriate areas (Rows,
Columns, Values) to analyze data effectively.
Description:
"Chart" enables the creation of visual representations of data using
various chart types like bar charts, pie charts, line charts, etc. It helps in
presenting data in an easily understandable format.
Process:
1. Select Data: Highlight the data you want to visualize.
2. Insert Chart: Access the "Insert" tab and click on the "Chart" button.
4. Customize Chart: Customize the chart as per your data and preferences.
4. Sparklines:
Description:
"Sparklines" are miniaturized charts that provide a visual representation
of data trends within individual cells. They help in quickly analyzing data
patterns.
Process:
1. Select Cells: Highlight the cells where you want to insert sparklines.
4. Select Data Range: Specify the data range for the sparklines.
5. Hyperlink (Ctrl+K):
Description:
The "Hyperlink" option allows for the insertion of links to web pages,
email addresses, files, or other locations within the workbook. This enhances
navigation and interactivity within the spreadsheet.
Process:
1. Select Cell: Choose the cell where you want to insert the hyperlink.
3. Enter Link Details: Enter the link address and optional display text.
6. Text (Alt, N, T):
Description:
The "Text" option enables the insertion of a text box where you can enter
and format text. It's useful for adding explanatory text, comments, or labels to
your worksheet.
Process:
1. Insert Text Box: Click on the "Text Box" option in the "Insert" tab.
2. Draw Text Box: Click and drag to draw the text box on the worksheet.
3. Enter Text: Type the desired text into the text box.
Description:
The "Header & Footer" option allows you to insert headers and footers
into the worksheet, which are useful for page layout and printing purposes.
Process:
1. Access Header & Footer: Click on "Header & Footer" in the "Insert" tab.
2. Design Header & Footer: Enter desired text and formatting in the header
and footer areas.
3. Close Header & Footer: Click "Close Header and Footer" when you've
completed the design.
8. Symbols:
Description:
The "Symbols" option provides access to a variety of symbols and special
characters that can be inserted into cells, enhancing the presentation of data.
Process:
1. Insert Symbol: Click on the "Symbols" button in the "Insert" tab.
2. Choose a Symbol: Select the symbol you want to insert and click "Insert".
Page Setup:
Margins: Allows you to adjust the margins of the page (how much space
is left blank around the edges of the printed area).
Size: Set the paper size for printing, such as letter, legal, A4, etc.
Scale to Fit:
Width and Height: Adjust the width and height of the printed output by
specifying a percentage.
Sheet Options:
Gridlines: Toggle the display of gridlines on the printed page.
Headings: Toggle the display of row and column headings on the printed
page.
Arrange:
Align: Align selected objects (shapes, pictures) relative to each other.
Themes Gallery:
A visual gallery displaying various predefined themes you can choose
from to apply to your worksheet.
Background:
Printed Watermark: Set a background image or color to be displayed
when the worksheet is printed. However, this won't actually print as part of the
worksheet.
Print Titles:
Rows to Repeat at Top: Specify rows to be repeated at the top of each
printed page.
Breaks:
Insert Page Breaks: Choose to insert a page break before, after, or both
before and after a selected cell or range.
Scale:
Adjust the scaling of the worksheet for printing by specifying a custom
percentage to fit the worksheet within a certain number of pages.
Excel Formulas:
1. AND: Checks if all arguments are true.
=AND(A1>10, B1<20)
=AVERAGE(A1:A10)
=AVERAGEIF(B1:B10, ">50")
=COUNT(A1:A10)
=COUNTA(A1:A10)
=COUNTIF(A1:A10, ">50")
10. COUNTIFS: Counts the number of cells that meet multiple criteria.
=DAY(A1)
13. IF: Returns one value if a condition is true and another if false.
14. INDEX: Returns the value of a cell in a specific row and column.
column
=INDIRECT("A1")
=INT(7.8) // Returns 7
=IFERROR(A1/B1, "Error")
18. LEFT: Extracts a specified number of characters from the start of a
text string.
=LEN(A1)
22. MATCH: Searches for a value in a range and returns its relative
position.
range
=MAX(A1:A10)
in A1
=MONTH(A1)
=NOT(A1>10)
=NOW()
=OR(A1>10, B1<20)
=PI()
100
=RAND()
=SUM(A1:A10)
=TODAY()
44. TRIM: Removes extra spaces from text, except for single spaces
between words.
47. VLOOKUP: Searches for a value in the first column of a range and
returns a value in the same row from a specified column.
48. WEEKDAY: Returns the day of the week for a given date.
=WEEKDAY(A1)
mm-dd"
=FILTER(A1:A10, B1:B10="John")
=SUMPRODUCT(A1:A10, B1:B10)
=TRANSPOSE(A1:C3)