DIGITAL LITERACY · FOUNDATION SERIES

MS Excel: Cells, Formulas, Functions, Charts and Shortcuts

A simple guide to MS Excel: workbook, worksheet and cell address, the Excel window, formatting tools, formulas and cell references, functions, sorting, charts and the keys exams ask.

Punjab PolicePSSSB15 MIN READਪੰਜਾਬੀ ਵਿੱਚ ਪੜ੍ਹੋ

Microsoft Excel (MS Excel) is a spreadsheet program. A spreadsheet is a big table of rows and columns. You type numbers into it, and it does the sums for you. It can also sort data and draw charts. Punjab Police SI and Constable papers ask about the Excel window, cell addresses, formulas, references, functions, charts and Excel keys. This page shows each one on a labelled screen or a short video.

44
Past questions on this page
Punjab Police SI & Constable
1,048,576
Rows in one worksheet
Excel 2007 and later
16,384
Columns in one worksheet
A to XFD
=
Every formula starts with
e.g. =SUM(A1:A5)

Know the screen

The top of the window, the grid, the status bar and the tabs.

The top of the Excel window
Drawing of the top of a Microsoft Excel window with nine numbered parts: Quick Access Toolbar, title bar Book1 - Excel, Home and Formulas tabs, Font group, Merge & Center, AutoSum, Name Box showing E2 and the formula bar showing =SUM(B2:D2)
WHAT EACH NUMBER IS
  1. 1Quick Access Toolbar — Save, Undo and Redo. Always visible, one click away.
  2. 2Title bar — The bar at the very top of the window. Shows the file name and the program: Book1 - Excel.
  3. 3Home tab — A ribbon tab. Each tab opens a different set of tools.
  4. 4Formulas tab — Holds the Function Library: Logical, Financial, Math & Trig and more.
  5. 5Font group — Tools sit in groups. The group name is written at the bottom: Font, Alignment, Editing.
  6. 6Merge & Center — In the Alignment group. Joins cells into one and centres the text.
  7. 7AutoSum Σ — In the Editing group. Adds up a row or column in one click.
  8. 8Name Box — Shows the address of the active cell, here E2.
  9. 9Formula bar — Shows what the active cell really holds: =SUM(B2:D2). The cell itself shows only the result, 235. You can edit the cell here too.
This is Microsoft Excel (MS Excel). Match each number to the list below. Image: MockSutra illustration (redrawn; not a Microsoft screenshot) · © MockSutra
The worksheet and the status bar
Drawing of an Excel worksheet of marks for Aman, Simran, Harpreet and Gurpreet with nine numbered parts: column and row headings, active cell E2 with its fill handle, sheet tab Marks, new sheet button, Ready on the status bar, view buttons and zoom
WHAT EACH NUMBER IS
  1. 1Column heading — Columns are named by letters: A, B, C …
  2. 2Row heading — Rows are named by numbers: 1, 2, 3 …
  3. 3Active cell E2 — The selected cell has a thick border. Its address is column letter + row number.
  4. 4Fill handle — The small square at the corner of the active cell. Drag it to copy a formula.
  5. 5Sheet tab — Marks is one worksheet. A workbook holds many worksheets.
  6. 6New sheet (+) — Adds another worksheet to the workbook.
  7. 7Mode indicator — On the status bar. Ready = waiting for you; Enter = typing a new entry; Edit = changing an entry (after F2); Point = picking cells for a formula. There is no "Start" mode.
  8. 8View buttons — Normal, Page Layout, Page Break Preview.
  9. 9Zoom — Makes the sheet look bigger or smaller on screen.
The same marks sheet is used in every video on this page. Image: MockSutra illustration (redrawn; not a Microsoft screenshot) · © MockSutra
Ribbon tabTools exams ask about
HomeCell Styles, Format as Table, Conditional Formatting, Merge & Center, Wrap Text, Delete, Clear, Sort & Filter
InsertCharts, PivotTable, Pictures, Links
Page LayoutMargins, Orientation, Size, Print Area
FormulasFunction Library (Logical, Financial, Math & Trig and more)
DataSort, Filter, Subtotal (Outline group)
ReviewSpelling, comments, protect sheet
ViewNormal, Page Layout, Page Break Preview, Custom Views
Sort & Filter is on the Home tab and also on the Data tab.
QUICK CHECK
Which of the following is used to display the contents of an active cell in MS-Excel 2010?
Tap an option to answer
QUICK CHECK
All of the following cell mode statuses appear in the MS Excel 2010 status bar, except ______.
Tap an option to answer

Workbook, worksheet and cell

