MS Excel: Formulas, Functions and Shortcuts
Complete MS Excel notes for exams: workbook and worksheet limits, cell references, formulas, functions, error values, charts and the shortcut keys asked.
By GK24 Editorial Team· Published · 5 min read

MS Excel is the spreadsheet program of the Microsoft Office suite. A spreadsheet is a grid of rows and columns in which numbers, text and formulas are stored, so that every calculation updates by itself the moment the data behind it changes. Excel was released by Microsoft in 1985, and in Computer Awareness papers it is the second most asked application after MS Word. The questions come from a narrow set: the size of a worksheet, how a cell is addressed, which symbol starts a formula, what a named function returns, what an error value means, and which shortcut key does what. Learn those six groups and the section is scoring.
Workbook, worksheet and cell
An Excel file is called a workbook, and a workbook holds one or more worksheets. A worksheet is the single grid, and its tab sits at the bottom of the window; the first sheet of a new workbook is named Sheet1. Columns are named with letters and rows with numbers, so the meeting point of a column and a row is a cell, addressed by its column letter followed by its row number: A1, C5, AB120. The cell you are typing in is the active cell, and its address is shown in the Name Box at the left end of the formula bar. The title bar at the very top of the window carries both the name of the workbook and the name of the application.
From Excel 2007 onwards a single worksheet has 16,384 columns, named A to XFD, and 1,048,576 rows, so the last cell of the grid is XFD1048576. In Excel 2003 and earlier the grid was much smaller: 256 columns, A to IV, and 65,536 rows. Both pairs of numbers are asked directly, so both are worth memorising.
| Item | Value |
|---|---|
| Rows in a worksheet, Excel 2007 onwards | 1,048,576 |
| Columns in a worksheet, Excel 2007 onwards | 16,384, named A to XFD |
| Grid in Excel 2003 and earlier | 65,536 rows and 256 columns, A to IV |
| Default extension, Excel 2007 onwards | .xlsx |
| Excel 97 to 2003 workbook | .xls |
| Macro enabled workbook | .xlsm |
| Excel template | .xltx |
| Default name of the first sheet | Sheet1 |
Formulas, operators and cell references
Every formula in Excel begins with an equals sign. Typing =A1+B1 in cell C1 adds the two cells and shows the answer in C1, while the formula itself stays visible in the formula bar. A function is a ready made formula that carries a name, for example =SUM(A1:A10). The colon is the range operator, so A1:A10 means every cell from A1 down to A10; the comma is the union operator and separates ranges or arguments. The arithmetic operators are plus, minus, asterisk for multiplication and slash for division, the caret for a power, the ampersand for joining text, and the comparison operators equal to, greater than, less than and not equal to. Excel works through a formula in a fixed order: brackets first, then powers, then multiplication and division, and addition and subtraction last.
A reference can be relative, absolute or mixed, and the difference decides what happens when the formula is copied to another cell. A1 is relative and shifts along with the copy. $A$1 is absolute: the dollar signs lock the column and the row, so the reference stays pinned to that one cell however far the formula is copied. $A1 and A$1 are mixed references, locking only the column or only the row. The F4 key cycles a reference through these four forms while a formula is being edited, which is why F4 is asked so often.
The functions asked most
| Function | What it returns |
|---|---|
| SUM | the total of the numbers in a range |
| AVERAGE | the arithmetic mean of the numbers in a range |
| COUNT | how many cells in a range hold numbers |
| COUNTA | how many cells in a range are not empty |
| MAX and MIN | the largest and the smallest number in a range |
| LEN | the number of characters in a text entry |
| CONCATENATE | joins two or more text entries into one |
| TODAY and NOW | the current date, and the current date with the time |
| IF | one value when a condition is true and another when it is false |
| VLOOKUP | finds a value in the first column of a table and returns a value from a chosen column of the same row |
The Formulas tab groups functions by category, and which category a named function belongs to is a favourite one line question. LEN, LEFT, RIGHT, MID, UPPER, LOWER and CONCATENATE are Text functions. IF, AND, OR and NOT are Logical. SUM, ROUND, SQRT and ABS are Math and Trig. VLOOKUP and HLOOKUP are Lookup and Reference. TODAY and NOW are Date and Time, and PMT, RATE and NPV are Financial.
The error values
When Excel cannot produce an answer it writes an error value in the cell, and each one names its own cause. #DIV/0! means a division by zero or by an empty cell. #NAME? means a function or a range name has been misspelt. #VALUE! means an argument of the wrong type, such as text where a number was needed. #REF! means the formula points at a cell that has been deleted. #NUM! means an impossible number, such as the square root of a negative value. #N/A means a lookup found nothing. A row of hash marks filling the cell is not an error at all: the column is simply too narrow to display the number, and widening it restores the value.
Charts, sorting and the view
A chart turns numbers into a picture and is inserted from the Insert tab. Column, bar, line, pie, area, scatter and radar are the standard types. A pie chart shows each value as a share of the whole and can plot only one data series, while a line chart is used for a trend over time. A sparkline is a tiny chart drawn inside one cell. Sorting rearranges whole rows by the values of a chosen column, filtering hides the rows that do not match a condition without deleting them, and Freeze Panes keeps the heading row on screen while the rest of the sheet scrolls.
Shortcut keys worth memorising
| Shortcut | Action |
|---|---|
| F2 | edit the contents of the active cell |
| F4 | switch a reference between relative, absolute and mixed |
| F5 | open the Go To dialog box |
| F12 | open Save As |
| Ctrl + F2 | Print Preview |
| Shift + Space | select the whole row |
| Ctrl + Space | select the whole column |
| Ctrl + Home | move to cell A1 |
| Ctrl + semicolon | insert the current date |
| Alt + equals sign | insert the SUM function |
Exam Point of View
Examiners test MS Excel with one line recall questions of six kinds: the size of the grid and the last column name, the file extensions, the symbol or operator that starts or joins a formula, the category a named function belongs to, the meaning of an error value, and the shortcut keys. The commonest traps are swapping Shift + Space with Ctrl + Space, confusing COUNT with COUNTA, treating a cell full of hash marks as an error value, reading the Excel 2003 limits as the current ones, and mixing up which part of the screen shows the cell address, the Name Box, with the title bar that shows the file name. Read the version named in the question before answering about a limit or an extension.
Important Facts
| First released | 1985, by Microsoft |
|---|---|
| Rows in a worksheet | 1,048,576 from Excel 2007 onwards |
| Columns in a worksheet | 16,384, named A to XFD |
| Last cell of the grid | XFD1048576 |
| Excel 2003 limits | 65,536 rows and 256 columns, A to IV |
| Default extension | .xlsx from Excel 2007, .xls up to Excel 2003 |
| Macro enabled file | .xlsm |
| Template file | .xltx |
| Formula begins with | an equals sign |
| Range operator | the colon, as in A1:A10 |
| Absolute reference | $A$1, locked by dollar signs |
| Shows the active cell address | the Name Box, left of the formula bar |
| Select whole row and column | Shift + Space and Ctrl + Space |
| Print Preview | Ctrl + F2 |
| Division by zero error | #DIV/0! |
Practice MCQs on this topic
In MS - Excel, what is the shortcut key you can press to Select the entire row?
- A.Ctrl + Shift + Space
- B.Ctrl + Home
- C.Ctrl + Space
- D.Shift + Space
Show answer
Pressing Shift together with the spacebar selects the whole row that holds the active cell, from column A right across to the last column of the grid.
Read the full explanation →Which of the following displays both the name of the application and the name of the spreadsheet in MS-Excel?
- A.Title bar
- B.Tool bar
- C.Task bar
- D.Menu bar
Show answer
The title bar is the strip along the very top of the Excel window, and it carries the name of the open workbook followed by the name of the program, for example Book1 - Excel.
Read the full explanation →The 'LEN' function in MS-Excel belongs to which of the following categories?
- A.Financial
- B.Logical
- C.Text
- D.Math & Trig
Show answer
LEN returns the number of characters in an entry, counting letters, digits, punctuation and spaces alike, so =LEN("Excel") gives 5.
Read the full explanation →Which out of the following is used as an electronic spread sheet?
- A.Microsoft Word
- B.Microsoft Power point
- C.Microsoft Excel
- D.Microsoft Access
Show answer
An electronic spreadsheet stores data in a grid of rows and columns and recalculates its formulas whenever a value changes, and Excel is the spreadsheet program of the Microsoft Office suite.
Read the full explanation →Which function key displays the Print Preview window in Microsoft Office?
- A.Alt + Ctrl + F2
- B.Alt + F2
- C.Shift + F2
- D.Ctrl + F2
Show answer
Ctrl together with F2 opens the print area of the Backstage view in Excel, Word and PowerPoint, where the page is shown exactly as it will be printed and the printer, copies, orientation and margins can be set.
Read the full explanation →What is the default file extension of a workbook created in MS Excel 2016?
- A..xls
- B..xlsx
- C..xlsm
- D..xltx
Show answer
From Excel 2007 onwards the suite moved to the Office Open XML formats, and a plain workbook saves with the.xlsx extension.
Read the full explanation →How many rows does a single worksheet contain in MS Excel 2007 and later versions?
- A.65,536
- B.16,384
- C.1,048,576
- D.2,097,152
Show answer
From Excel 2007 the grid of one worksheet was enlarged to 1,048,576 rows and 16,384 columns, so the very last cell of the sheet is XFD1048576.
Read the full explanation →Every formula entered in an MS Excel cell must begin with which of the following characters?
- A.The hash sign
- B.The equals sign
- C.The asterisk
- D.The colon
Show answer
Excel treats whatever follows an equals sign as something to be calculated, so =A1+B1 adds the two cells and =SUM(A1:A10) totals a range.
Read the full explanation →In MS Excel, $A$1 is an example of which type of cell reference?
- A.Relative reference
- B.Mixed reference
- C.Absolute reference
- D.Circular reference
Show answer
A dollar sign locks the part of the address that follows it, so $A$1 has both the column and the row locked and keeps pointing at cell A1 however far the formula is copied.
Read the full explanation →The error value #DIV/0! appears in an MS Excel cell when which of the following happens?
- A.A function name has been spelt wrongly
- B.A number is divided by zero or by an empty cell
- C.The column is too narrow for the result
- D.A referenced cell has been deleted
Show answer
Division by zero has no answer in arithmetic, so Excel refuses to invent one and writes #DIV/0! instead.
Read the full explanation →Which MS Excel function counts only those cells in a range that contain numbers?
- A.COUNTA
- B.COUNTBLANK
- C.COUNT
- D.SUM
Show answer
COUNT walks through the range and counts only the cells that hold a numeric value, which includes dates and times because Excel stores them as serial numbers.
Read the full explanation →What is the name of the last column of a worksheet in MS Excel 2007 and later versions?
- A.IV
- B.XFD
- C.ZZZ
- D.XL
Show answer
Columns are lettered A to Z, then AA to AZ, BA to BZ and so on, and the 16,384th column of the enlarged grid falls at XFD.
Read the full explanation →Frequently Asked Questions
How many rows and columns does an MS Excel worksheet have?
From Excel 2007 onwards a worksheet has 1,048,576 rows and 16,384 columns, the columns running from A to XFD, so the last cell is XFD1048576. In Excel 2003 and earlier the grid held 65,536 rows and 256 columns, A to IV.
What is the difference between a workbook and a worksheet?
The workbook is the whole Excel file, saved with the .xlsx extension. A worksheet is one grid of rows and columns inside that file, reached from its tab at the bottom of the window. One workbook can hold many worksheets, and the first one is named Sheet1.
What is the difference between a relative and an absolute cell reference?
A relative reference such as A1 shifts when the formula is copied to another cell. An absolute reference such as $A$1 is locked by the dollar signs and keeps pointing at the same cell however the formula is copied. $A1 and A$1 lock only the column or only the row.
What does the COUNT function do in Excel?
COUNT reports how many cells in a range contain numbers, ignoring text and blank cells. COUNTA is its wider companion and reports how many cells are not empty, counting text as well as numbers. COUNTBLANK reports how many cells in the range are empty.
Why does a cell show a row of hash marks?
That is not an error value. The number in the cell is longer than the column is wide, so Excel refuses to show it half cut. Widening the column, or reducing the font size, brings the number back at once. A true error value always begins with a hash followed by a word, such as #NAME? or #REF!.
Which shortcut key selects an entire row in Excel?
Shift + Space selects the whole row that holds the active cell, and Ctrl + Space selects the whole column. Ctrl + Shift + Space, or Ctrl + A, selects the whole worksheet, and Ctrl + Home takes the cursor back to cell A1.
Sources
- Informatics Practices (Class XI), Unit on Spreadsheets and Data Handling — NCERT
- Computers and Communication Technology (Class XI), Chapter on Spreadsheet Packages — NCERT