The three words every Excel question starts with.

KEY TERM
Spreadsheet

A spreadsheet keeps numbers in rows and columns and runs formulas on them. It is the tool for detailed analysis of numerical data. A calculator does one sum at a time. A word processor is for text. MS Excel, LibreOffice Calc and Google Sheets are spreadsheet programs.

Workbook (file)→Worksheets (sheets)→Cells
The file
Workbook

An Excel or LibreOffice Calc file is a workbook. Excel saves it as .xlsx (older: .xls). Calc saves it as .ods.

The page
Worksheet

One page inside the workbook. Its name shows on a tab at the bottom. A workbook is a collection of worksheets.

The box
Cell

The box where a row meets a column. Rows are numbers (1, 2, 3). Columns are letters (A, B, C).

A field is a database word, not the Excel name for a cell.

HOW TO WRITE A CELL ADDRESS
  1. Column letter first
    Count the alphabet: A = 1st, E = 5th, J = 10th, T = 20th.
  2. Row number second
    Write the row number just after the letter.
  3. answer
    Address
    5th row, 5th column = E5. 21st row, 10th column = J21.
21J is wrong: the letter never comes after the number.
WHAT CAN GO INSIDE A CELL?
Can go in
Cannot go in
Examples
Text (labels), numbers, dates, formulas
Images, envelopes
Why
You can type them
A picture floats on top of the grid
Envelopes belong to mail merge in a word processor, not to Excel cells.
QUICK CHECK
In MS-Excel, the address of the cell at the intersection of the 21st row and the 10th column is:
Tap an option to answer
QUICK CHECK
A cell in a spreadsheet cannot contain ______.
Tap an option to answer

Formatting and editing tools

Make the sheet look neat: styles, merge, number formats, clear and delete.

Home tab
Merge & Center

Joins the selected cells into one larger cell and centres the content.

Home tab
Wrap Text

Shows long text on extra lines inside the same cell. Merges nothing.

Home › Styles
Cell Styles

Applies a ready set of font, fill and number format in one click.

Home › Styles
Format as Table

Turns a range of cells into a table with its own style and filter buttons.

Home › Styles
Conditional Formatting

Changes a cell's look based on its value, for example Data Bars. Remove it with Clear Rules.

WATCH IT · Merge & Center in three steps
Step by step
  1. Drag across A1 to E1 to select the five cells of the title row.
  2. Click Merge & Center (Home tab → Alignment group).
  3. The five cells become one big cell, and the title sits in the centre.
Use it for one heading across a whole table. Wrap Text would only break text into lines inside one cell. Image: MockSutra animation · © MockSutra
KEY TERM
Clear Rules

Path: Home → Conditional Formatting → Clear Rules. It offers "Clear Rules from Selected Cells" and "Clear Rules from Entire Sheet". Excel uses the word Clear, not Delete or Remove.

Home→Conditional Formatting→Clear Rules
Number formats: the Format Cells box (Ctrl+1)
Microsoft Excel Format Cells dialog box on the Number tab, showing the Category list, Decimal places set to 2 and four styles for negative numbers
WHAT EACH NUMBER IS
  1. 1Number tab — Press Ctrl+1 to open Format Cells. This tab changes how a number looks; the value stays the same.
  2. 2Category list — General, Number, Currency, Accounting, Date, Time, Percentage, Fraction, Scientific, Text, Special, Custom. Percentage shows 0.25 as 25%. Scientific shows 12300 as 1.23E+04. Currency has the shortcut Ctrl+Shift+$.
  3. 3Decimal places — Digits after the decimal point. With 2, the mark 78 shows as 78.00 in the Sample.
  4. 4Negative numbers — Four looks: plain with a minus sign, in red, in brackets (parentheses), or red in brackets.
A real Microsoft Excel dialog box. The numbers are drawn outside the picture. Image: Microsoft Excel screenshot. Used with permission from Microsoft. · Microsoft screenshot permission
CLEAR VS DELETE
Clear menu
Delete dialog
Does
Empties a layer; the cell stays
Removes the cells
Options
All, Formats, Contents, Comments, Hyperlinks
Four: see the box below
Not there
"Texts"
"Shift cells right"
After a delete, cells can only move left or up to fill the hole. "Shift cells right" is in the Insert dialog.
The Delete box
Microsoft Excel Delete dialog box with four choices: Shift cells left, Shift cells up, Entire row and Entire column
WHAT EACH NUMBER IS
  1. 1Shift cells left — Cells on the right move left to fill the gap.
  2. 2Shift cells up — Cells below move up to fill the gap.
  3. 3Entire row — Deletes the whole row of the selected cell.
  4. 4Entire column — Deletes the whole column of the selected cell.
Opens from Home → Delete → Delete Cells. Only four choices, and none of them moves cells right. Image: Microsoft Excel screenshot. Used with permission from Microsoft. · Microsoft screenshot permission
QUICK CHECK
In MS-Excel 2010, which of the following features is used to combine the selected cells into one larger cell and center-align the content in the new cell?
Tap an option to answer
QUICK CHECK
Which of the following is NOT an option available in the Clear sub-menu in MS-Excel 2016?
Tap an option to answer

Formulas and cell references

Start with =, use the right sign, and know when $ locks a cell.

KEY TERM
Formula and function

A formula is a calculation you type after an = sign, like =A1+B1. A function is a ready-made formula with a name, like =SUM(A1:A10). Both calculate. Sorting does not calculate; it only changes the order of rows.

Type =→Write the sum→Press Enter→Cell shows result
WATCH IT · =SUM, then the fill handle
Step by step
  1. Click cell E2, where Aman's total will go.
  2. Type =SUM(B2:D2). The range B2:D2 lights up: the three marks to add.
  3. Press Enter. E2 shows 235 (78 + 85 + 72).
  4. Drag the fill handle down to E6. Excel fills in 259, 209, 253 and 198.
  5. Select E4. The formula bar shows =SUM(B4:D4): the relative reference moved down row by row.
Type the formula once and it works for every student. That is why relative references are the default. Image: MockSutra animation · © MockSutra
OperationSignExample
Add+=A1+B1
Subtract (minus / hyphen key)-=A1-B1
Multiply (asterisk key)*=A1*B1
Divide/=A1/B1
Power (caret)^=C1^D1
Excel does brackets first, then ^, then × and ÷, then + and −.
WATCH IT · The ^ sign: power
Step by step
  1. C1 holds 8 and D1 holds 3. Click cell E1.
  2. Type =C1^D1.
  3. Press Enter. E1 shows 512, because ^ means "to the power of": 8 × 8 × 8.
This exact sum was asked in the SI paper. ^ is power, so the answer is 512, not 8 × 3 = 24. Image: MockSutra animation · © MockSutra
THREE KINDS OF CELL REFERENCE
Relative
Absolute
Mixed
Looks like
K9
$K$9
$K9 or K$9
Locked
Nothing
Column and row
Only one part
When copied
Changes
Never changes
Half changes
Relative is the default. The $ sign locks the part just after it, as in $D$5. $D5$ and K#9# are not valid references.
WATCH IT · Press F4 again and again
Step by step
  1. A2 holds 500. In B2, type =A2.
  2. Press F4: =$A$2. Absolute: column and row are both locked.
  3. Press F4 again: =A$2. Mixed: only the row is locked.
  4. Press F4 again: =$A2. Mixed: only the column is locked.
  5. Press F4 once more: =A2. Back to relative.
F4 types the $ signs for you. F2 is the exam trap: it only opens the cell for editing. Image: MockSutra animation · © MockSutra
QUICK CHECK
Assuming the contents of cells C1 and D1 to be 8 and 3 respectively, the display value of a cell with the formula '=C1^D1' is:
Tap an option to answer
QUICK CHECK
Which of these is a valid mixed cell address in MS-Excel?
Tap an option to answer
QUICK CHECK
In MS-Excel 2016, the _____ key is used to toggle between the absolute and relative modes of referencing cells.
Tap an option to answer

Functions and their categories

SUM, AVERAGE, AND, N and the families they belong to.

FunctionWhat it givesCategory
=SUM(A1:A5)Total of the cellsMath & Trig
=AVERAGE(A1:A5)Average (mean)Statistical
=COUNT(A1:A5)How many cells hold numbersStatistical
=MAX(A1:A5) / =MIN(A1:A5)Largest / smallest valueStatistical
=IF(E2>=200,"Pass","Fail")One answer if true, another if falseLogical
=AND(...) / =OR(...) / =NOT(...)TRUE or FALSELogical
=TODAY() / =NOW()Today's date / date and time; they updateDate & Time
AND, OR and NOT always return TRUE or FALSE. IF returns whichever answer you give it (here "Pass" or "Fail"). SUM and COUNT return numbers.
WATCH IT · =IF: Pass or Fail
Step by step
  1. Click cell F2 in the Result column.
  2. Type =IF(E2>=200,"Pass","Fail"): a total of 200 or more gives Pass; anything less gives Fail.
  3. Press Enter. F2 shows Pass, because Aman has 235.
  4. Fill down: Pass, Pass, Pass, Pass, Fail. Ravi has 198, which is less than 200.
IF gives back whichever answer you write inside it. It is a Logical function, like AND. Image: MockSutra animation · © MockSutra
WATCH IT · =AND(1+1,1-1) and =N("Hello")
Step by step
  1. =AND(1+1,1-1) shows FALSE. 1+1 = 2 counts as TRUE, but 1-1 = 0 counts as FALSE. AND needs every part TRUE.
  2. =N("Hello") shows 0. N turns any text into 0.
  3. Select each cell in turn. The formula bar shows the formula; the cell shows the result.
Both formulas were asked in SI papers. Rule to remember: any non-zero number counts as TRUE, and zero counts as FALSE. Image: MockSutra animation · © MockSutra
KEY TERM
The N() function

N(value) turns a value into a number. A number stays the same. TRUE gives 1 and FALSE gives 0. Any text gives 0, so =N("Hello") shows 0.

N(5) = 5→N(TRUE) = 1→N("Hello") = 0
Category
Engineering

Number-base converters such as OCT2HEX (octal to hexadecimal), BIN2DEC, DEC2HEX.

Category
Financial

Money and bond functions such as ODDFPRICE, PMT, FV.

Category
Logical

IF, AND, OR, NOT, IFERROR.

Name pattern hint: anything like OCT2HEX or BIN2DEC is Engineering.

QUICK CHECK
The value of the MS-Excel expression '=AND(1+1, 1-1)' is _________.
Tap an option to answer
QUICK CHECK
What will be the output of the function cell =N("Hello") in MS-Excel 2010?
Tap an option to answer

Sorting, subtotals and charts

Put data in order, then turn it into a picture.

SORT VS FILTER
Sorting
Filtering
Does
Arranges rows in a set order
Hides rows that fail a condition
Example
A to Z, smallest to largest
Show only "Ludhiana"
Sorting = arranging data in a definite sequence based on a criterion or criteria.
KEY TERM
Subtotal

Found on the Data tab (Outline group). It adds a total at every change in a chosen column. Sort that column first.

Sort the column→Data → Subtotal→Totals appear
ChartShapeBest for
PieA circle cut into slicesParts of one whole
Column / BarStanding / lying rectanglesComparing groups
LinePoints joined by a lineTrends over time
AreaA line chart with the space below filledSize of change over time
Scatter (XY)Loose dots on a gridLink between two number sets
Charts live on the Insert tab. They show comparisons and trends at a glance. A PivotTable only summarises into another table.
CHART ELEMENTS (THE + BUTTON)
  • Chart Title, Axes, Axis Titles
  • Legend, Data Labels, Data Table
  • Gridlines, Error Bars, Trendline
CHART TOOLS IN EXCEL 2010
  • Appear on the ribbon when a chart is selected
  • Three tabs: Design, Layout, Format
  • Called chart tools, not graph tools
QUICK CHECK
________ is the process of arranging data in a definite sequence based on a criterion or criteria in MS-Excel 2010.
Tap an option to answer
QUICK CHECK
Which type of chart in MS Excel 2010 is used to display data in a round shape and is cut into slices?
Tap an option to answer
QUICK CHECK
In MS-Excel 2016, which of the following is NOT a valid chart element?
Tap an option to answer

Keys that save time in Excel

Moving between cells, editing and stamping the date.

KeyWhat it does in Excel
EnterConfirms the entry and moves down one cell
Shift+EnterMoves up to the cell above in the same column
Tab / Shift+TabMoves right / left one cell
Alt+EnterNew line inside the same cell
Ctrl+EnterConfirms and stays in the same cell
F2Edit the active cell
EscCancel the edits before you press Enter or Tab
Ctrl+G / F5Open the Go To box
Ctrl+Home / Ctrl+EndGo to cell A1 / the last cell with data
DATE AND TIME STAMPS
Ctrl+;
Ctrl+Shift+;
=TODAY()
Puts in
Today's date
Current time
Today's date
Changes tomorrow?
No, fixed
No, fixed
Yes
Ctrl+; uses the semicolon key, not the colon.
QUICK CHECK
In MS Excel 2019, which of the following keystroke is used to select the cell above in the same column?
Tap an option to answer
QUICK CHECK
In MS Excel 2019, which shortcut key is used to enter the current date?
Tap an option to answer

Quick revision

Keys, traps, the story of the spreadsheet and one-line facts.

An old green-and-black computer screen showing VisiCalc, a grid of rows and columns with numbers
Where it came from: VisiCalc on an Apple II computer. Dan Bricklin and Bob Frankston made it, and it came out in 1979. It is called the first spreadsheet program for personal computers. Excel uses the same idea: a grid of cells that can calculate. Image: User:Gortu, Wikimedia Commons · Public domain
FLASHCARDS
Excel keys: tap to check
F4
Switch relative / absolute reference
F2
Edit the active cell
Esc
Cancel the edit
Ctrl+;
Today's date
Shift+Enter
Cell above
Alt+Enter
New line inside a cell
Ctrl+G
Go To box (same as F5)
Ctrl+Shift+$
Currency format
Ctrl+1
Format Cells box
Ctrl+Home
Go to cell A1
COMMON TRAPS
  • Column first, row second: J21, never 21J.
  • ^ is power, not multiply: 8^3 = 512.
  • F4 changes reference type; F2 only edits.
  • Filter hides, Sort arranges.
  • Data Bars = conditional formatting, not a chart element.
  • Subtotal is on the Data tab, not the Formulas tab.
  • Print Area is on the Page Layout tab.
Also asked onceTap to open
  • The title bar is the bar at the very top of the spreadsheet window.
  • An Excel or LibreOffice Calc file is called a workbook.
  • Both true: a workbook is a collection of worksheets, and Ctrl+Shift+$ applies the Currency format.
  • A cell is where a row and a column meet (5th row, 5th column = E5).
  • A spreadsheet is the tool for detailed analysis of numerical data.
  • An image cannot be entered into a cell. Text, numbers and dates can.
  • Formulas and functions calculate; data sorting does not.
  • Neither statement is false: a cell reference is relative by default, and relative references change when a formula is copied.
  • AND() is a Logical function. COUNT() is Statistical and SUM() is Math & Trig.
  • Both pairs are correct: OCT2HEX – Engineering and ODDFPRICE – Financial.
  • Percentage and Scientific are both number format styles.
  • Negative numbers can be shown in parentheses and in red.
  • Cell Styles is applied from the Home tab (Home → Cell Styles).
  • Format as Table turns a range into a table with its own style.
  • AutoFormat quickly applies a ready-made set of formats to a range. In newer Excel it is not on the ribbon; you add it to the Quick Access Toolbar.
  • The Delete dialog has no "Shift cells right".
  • To remove all conditional formatting from a sheet, use Clear Rules.
  • Sort & Filter is in the Editing group of the Home tab (and also on the Data tab).
  • Linked Views is not a View-tab option.
  • Charts show workbook data as pictures for comparisons and trends; in Excel 2010 a set of chart tools in three tabs appears when you insert one.
  • Ctrl+G opens the Go To box; Alt+Enter adds a new line inside a cell; Esc cancels an edit.
  • Default column width in a new sheet is 8.43 (measured in characters of the standard font, about 64 pixels). One paper printed the unit as "points". The default row height is 15 points.
CHECK YOURSELF

Cell B2 holds 10. You type =B2^2 in C2, then copy C2 down to C3. What does C3 contain, and why?

Show answer

C2 shows 100 (10 to the power 2). C3 holds =B3^2, because B2 is a relative reference and moves down one row when copied. To keep B2 fixed, write $B$2 (press F4).

Frequently Asked Questions

What is MS Excel used for?

MS Excel is a spreadsheet program. It stores numbers in rows and columns, calculates with formulas, sorts and filters data, and draws charts.

What is the difference between a workbook and a worksheet?

A workbook is the whole Excel file (.xlsx). A worksheet is one sheet inside it. A workbook is a collection of worksheets.

How is a cell address written in Excel?

Column letter first, then row number. The cell in the 21st row and 10th column is J21.

What is the formula bar in Excel?

It is the strip below the ribbon that shows what the active cell really contains, including a formula. You can also edit the cell there.

What is the difference between relative and absolute references?

A relative reference like A1 changes when the formula is copied. An absolute reference like $A$1 stays fixed. Relative is the default.

Which key changes a cell reference from relative to absolute?

F4. Each press cycles A1 → $A$1 → A$1 → $A1 and back to A1.

What does the ^ sign mean in an Excel formula?

The caret ^ means power. If C1 is 8 and D1 is 3, then =C1^D1 gives 512.

What is the shortcut to enter today's date in Excel?

Ctrl+; (semicolon) puts in today's date as a fixed value. Ctrl+Shift+; puts in the current time.

Which chart is round and cut into slices?

The pie chart. Each slice shows one part's share of the whole.

What is the difference between sorting and filtering?

Sorting arranges rows in an order, such as A to Z. Filtering only hides the rows that do not match a condition.

More in MS Office

← All MS Office notes