Microsoft Excel Mastery
Part I: Excel Fundamentals
From zero to confident β learn the Excel interface, data entry, formatting, and fundamental calculations with real-world Indian examples.
π 3 Chapters | π 55+ Solved Examples | π§ͺ 34+ Exercises | π― 9 Interview Questions | ποΈ 3 Mini Projects
Introduction to Microsoft Excel
π Why Excel Rules the Business World
Over 1.1 billion people worldwide use Microsoft Office, and Excel remains the #1 tool for data analysis in companies from Reliance Industries to Infosys. Whether you're a CA preparing GST returns, an HR manager tracking 10,000 employee records at TCS, or a CBSE teacher calculating marks for 500 students β Excel is your daily companion.
In this chapter, you'll master the Excel environment from scratch and understand why this 40-year-old software still dominates every industry.
RelianceTCSInfosysWiproHDFC BankLearning Objectives
- Understand what Microsoft Excel is and its evolution from 1985 to Microsoft 365
- Identify real-world uses of Excel across business, education, science, finance, HR, and healthcare
- Navigate the Excel interface: Ribbon, Quick Access Toolbar, Formula Bar, Name Box, and Status Bar
- Differentiate between a Workbook and a Worksheet
- Understand the structure of rows (1,048,576), columns (A to XFD = 16,384), and cells
- Navigate between worksheets: add, delete, rename, and reorder sheet tabs
- Recognize file formats:
.xlsx,.xls,.csv,.xlsm,.xlsb,.pdf - Perform basic file management: New, Open, Save, Save As, Print, Export
- Use essential keyboard shortcuts for file operations and navigation
What is Microsoft Excel?
Microsoft Excel is a spreadsheet application developed by Microsoft. It allows you to organize, calculate, analyze, and visualize data in a structured grid of rows and columns. Think of it as a giant, intelligent calculator combined with a database and a charting tool β all in one application.
At its core, Excel provides a grid of cells where you can type numbers, text, dates, and formulas. But what makes it powerful is that cells can talk to each other β a formula in one cell can reference data from hundreds of other cells, automatically recalculating whenever data changes.
A Brief History of Excel
| Year | Milestone | Key Feature |
|---|---|---|
| 1985 | Excel 1.0 for Macintosh | First graphical spreadsheet by Microsoft |
| 1987 | Excel 2.0 for Windows | Brought Excel to the PC world |
| 1993 | Excel 5.0 | Introduced VBA (Visual Basic for Applications) |
| 2007 | Excel 2007 | Ribbon UI introduced; 1M+ rows; .xlsx format |
| 2010 | Excel 2010 | Sparklines, Slicers, PowerPivot |
| 2013 | Excel 2013 | Flash Fill, Recommended Charts |
| 2016 | Excel 2016 | Power Query built-in, 6 new chart types |
| 2019 | Excel 2019 | Funnel charts, new formulas (IFS, CONCAT, TEXTJOIN) |
| 2021 | Excel 2021 | XLOOKUP, XMATCH, LET, Dynamic Arrays |
| 2023+ | Microsoft 365 | Cloud-based, Copilot AI, real-time collaboration, LAMBDA |
The name "Excel" was almost not used! Microsoft originally called it "Multiplan" in 1982. When they created the graphical version for Mac in 1985, they chose "Excel" β meaning "to surpass" β specifically to beat Lotus 1-2-3, which was the dominant spreadsheet at the time. By 1988, Excel had surpassed Lotus in sales, and the rest is history.
Where is Excel Used? β Industry-Wise Applications
| Industry | How Excel is Used | Indian Example |
|---|---|---|
| π’ Business | Sales tracking, budgeting, inventory management, MIS reports | Reliance Retail tracks daily store sales across 18,000+ outlets |
| π Education | Student marks, attendance, result analysis, fee tracking | CBSE schools calculate percentages for 500+ students per batch |
| π¬ Science | Experiment data recording, statistical analysis, graphing | ISRO scientists log satellite telemetry data in spreadsheets |
| π° Finance | GST returns, balance sheets, loan EMI calculations, stock analysis | CAs across India file GST returns using Excel-based templates |
| π₯ HR | Employee database, payroll, leave tracking, performance reviews | TCS HR manages salary slips for 600,000+ employees |
| π₯ Healthcare | Patient records, medicine inventory, bed occupancy, billing | AIIMS Delhi tracks OPD registrations (10,000+ per day) |
Start by asking students: "How many of you have seen your parents or teachers use Excel?" This creates immediate relatability. Then show a real company's use case β for example, show how Zomato might track orders per city in a simple spreadsheet. This anchors the abstract concept in something students already know.
The Excel Interface β A Complete Tour
When you open Excel and create a new blank workbook, you'll see several important areas on your screen. Let's explore each one from top to bottom.
1. Title Bar
The very top bar of the window. It shows the file name (e.g., "Book1 - Excel") and the window controls (Minimize, Maximize, Close). When you save your file as "Student_Marks.xlsx", the title bar updates to show "Student_Marks - Excel".
2. Quick Access Toolbar (QAT)
Located above or below the Ribbon (you can customize its position). By default, it contains three buttons: Save, Undo, and Redo. You can add frequently used commands like Print Preview, New, and Open by clicking the small dropdown arrow at the right end.
Right-click on any Ribbon command and select "Add to Quick Access Toolbar" to create your own one-click shortcuts. Power users typically add: Quick Print, Sort A-Z, Sort Z-A, and Paste Special.
3. The Ribbon β Command Central
The Ribbon is the wide band of commands organized into tabs. Each tab groups related commands. Here's what each tab contains:
| Tab | Purpose | Key Commands |
|---|---|---|
| Home | Most frequently used commands | Cut, Copy, Paste, Font, Alignment, Number Format, Conditional Formatting, Sort & Filter |
| Insert | Add objects to your worksheet | Tables, Charts, PivotTables, Pictures, Shapes, Header & Footer, Text Box |
| Page Layout | Control how the page looks when printed | Margins, Orientation, Size, Print Area, Themes, Background |
| Formulas | Work with formulas and functions | Insert Function, AutoSum, Name Manager, Formula Auditing, Calculate |
| Data | Import, sort, filter, and validate data | Get External Data, Sort, Filter, Data Validation, Remove Duplicates, Text to Columns |
| Review | Proofread and protect | Spell Check, Comments, Track Changes, Protect Sheet, Protect Workbook |
| View | Change how the worksheet is displayed | Normal, Page Break Preview, Page Layout, Freeze Panes, Zoom, Gridlines |
4. Formula Bar
Located below the Ribbon. It shows the contents of the currently selected cell. If a cell contains a formula like =A1+B1, the cell might display "500" but the Formula Bar will show the actual formula. You can also type or edit cell contents directly in the Formula Bar.
5. Name Box
Located to the left of the Formula Bar. It displays the address of the selected cell (e.g., "A1", "C5", "Z100"). You can also type a cell address in the Name Box and press Enter to quickly jump to that cell β extremely useful in large spreadsheets.
6. Column Headers and Row Numbers
Columns are labeled with letters (A, B, C, ... Z, AA, AB, ... XFD) across the top. Rows are labeled with numbers (1, 2, 3, ... 1,048,576) along the left side. The intersection of a column and a row creates a cell.
7. Sheet Tabs
At the bottom of the worksheet area, you'll see tabs labeled "Sheet1", "Sheet2", etc. You can click on these to switch between different worksheets within the same workbook. Right-click a tab to rename, delete, move, copy, or change the tab color.
8. Status Bar
The very bottom bar. It shows useful information like the current mode (Ready, Enter, Edit), and when you select multiple cells with numbers, it automatically shows Average, Count, and Sum on the right side β no formula needed!
The Status Bar is a hidden gem! Select any range of numbers (e.g., A1:A10) and look at the bottom-right corner. Excel instantly shows you the Sum, Average, and Count without writing a single formula. You can right-click the Status Bar to add more calculations like Min, Max, and Numerical Count.
Workbook vs. Worksheet
This is one of the most common points of confusion for beginners. Let's clear it up with an analogy:
π The Book Analogy
Think of a Workbook as a physical book (like your school textbook). Think of each Worksheet as a page (or chapter) inside that book.
Just as a book contains multiple pages, a workbook contains multiple worksheets. When you save an Excel file (e.g., Company_Data.xlsx), you're saving the entire book, which includes all its pages (worksheets).
| Feature | Workbook | Worksheet |
|---|---|---|
| What it is | The entire Excel file | A single sheet (tab) inside the file |
| Analogy | A book | A page in the book |
| File extension | .xlsx, .xls, .xlsm | No separate extension β part of the workbook |
| Contains | One or more worksheets | Cells organized in rows and columns |
| Default count | 1 workbook when you open Excel | 1 worksheet per new workbook (in Excel 365) |
| Navigation | Switch between workbooks via the Taskbar | Switch between sheets via Sheet Tabs at the bottom |
| Example | Flipkart_Sales_2024.xlsx | Sheet1: "January", Sheet2: "February", Sheet3: "Summary" |
Saying "Open a new worksheet" when you mean "Open a new workbook". A worksheet is just a tab inside a workbook. To create a new file, you create a new workbook (Ctrl+N). To add a new tab inside the current file, you insert a new worksheet (click the + button next to sheet tabs).
Have students physically open their school textbook. Point out: "This entire book is the Workbook. Each chapter is a Worksheet. The table of contents is like the Sheet Tabs at the bottom." This kinesthetic analogy sticks much better than just telling them.
Rows, Columns & Cells
Rows
Rows run horizontally (left to right) and are identified by numbers. Excel has 1,048,576 rows (from row 1 to row 1,048,576). That's over 1 million rows β enough to store the entire population data of Goa or Mizoram!
Columns
Columns run vertically (top to bottom) and are identified by letters. Excel has 16,384 columns (from column A to column XFD). After Z comes AA, AB, ... AZ, then BA, BB, ... and so on up to XFD.
Cells
A cell is the intersection of a row and a column. It's the basic unit where you enter data. Each cell has a unique cell address (also called a cell reference) that identifies it.
Cell Address (A1 Notation)
The cell address is formed by combining the column letter and the row number. For example:
A1β Column A, Row 1 (the very first cell, top-left corner)B5β Column B, Row 5D10β Column D, Row 10AA100β Column AA, Row 100XFD1048576β The very last cell in Excel (bottom-right corner)
How many cells does Excel have? It's simple math: 1,048,576 rows Γ 16,384 columns = 17,179,869,184 cells β that's over 17 billion cells in a single worksheet! Of course, you'd never fill all of them β your computer would run out of memory long before that. But it shows Excel's capacity is enormous.
Understanding the Grid Structure
| A | B | C | D | |
|---|---|---|---|---|
| 1 | A1 | B1 | C1 | D1 |
| 2 | A2 | B2 | C2 | D2 |
| 3 | A3 | B3 | C3 | D3 |
| 4 | A4 | B4 | C4 | D4 |
| 5 | A5 | B5 | C5 | D5 |
Selecting Cells, Rows, and Columns
| Action | How to Do It |
|---|---|
| Select a single cell | Click on the cell |
| Select a range (e.g., A1:D5) | Click A1, hold Shift, click D5 (or drag) |
| Select an entire row | Click the row number (e.g., click "3" to select Row 3) |
| Select an entire column | Click the column letter (e.g., click "B" to select Column B) |
| Select all cells | Click the triangle at the intersection of row/column headers, or press Ctrl+A |
| Select non-adjacent cells | Hold Ctrl and click individual cells |
File Formats & File Management
Excel File Formats
| Format | Extension | Description | When to Use |
|---|---|---|---|
| Excel Workbook | .xlsx | Default format since Excel 2007. XML-based, no macros. | Most situations β your default choice |
| Excel 97-2003 | .xls | Old binary format. Limited to 65,536 rows and 256 columns. | When sharing with users on very old Excel versions |
| CSV | .csv | Comma Separated Values. Plain text, no formatting. | Data exchange with other software (Tally, Python, SQL) |
| Macro-Enabled | .xlsm | Same as .xlsx but supports VBA macros. | When your file contains macros/automation |
| Excel Binary | .xlsb | Binary format. Faster for very large files. | Files with 100,000+ rows for better performance |
.pdf | Non-editable document format. | Sharing reports that shouldn't be edited (invoices, reports) |
Always save as .xlsx by default. Only use .xls if someone specifically asks for it (rare in 2024). If your file has macros (VBA code), Excel will prompt you to save as .xlsm. If you save a macro-enabled file as .xlsx, the macros will be silently removed!
File Management Operations
| Operation | Shortcut | What It Does |
|---|---|---|
| New Workbook | Ctrl+N | Creates a new blank workbook |
| Open File | Ctrl+O | Opens an existing file |
| Save | Ctrl+S | Saves the current file (first time: opens Save As dialog) |
| Save As | F12 | Saves with a new name, location, or format |
| Ctrl+P | Opens Print Preview and print settings | |
| Close File | Ctrl+W | Closes the current workbook (Excel stays open) |
| Undo | Ctrl+Z | Undoes the last action (can undo up to 100 actions) |
| Redo | Ctrl+Y | Redoes the last undone action |
| Exit Excel | Alt+F4 | Closes Excel completely |
Using "Save" vs "Save As": New users often panic when they overwrite an important file. Remember: Ctrl+S (Save) overwrites the existing file with the same name. F12 (Save As) lets you choose a new name or location, keeping the original intact. Always use Save As when you want to keep the original version.
Solved Examples
Example 1: Identifying Cell Addresses
Question: What is the cell address of the cell in column D, row 7?
Answer: D7 β The column letter comes first (D), followed by the row number (7).
Example 2: Calculating Total Cells
Question: How many cells are in the range A1:C5?
Answer: The range spans 3 columns (A, B, C) and 5 rows (1 to 5). Total cells = 3 Γ 5 = 15 cells.
Example 3: Column After Z
Question: What is the column letter after column Z?
Answer: AA. After Z, columns continue as AA, AB, AC, ... AZ, BA, BB, ... up to XFD (the 16,384th column).
Example 4: Workbook vs Worksheet Identification
Question: A teacher creates a file called "Class10_Results.xlsx" with three tabs: "Maths", "Science", "English". Identify the workbook and worksheets.
Answer: Workbook: Class10_Results.xlsx (the entire file). Worksheets: "Maths", "Science", "English" (the three tabs inside).
Example 5: Choosing the Right File Format
Question: A CA needs to send GST data to a Tally software. Which format should they use?
Answer: .csv (Comma Separated Values). Tally and most accounting software can import CSV files. The .xlsx format contains formatting data that Tally cannot read.
Example 6: Last Cell Address
Question: What is the address of the very last cell in an Excel worksheet?
Answer: XFD1048576 β Column XFD (16,384th column) and Row 1,048,576.
Example 7: Counting Rows and Columns in a Range
Question: A Flipkart analyst selects the range B3:F20. How many rows and columns does this selection contain?
Answer: Columns: B to F = 5 columns. Rows: 3 to 20 = 18 rows. Total cells = 5 Γ 18 = 90 cells.
Example 8: Renaming a Sheet
Question: You have a sheet named "Sheet1" and you want to rename it to "Jan_Sales". Describe two methods.
Answer: Method 1: Double-click the "Sheet1" tab, type "Jan_Sales", press Enter. Method 2: Right-click "Sheet1" tab β click Rename β type "Jan_Sales" β press Enter.
Example 9: File Size Consideration
Question: An HR manager at Infosys has a file with 500,000 employee records. The .xlsx file is very slow to open. What format should they try?
Answer: .xlsb (Excel Binary Workbook). Binary format is significantly faster for large files because it uses a more compact storage structure. File sizes are typically 50-75% smaller than .xlsx.
Example 10: Old Excel Limitation
Question: A government office still uses Excel 2003. They receive a file with 100,000 rows. Can they open it?
Answer: If the file is in .xlsx format, Excel 2003 cannot open it natively (it needs the compatibility pack). Even with the compatibility pack, Excel 2003 can only display 65,536 rows. The remaining 34,464 rows would be truncated. They should upgrade to at least Excel 2007.
Example 11: Active Cell
Question: When you open a new blank workbook, which cell is selected by default?
Answer: Cell A1 β the top-left cell of the worksheet.
Example 12: Navigation with Name Box
Question: You need to quickly jump to cell Z500 in a large spreadsheet. What's the fastest way?
Answer: Click on the Name Box (which shows the current cell address), type Z500, and press Enter. The cursor will instantly jump to cell Z500.
Example 13: Status Bar Calculation
Question: You select cells A1:A5 containing values 10, 20, 30, 40, 50. What will the Status Bar show?
Answer: The Status Bar will display: Average: 30, Count: 5, Sum: 150 (these are the defaults shown in the bottom-right corner).
Example 14: Saving for the First Time
Question: You press Ctrl+S on a brand new workbook that has never been saved. What happens?
Answer: Excel opens the Save As dialog box, asking you to choose a file name, location, and format. After the first save, subsequent Ctrl+S presses will save directly without showing any dialog.
Example 15: Macro File Format
Question: A Zomato developer creates an Excel file with VBA macros for automated report generation. They save it as .xlsx. What problem will occur?
Answer: All VBA macros will be silently removed from the file! Excel will show a warning, but if the user ignores it and saves as .xlsx, the macros are lost. They must save as .xlsm (Macro-Enabled Workbook) to preserve the macros.
Practice Exercises
Exercise 1
Open Excel and identify all seven Ribbon tabs. Write down the name of each tab and list three commands you can find in each tab.
Exercise 2
Create a new workbook with three worksheets. Rename them to: "Personal_Info", "Academic_Marks", and "Hobbies". Change the tab color of "Personal_Info" to green, "Academic_Marks" to blue, and "Hobbies" to orange.
Exercise 3
Navigate to the following cells and type the given values: A1 = "Name", B1 = "Age", C1 = "City", A2 = "Rahul", B2 = 22, C2 = "Mumbai". Observe the Name Box as you click on different cells.
Exercise 4
Calculate the total number of cells in the range D5:J15. Show your work: Number of columns Γ Number of rows.
Answer: Columns D to J = 7 columns. Rows 5 to 15 = 11 rows. Total = 7 Γ 11 = 77 cells.
Exercise 5
Save the workbook from Exercise 2 in three different formats: .xlsx, .csv, and .pdf. Observe what changes when you open the CSV version (hint: formatting is lost).
Exercise 6
Type the numbers 10, 20, 30, 40, 50 in cells A1 to A5. Select the range A1:A5 and check the Status Bar at the bottom. Note down the Sum, Average, and Count displayed.
Exercise 7
Use the Name Box to navigate directly to cell M100. Type "Hello" in that cell. Then navigate to cell AB500 using the Name Box. How is this faster than scrolling?
Exercise 8
Customize your Quick Access Toolbar by adding: Print Preview, New, and Sort A-Z buttons. Describe the steps you followed.
Exercise 9
What is the column letter of the 100th column in Excel? Navigate to it using the Name Box (hint: type the address of row 1 of that column).
Answer: The 100th column is CV. (A=1, Z=26, AA=27, AZ=52, BA=53, BZ=78, CA=79, CV=100)
Exercise 10
Create a workbook representing a small school's data. Add worksheets named "Class_8A", "Class_8B", "Class_9A", "Class_9B", "Class_10A", "Class_10B". Color-code all Class 8 tabs in green, Class 9 tabs in yellow, and Class 10 tabs in red. Save the file as "School_Data.xlsx".
MCQ Quiz β Chapter 1
Hover over each question to reveal the answer.
How many rows are available in an Excel 2021 worksheet?
- 65,536
- 1,048,576
- 16,384
- 256
Which file format preserves VBA macros?
- .xlsx
- .csv
- .xlsm
What is the keyboard shortcut to open the Save As dialog box?
- Ctrl+S
- Ctrl+Shift+S
- F12
- Alt+S
Which part of the Excel interface shows the actual formula in a cell?
- Status Bar
- Name Box
- Formula Bar
- Title Bar
What is the address of the last column in Excel?
- ZZ
- IV
- XFD
- AAA
Interview Questions
Q1: What is the difference between a Workbook and a Worksheet in Excel?
Model Answer: A workbook is the entire Excel file (e.g., Sales_Report.xlsx). It's like a book. A worksheet is a single sheet/tab within that workbook (e.g., "January", "February"). It's like a page in the book. One workbook can contain multiple worksheets. When you save a file, you save the workbook, which includes all its worksheets.
Follow-up they might ask: "How many worksheets can a workbook have?" β Answer: There's no fixed limit; it depends on available memory. Practically, you can have hundreds of worksheets.
Q2: Explain the different file formats in Excel and when you would use each one.
Model Answer:
.xlsxβ Default format for most situations. No macros, XML-based, widely compatible..xlsmβ When the file contains VBA macros for automation..csvβ For data exchange with other software like Tally, SQL databases, or Python scripts. It strips all formatting..xlsbβ For very large files (100K+ rows) where performance matters. Binary format loads 3-5x faster..xlsβ Legacy format for compatibility with Excel 2003. Rarely needed today..pdfβ For sharing non-editable reports (invoices, final reports).
Q3: How would you handle a dataset with 2 million rows in Excel?
Model Answer: A single Excel worksheet supports only 1,048,576 rows. For 2 million rows, I would consider these approaches:
- Split the data across two worksheets (Sheet1: rows 1-1M, Sheet2: rows 1M-2M)
- Use Power Query to load the data in chunks and perform transformations without loading everything into memory
- Use Power Pivot / Data Model which can handle millions of rows using columnar compression
- Consider alternatives: For datasets this large, tools like SQL databases, Python (Pandas), or Power BI may be more appropriate
- Use .xlsb format if keeping it in Excel, as binary format handles large data more efficiently
Keyboard Shortcuts β Chapter 1
| Shortcut | Action | When to Use |
|---|---|---|
| Ctrl+N | New Workbook | Start a fresh workbook |
| Ctrl+O | Open File | Open an existing workbook |
| Ctrl+S | Save | Save current workbook (use frequently!) |
| F12 | Save As | Save with a new name, location, or format |
| Ctrl+W | Close Workbook | Close current file, keep Excel open |
| Ctrl+P | Open print preview and settings | |
| Ctrl+Z | Undo | Undo last action (up to 100 steps) |
| Ctrl+Y | Redo | Redo the last undone action |
| Alt+F4 | Exit Excel | Close Excel completely |
| Ctrl+A | Select All | Select all cells in the worksheet |
Mini Project β Personal Contact Directory
ποΈ Project: Build a Personal Contact Directory
Problem Statement
Create a professional contact directory spreadsheet to store personal and professional contacts. This project will test your ability to create workbooks, manage worksheets, enter data, and use basic navigation.
Requirements
- Create a new workbook and save it as
My_Contact_Directory.xlsx - Rename "Sheet1" to "Personal Contacts"
- Add a second sheet named "Professional Contacts"
- Add a third sheet named "Emergency Contacts"
- Color-code the tabs: Personal = Green, Professional = Blue, Emergency = Red
Data Structure (Headers in Row 1)
| Column A | Column B | Column C | Column D | Column E | Column F |
|---|---|---|---|---|---|
| Name | Phone Number | City | Birthday | Relationship |
Sample Data (Enter at least 10 contacts in "Personal Contacts")
| Name | Phone | City | Birthday | Relationship | |
|---|---|---|---|---|---|
| Rahul Sharma | 9876543210 | rahul.sharma@gmail.com | Mumbai | 15/03/1998 | Friend |
| Priya Patel | 8765432109 | priya.patel@yahoo.com | Ahmedabad | 22/07/2000 | Cousin |
| Amit Kumar | 7654321098 | amit.k@outlook.com | Delhi | 08/11/1995 | Colleague |
| Sneha Reddy | 9988776655 | sneha.r@gmail.com | Hyderabad | 30/01/1999 | Friend |
| Vikram Singh | 8877665544 | vikram.s@hotmail.com | Jaipur | 14/06/1997 | Brother |
Deliverables
- β
Workbook saved as
.xlsxwith three color-coded sheets - β At least 10 contacts entered in the "Personal Contacts" sheet
- β At least 5 contacts in "Professional Contacts" (with "Company" added as Column G)
- β At least 3 contacts in "Emergency Contacts"
- β
Also save a copy as
.csvand note what information is lost
Chapter Summary
π Key Takeaways β Chapter 1
- Excel is a spreadsheet application for organizing, calculating, and analyzing data β used by 1.1 billion people worldwide
- Excel evolved from 1985 (Mac) through multiple versions; current version is Microsoft 365 with cloud and AI features
- The Ribbon has 7 main tabs: Home, Insert, Page Layout, Formulas, Data, Review, View
- The Formula Bar shows cell contents/formulas; the Name Box shows the cell address
- A Workbook = the file (book); a Worksheet = a tab inside the file (page)
- Excel has 1,048,576 rows Γ 16,384 columns = over 17 billion cells per worksheet
- Cell addresses use A1 notation: column letter + row number (e.g., B5, D10)
- Key formats:
.xlsx(default),.xlsm(macros),.csv(data exchange),.xlsb(large files),.pdf(sharing) - Essential shortcuts: Ctrl+S (Save), Ctrl+N (New), F12 (Save As), Ctrl+Z (Undo)
- The Status Bar auto-shows Sum, Average, Count when you select numeric cells
Data Entry and Formatting
π¨ Making Data Beautiful and Meaningful
Data without formatting is like a newspaper without headlines β technically the information is there, but nobody wants to read it. In Indian companies, MIS reports (Management Information System) are sent to senior management every day. A well-formatted report with color-coded metrics, clear headers, and highlighted KPIs can make the difference between a 2-minute glance and a 20-minute deep dive by the CEO.
In this chapter, you'll learn how to enter all types of data efficiently and format it to look professional and communicate insights at a glance.
ZomatoFlipkartHDFC BankJioLearning Objectives
- Enter different data types: text, numbers, currency, percentages, dates, and times
- Use Auto-Fill to quickly generate series (numbers, months, days, dates)
- Use Flash Fill (Ctrl+E) to intelligently extract and combine data
- Apply Font formatting: name, size, color, bold, italic, underline
- Control Alignment: horizontal, vertical, wrap text, merge & center
- Add Borders and Fill Colors to cells
- Apply Number Formats: General, Number, Currency (βΉ), Accounting, Percentage, Date, Time, Custom
- Use Conditional Formatting to highlight data patterns automatically
- Use Format Painter to copy formatting efficiently
- Master keyboard shortcuts for formatting operations
Entering Different Types of Data
Excel recognizes different types of data and handles them differently. Understanding this is crucial because Excel's behavior (alignment, calculations, sorting) depends on the data type.
1. Text (Labels)
Text entries include names, addresses, headings, and any non-numeric data. Text is automatically left-aligned in the cell.
| Cell | You Type | Excel Stores | Alignment |
|---|---|---|---|
| A1 | Rahul Sharma | Rahul Sharma (text) | Left |
| A2 | Mumbai | Mumbai (text) | Left |
| A3 | Employee ID: 1001 | Employee ID: 1001 (text) | Left |
To force a number to be treated as text (e.g., phone numbers, PINs, employee IDs), type an apostrophe (') before the number. For example, type '09876543210 to prevent Excel from dropping the leading zero. You'll see a small green triangle in the cell corner indicating it's stored as text.
2. Numbers
Numeric entries include integers, decimals, and scientific notation. Numbers are automatically right-aligned in the cell.
| Cell | You Type | Excel Stores | Alignment |
|---|---|---|---|
| B1 | 5000 | 5000 (number) | Right |
| B2 | 3.14159 | 3.14159 (number) | Right |
| B3 | -250 | -250 (number) | Right |
3. Currency Values
You can enter currency values by typing the rupee symbol (βΉ) or by applying currency formatting after entering the number.
| Cell | You Type | Cell Displays | For Calculation |
|---|---|---|---|
| C1 | 50000 | βΉ50,000.00 (after formatting) | Uses 50000 |
| C2 | βΉ75000 | βΉ75,000 | Uses 75000 |
4. Percentages
Type a number followed by the % sign, or type a decimal and apply percentage format.
| You Type | Excel Stores | Cell Displays |
|---|---|---|
| 85% | 0.85 | 85% |
| 0.18 (then format as %) | 0.18 | 18% |
| 18 (then format as %) | 18 | 1800% β οΈ |
Percentage confusion: If you type 18 in a cell and then apply percentage format, Excel displays 1800% because it multiplies by 100. This is because Excel stores 18 as the actual value, and percentage format multiplies it by 100 for display. To get 18%, either type 18% directly or type 0.18 and then format as percentage.
5. Dates
Excel stores dates as serial numbers (January 1, 1900 = 1). This allows date arithmetic (e.g., calculating days between two dates). In India, we commonly use the DD/MM/YYYY format.
| You Type | Excel Stores | Display (India Format) |
|---|---|---|
| 15/08/2024 | 45519 (serial number) | 15-08-2024 |
| 26/01/1950 | 18288 | 26-01-1950 |
| 01/04/2024 | 45383 | 01-04-2024 |
To enter today's date quickly, press Ctrl+; (semicolon). To enter the current time, press Ctrl+Shift+;. These are static values β they won't change when you reopen the file tomorrow.
6. Times
Times are stored as decimal fractions of a day. 12:00 PM = 0.5 (half a day), 6:00 AM = 0.25 (quarter of a day).
| You Type | Excel Stores | Display |
|---|---|---|
| 10:30 AM | 0.4375 | 10:30:00 AM |
| 14:45 | 0.614583... | 2:45:00 PM |
| 9:00 | 0.375 | 9:00:00 AM |
The concept that dates are serial numbers is counterintuitive for students. Demonstrate by entering a date (e.g., 15/08/2024), then change the cell format to "Number" β they'll see 45519. Then ask: "If today is serial number 45519, what serial number is tomorrow?" This makes the concept click.
Auto-Fill and Flash Fill
Auto-Fill (Drag Handle)
The Auto-Fill feature lets you quickly fill a series of values by dragging the fill handle β the small green square at the bottom-right corner of the selected cell.
Number Series
To create a number series (1, 2, 3, ...), type the first two values to establish the pattern, select both cells, then drag the fill handle down.
| You Enter | Auto-Fill Produces |
|---|---|
| 1, 2 | 3, 4, 5, 6, 7, ... |
| 5, 10 | 15, 20, 25, 30, ... |
| 100, 90 | 80, 70, 60, 50, ... |
| 2, 4 | 6, 8, 10, 12, ... |
Month Series
Type any month name and drag β Excel knows all 12 months!
| You Enter | Auto-Fill Produces |
|---|---|
| January | February, March, April, May, ... |
| Jan | Feb, Mar, Apr, May, ... |
| Apr | May, Jun, Jul, Aug, ... |
Day Series
| You Enter | Auto-Fill Produces |
|---|---|
| Monday | Tuesday, Wednesday, Thursday, ... |
| Mon | Tue, Wed, Thu, Fri, ... |
| Sunday | Monday, Tuesday, Wednesday, ... |
Date Series
| You Enter | Auto-Fill Produces |
|---|---|
| 01/01/2024 | 02/01/2024, 03/01/2024, 04/01/2024, ... |
| 01/01/2024, 01/02/2024 | 01/03/2024, 01/04/2024, ... (month series) |
Auto-Fill can even continue custom text patterns! If you type "Q1" and drag, Excel will produce "Q2", "Q3", "Q4", "Q1", "Q2"... It recognizes patterns like "Product 1" β "Product 2" β "Product 3" and "Week 1" β "Week 2" β "Week 3".
Flash Fill (Ctrl+E) β Excel's Magic Wand
Flash Fill was introduced in Excel 2013. It automatically detects patterns in your data and fills the remaining cells. It's incredibly useful for splitting, combining, or reformatting text data.
Example 1: Splitting Full Names
| A (Full Name) | B (First Name) | C (Last Name) | |
|---|---|---|---|
| 1 | Rahul Sharma | Rahul | |
| 2 | Priya Patel | (Flash Fill!) | |
| 3 | Amit Kumar | ||
| 4 | Sneha Reddy |
Steps: Type "Rahul" in B1 (the first name from A1). Click on B2 and press Ctrl+E. Excel instantly fills B2 with "Priya", B3 with "Amit", B4 with "Sneha" β it recognized the pattern!
Example 2: Extracting Email Domains
| A (Email) | B (Domain) | |
|---|---|---|
| 1 | rahul@gmail.com | gmail.com |
| 2 | priya@yahoo.in | (Ctrl+E here) |
| 3 | amit@outlook.com |
Type "gmail.com" in B1, click B2, press Ctrl+E. Excel fills "yahoo.in", "outlook.com" automatically.
Example 3: Reformatting Phone Numbers
| A (Raw Number) | B (Formatted) | |
|---|---|---|
| 1 | 9876543210 | +91-98765-43210 |
| 2 | 8765432109 | (Ctrl+E here) |
| 3 | 7654321098 |
Type "+91-98765-43210" in B1, click B2, press Ctrl+E. Excel reformats all phone numbers with the country code and dashes!
Flash Fill not working? Flash Fill needs at least one example to detect the pattern. If it doesn't work on the first try, provide 2-3 examples in the first few rows, then press Ctrl+E. Also ensure your data is in adjacent columns β Flash Fill works best when the source data is in the column immediately to the left.
Cell Formatting
Formatting changes how data looks without changing the underlying data. A cell containing "50000" can be displayed as "βΉ50,000.00" or "50,000" or "5.00E+04" β the stored value remains 50000.
Font Formatting
| Property | How to Change | Shortcut | Example Use Case |
|---|---|---|---|
| Font Name | Home β Font dropdown | β | Change to Calibri, Arial, Times New Roman |
| Font Size | Home β Size dropdown | β | Headers: 14-16pt, Body: 11pt, Footnotes: 9pt |
| Bold | Home β B button | Ctrl+B | Column headers, totals, important values |
| Italic | Home β I button | Ctrl+I | Notes, comments, source citations |
| Underline | Home β U button | Ctrl+U | Grand total row, titles |
| Font Color | Home β A button (with color bar) | β | Red for negatives, green for positives |
| Fill Color | Home β Paint bucket icon | Alt+H, H | Header background, alternating row colors |
Alignment
| Option | What It Does | Best For |
|---|---|---|
| Horizontal: Left | Aligns text to the left edge | Text, names, descriptions |
| Horizontal: Center | Centers text in the cell | Headers, single-word entries, IDs |
| Horizontal: Right | Aligns text to the right edge | Numbers, currency, percentages |
| Vertical: Top/Middle/Bottom | Controls vertical position in tall cells | Cells with wrapped text |
| Wrap Text | Displays long text on multiple lines within the cell | Long descriptions, addresses |
| Merge & Center | Combines multiple cells into one and centers the content | Report titles, section headers |
Overusing Merge & Center: While it looks great for titles, merged cells cause problems with sorting, filtering, and formulas. If you select a column with merged cells and try to sort, Excel will show an error: "To do this, all the merged cells need to be the same size." Use "Center Across Selection" (Format Cells β Alignment tab) instead β it gives the same visual effect without actually merging cells.
Borders
Borders add lines around cells to create a structured, professional look. Access them from Home β Borders dropdown.
| Border Type | Use Case |
|---|---|
| All Borders | Standard table look β lines around every cell |
| Outside Borders | Border only around the outer edge of the selection |
| Thick Box Border | Emphasize a section or total row |
| Bottom Border | Underline headers or subtotals |
| Top and Bottom Border | Classic accounting style for subtotals |
| No Border | Remove existing borders |
Format Painter β Copy Formatting Instantly
The Format Painter copies formatting from one cell/range and applies it to another. It copies everything: font, color, borders, number format, alignment.
- Select the cell with the formatting you want to copy
- Click the Format Painter button (paintbrush icon, Home tab β Clipboard group)
- Click on (or drag over) the cell(s) where you want to apply the formatting
Double-click the Format Painter to lock it on! This lets you apply the same formatting to multiple non-adjacent areas. Click multiple cells/ranges, and the formatting keeps applying. Press Esc when done to turn it off.
Number Formats
Number formatting changes how numbers are displayed without changing the underlying value. Access via Home β Number group, or press Ctrl+1 for the Format Cells dialog.
| Format | Raw Value | Display | Shortcut |
|---|---|---|---|
| General | 50000 | 50000 | β |
| Number | 50000 | 50,000.00 | β |
| Currency (βΉ) | 50000 | βΉ50,000.00 | Ctrl+Shift+$ |
| Accounting | 50000 | βΉ 50,000.00 | β |
| Percentage | 0.18 | 18.00% | Ctrl+Shift+% |
| Date (Short) | 45519 | 15-08-2024 | β |
| Date (Long) | 45519 | 15 August 2024 | β |
| Time | 0.4375 | 10:30:00 AM | β |
Currency vs Accounting Format
Both display the βΉ symbol, but they differ:
| Feature | Currency | Accounting |
|---|---|---|
| βΉ symbol position | Right next to the number: βΉ50,000 | Aligned to the left of the cell: βΉ 50,000 |
| Zero display | βΉ0.00 | βΉ - |
| Negative numbers | -βΉ50,000 or (βΉ50,000) | (βΉ50,000) β always in parentheses |
| Best for | General currency display | Financial statements where alignment matters |
Custom Number Formats
For advanced control, use Custom formats (Ctrl+1 β Custom tab). Here are useful custom formats for Indian context:
| Custom Format Code | Input | Display | Use Case |
|---|---|---|---|
#,##0 | 50000 | 50,000 | Whole numbers with commas |
#,##0.00 | 50000 | 50,000.00 | Two decimal places |
"βΉ"#,##0 | 50000 | βΉ50,000 | Custom rupee format |
"βΉ"#,##0.00 | 50000 | βΉ50,000.00 | Rupee with decimals |
0.00% | 0.185 | 18.50% | Percentage with 2 decimals |
DD/MM/YYYY | 45519 | 15/08/2024 | Indian date format |
[>0]"βΉ"#,##0;[<0]-"βΉ"#,##0;"Zero" | -5000 | -βΉ5,000 | Different formats for positive, negative, zero |
Positive_Format ; Negative_Format ; Zero_Format ; Text_Format
Demonstrate the difference between formatting and actual value: Enter 50000 in a cell, apply currency format to show βΉ50,000.00, then show the Formula Bar β it still says 50000. This reinforces that formatting is a "mask" over the real data. Students often think formatting changes the number itself.
Conditional Formatting
Conditional Formatting automatically changes the appearance of cells based on their values. It's like setting up "rules" that say: "If this condition is true, then format the cell this way."
1. Highlight Cell Rules
Navigate to: Home β Conditional Formatting β Highlight Cell Rules
| Rule | What It Does | Example |
|---|---|---|
| Greater Than | Highlights cells with value above a threshold | Marks > 75: highlight in green |
| Less Than | Highlights cells with value below a threshold | Marks < 33: highlight in red (fail) |
| Between | Highlights cells with values in a range | Salary between 30000-50000: highlight yellow |
| Equal To | Highlights cells matching a specific value | Grade = "A1": highlight in gold |
| Text That Contains | Highlights cells containing specific text | City contains "Delhi": highlight blue |
| Duplicate Values | Highlights duplicate or unique values | Find duplicate roll numbers in a class |
Step-by-Step: Highlighting Pass/Fail Marks
Suppose you have CBSE marks in cells B2:B50 and you want to highlight marks below 33 in red (fail) and above 90 in green (distinction).
| A (Student) | B (Marks) | |
|---|---|---|
| 1 | Rahul | 92 |
| 2 | Priya | 45 |
| 3 | Amit | 28 |
| 4 | Sneha | 88 |
| 5 | Vikram | 31 |
- Select the range B2:B6
- Go to Home β Conditional Formatting β Highlight Cell Rules β Less Than
- Enter
33β choose "Light Red Fill with Dark Red Text" β click OK - With B2:B6 still selected, go to Home β Conditional Formatting β Highlight Cell Rules β Greater Than
- Enter
90β choose "Green Fill with Dark Green Text" β click OK
Result: Amit (28) and Vikram (31) are highlighted in red; Rahul (92) is highlighted in green!
2. Top/Bottom Rules
| Rule | Example Use |
|---|---|
| Top 10 Items | Highlight the top 10 selling products |
| Bottom 10 Items | Highlight 10 worst-performing stores |
| Top 10% | Highlight top 10% earners in a company |
| Above Average | Highlight students scoring above class average |
| Below Average | Highlight below-average monthly sales |
3. Data Bars
Data Bars add horizontal bars inside cells, creating an inline bar chart. The bar length is proportional to the cell value. Perfect for quickly comparing values visually.
Navigate to: Home β Conditional Formatting β Data Bars β choose Gradient Fill or Solid Fill.
4. Color Scales
Color Scales apply a gradient of 2 or 3 colors based on value distribution. For example, a Green-Yellow-Red scale shows highest values in green and lowest in red β like a heatmap.
5. Icon Sets
Icon Sets add small icons (arrows, traffic lights, stars, flags) based on cell values. For example, use traffic light icons to show: Green = Good (>80%), Yellow = Average (40-80%), Red = Poor (<40%).
To clear conditional formatting from selected cells: Home β Conditional Formatting β Clear Rules β Clear Rules from Selected Cells. To clear from the entire worksheet: Clear Rules from Entire Sheet.
Solved Examples β Chapter 2
Example 1: Creating a Month Series
Task: Fill cells A1:A12 with all 12 month names starting from April (Indian financial year).
Solution: Type "April" in A1. Select A1 β drag the fill handle (small green square) down to A12. Excel automatically fills: April, May, June, July, August, September, October, November, December, January, February, March.
Example 2: Flash Fill β Extract First Names
Task: Column A has full names: "Rajesh Kumar", "Anita Desai", "Suresh Mehta". Extract first names in column B.
Solution: In B1, type "Rajesh". Click B2, press Ctrl+E. Excel fills "Anita" in B2 and "Suresh" in B3.
Example 3: Formatting a Salary Column
Task: Format the values 25000, 45000, 75000, 120000, 32000 as Indian Rupees with commas.
Solution: Select the cells β press Ctrl+1 β Number tab β Category: Currency β Symbol: βΉ English (India) β Decimal places: 0 β OK. Result: βΉ25,000, βΉ45,000, βΉ75,000, βΉ1,20,000, βΉ32,000.
Example 4: Merge & Center a Title
Task: Create a centered title "FLIPKART SALES REPORT β Q4 2024" spanning columns A to F.
Solution: Type the title in A1. Select A1:F1. Home β Merge & Center. Set font to Calibri 16pt Bold, dark green font color.
Example 5: Conditional Formatting for GST Rates
Task: You have a column with GST rates (5%, 12%, 18%, 28%). Color-code them: 5% = light green, 12% = light blue, 18% = light yellow, 28% = light red.
Solution: Select the GST rate column. Apply 4 separate "Equal To" conditional formatting rules β one for each rate value with the corresponding fill color.
Example 6: Wrap Text for Long Addresses
Task: Cell A1 contains "Flat 204, Sunrise Apartments, Sector 15, Vashi, Navi Mumbai, Maharashtra - 400703". The text is getting cut off.
Solution: Select A1 β Home β Wrap Text (or Ctrl+1 β Alignment β check "Wrap text"). The cell will expand vertically to show the full address on multiple lines.
Example 7: Data Bars for Sales Comparison
Task: Five Zomato delivery partners have daily delivery counts: 25, 42, 18, 55, 33. Add data bars to visually compare performance.
Solution: Enter the values in B2:B6. Select B2:B6 β Home β Conditional Formatting β Data Bars β Gradient Fill (Green). The partner with 55 deliveries will have the longest bar.
Example 8: Number Series with Auto-Fill
Task: Create roll numbers from 101 to 150 in column A.
Solution: Type 101 in A1, 102 in A2. Select A1:A2. Drag the fill handle down to A50. Excel fills: 103, 104, 105, ... 150.
Example 9: Format Painter Usage
Task: Cell A1 has a perfect header format (Calibri 14pt, Bold, Dark Green, Center Aligned, Light Green fill). Apply the same formatting to cells D1, G1, and J1.
Solution: Select A1. Double-click Format Painter (to lock it). Click D1, then G1, then J1. Press Esc. All three cells now have the same formatting.
Example 10: Custom Number Format for Phone Numbers
Task: Format the number 9876543210 to display as +91-98765-43210.
Solution: This cannot be done purely with number formatting (because the grouping is non-standard). Use Flash Fill: In the next column, type the formatted version for the first phone number, then use Ctrl+E for the rest. Alternatively, use a formula: ="+91-"&LEFT(A1,5)&"-"&RIGHT(A1,5)
Example 11: Highlighting Duplicate Roll Numbers
Task: A class register has roll numbers in A2:A50. Quickly find if any duplicates exist.
Solution: Select A2:A50 β Home β Conditional Formatting β Highlight Cell Rules β Duplicate Values β choose "Light Red Fill" β OK. Any duplicate roll numbers will instantly turn red.
Example 12: Creating a Decreasing Number Series
Task: Create a countdown: 100, 95, 90, 85, ... down to 5.
Solution: Type 100 in A1, 95 in A2. Select A1:A2 β drag the fill handle down. Excel recognizes the pattern (decrement by 5) and fills: 90, 85, 80, 75, ... 5.
Example 13: Applying Borders to a Table
Task: Create a professional-looking table for a Reliance Jio customer data sheet with all borders and a thick border around the entire table.
Solution: Select the entire data range β Home β Borders β All Borders. Then, with the range still selected β Borders β Thick Box Border. Result: every cell has thin inner borders, and the entire table has a thick outer border.
Example 14: Color Scale for Temperature Data
Task: Daily temperatures for Delhi (May): 38, 40, 42, 44, 41, 39, 45, 43. Apply a color scale showing cooler temps in blue and hotter in red.
Solution: Enter temperatures in B2:B9. Select the range β Home β Conditional Formatting β Color Scales β "Red - Yellow - Blue Color Scale" (but select the reverse: Blue to Red). Now 45Β°C appears darkest red and 38Β°C appears blue.
Example 15: Date Entry and Formatting
Task: Enter Indian Independence Day (15/08/1947) and format it as "15 August 1947".
Solution: Type 15/08/1947 in A1. Press Ctrl+1 β Number β Date β select the format that shows "14 March 2012" style β OK. The cell now displays "15 August 1947".
Example 16: Percentage Entry
Task: Enter the following GST rates correctly: 5%, 12%, 18%, 28%.
Solution: Type 5%, 12%, 18%, 28% directly. Excel stores them as 0.05, 0.12, 0.18, 0.28 internally, which is correct for calculations.
Example 17: Flash Fill β Combining Data
Task: Column A has first names (Rahul, Priya), Column B has cities (Mumbai, Delhi). Create Column C with "Rahul - Mumbai", "Priya - Delhi".
Solution: In C1, type "Rahul - Mumbai". Click C2, press Ctrl+E. Flash Fill creates "Priya - Delhi" automatically.
Example 18: Icon Sets for KPIs
Task: A Flipkart team has performance scores: 95, 72, 45, 88, 30. Apply traffic light icons.
Solution: Select the range β Conditional Formatting β Icon Sets β 3 Traffic Lights. Excel automatically assigns: Green β₯ 67%, Yellow β₯ 33%, Red < 33%.
Example 19: Auto-Fill with Days
Task: Create a weekly schedule header with day names from Monday to Sunday.
Solution: Type "Monday" in B1. Drag the fill handle right to H1. Excel fills: Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
Example 20: Custom Format for Indian Accounting
Task: Display negative numbers in red with parentheses for a profit/loss column: 50000 should show as βΉ50,000 and -25000 should show as (βΉ25,000) in red.
Solution: Ctrl+1 β Custom β type: "βΉ"#,##0;[Red]("βΉ"#,##0) β OK.
Practice Exercises β Chapter 2
Exercise 1
Create a monthly sales table for a chai stall. Headers: Month, Cups Sold, Rate per Cup (βΉ), Total Revenue. Use Auto-Fill for months (April to March). Enter sample data for cups sold (200-500 range). Format revenue as Indian Currency (βΉ).
Exercise 2
Enter the following data in Column A: "Aarav Patel - Mumbai", "Diya Shah - Pune", "Kabir Singh - Delhi", "Ananya Gupta - Kolkata". Use Flash Fill to extract names into Column B and cities into Column C.
Exercise 3
Create a class attendance register. Row 1: Student Name headers. Row 2 onward: 10 student names. Columns B-F: Weekday names (Monday-Friday) using Auto-Fill. Enter "P" (Present) or "A" (Absent) for each student. Apply Conditional Formatting: "P" = Green fill, "A" = Red fill.
Exercise 4
Enter these CBSE marks and apply conditional formatting: 92, 45, 78, 31, 85, 28, 67, 93, 55, 40. Rules: Below 33 = Red (Fail), 33-59 = Yellow (Pass), 60-79 = Light Blue (First Division), 80-100 = Green (Distinction).
Exercise 5
Create a custom number format that displays: positive numbers in green with βΉ symbol, negative numbers in red with parentheses, and zero as a dash (-). Test with values: 50000, -25000, 0, 75000, -10000.
Exercise 6
Format the following dates in three different formats: 26/01/1950 (Republic Day). Show as: (a) 26-Jan-1950, (b) January 26, 1950, (c) 26/01/50.
Exercise 7
Use Auto-Fill to create these series: (a) 2, 4, 6, 8, ... 100 (b) 1000, 900, 800, ... 0 (c) Q1 FY24, Q2 FY24, Q3 FY24, Q4 FY24 (d) Week 1, Week 2, ... Week 52.
Exercise 8
Create a Zomato Restaurant Rating table with columns: Restaurant Name, Rating (1-5), Number of Reviews. Apply Data Bars to the Rating column and Icon Sets (stars) to visually show ratings.
Exercise 9
Enter 10 Indian phone numbers (10 digits). Use Flash Fill to format them as: (a) +91-XXXXX-XXXXX (b) (0XX) XXXX-XXXX format.
Exercise 10
Create a beautifully formatted header for "TATA MOTORS β QUARTERLY SALES REPORT". Use Merge & Center across 8 columns, font size 18, dark green background, white text, thick bottom border.
Exercise 11
Enter salaries for 10 employees: 25000, 32000, 45000, 28000, 67000, 52000, 38000, 95000, 42000, 31000. Apply a Color Scale (Red-Yellow-Green) to quickly identify the salary distribution.
Exercise 12
Use the Format Painter to copy formatting from one professionally formatted cell to 5 different non-adjacent cells. Practice both single-click (one-time) and double-click (multi-use) modes.
MCQ Quiz β Chapter 2
What keyboard shortcut activates Flash Fill in Excel?
- Ctrl+F
- Ctrl+E
- Ctrl+D
- Ctrl+R
If you type "18" in a cell and then apply Percentage format, what will be displayed?
- 18%
- 0.18%
- 1800%
- 180%
Which shortcut opens the Format Cells dialog box?
- Ctrl+F
- Ctrl+1
- Ctrl+Shift+F
- F5
How does Excel internally store the date "15/08/2024"?
- As the text string "15/08/2024"
- As a serial number (e.g., 45519)
- As three separate numbers: 15, 8, 2024
- As a binary timestamp
What happens if you merge cells A1:D1 and then try to sort Column A?
- Excel sorts normally
- Excel shows an error about merged cells
- Excel unmerges the cells automatically
- Only the merged cell is sorted
Interview Questions β Chapter 2
Q1: How does Excel store dates internally, and why does this matter?
Model Answer: Excel stores dates as serial numbers. January 1, 1900 is serial number 1, January 2, 1900 is 2, and so on. For example, August 15, 2024 is stored as 45519 (meaning it's 45,519 days after December 31, 1899).
This matters because:
- Date arithmetic: You can subtract two dates to find the gap in days (e.g., =B2-A2 gives the number of days between two dates)
- Sorting: Dates sort correctly because Excel compares serial numbers, not text strings
- Formatting flexibility: The same serial number can be displayed as "15/08/2024", "August 15, 2024", "15-Aug-24", etc.
Common gotcha: If a date is stored as text (e.g., imported from a CSV), date arithmetic won't work. You need to convert it to a true date using DATEVALUE() function.
Q2: What is Flash Fill and when would you use it over formulas?
Model Answer: Flash Fill (Ctrl+E, introduced in Excel 2013) automatically detects patterns in your data and fills cells accordingly. You provide one or two examples, and Excel figures out the pattern and applies it to the remaining data.
Use Flash Fill when:
- Splitting names: "Rahul Sharma" β "Rahul" and "Sharma"
- Reformatting: "9876543210" β "+91-98765-43210"
- Extracting parts: "rahul@gmail.com" β "gmail.com"
Use formulas instead when:
- Data will change (Flash Fill creates static values; formulas update automatically)
- You need the transformation to be reproducible and auditable
- You're working with a dynamic dataset that grows over time
Q3: Explain Conditional Formatting with a real business use case.
Model Answer: Conditional Formatting applies visual formatting (colors, icons, bars) to cells based on their values. It makes patterns and outliers instantly visible.
Real business use case β Zomato Daily Operations Dashboard:
- Delivery times: Green for < 30 minutes, Yellow for 30-45 minutes, Red for > 45 minutes
- Customer ratings: Icon Sets with 5 stars to show restaurant ratings at a glance
- Order values: Data Bars to compare order sizes across cities
- Revenue targets: Color Scale (RedβYellowβGreen) to show how close each city is to its monthly target
- Duplicate detection: Highlight Duplicate Values to find orders placed twice by mistake
The key advantage: as data updates, the formatting updates automatically β no manual recoloring needed.
Keyboard Shortcuts β Chapter 2
| Shortcut | Action | When to Use |
|---|---|---|
| Ctrl+B | Bold | Headers, totals, important values |
| Ctrl+I | Italic | Notes, emphasis, source references |
| Ctrl+U | Underline | Titles, subtotals |
| Ctrl+1 | Format Cells Dialog | Access ALL formatting options |
| Alt+H, H | Fill Color | Change cell background color |
| Ctrl+E | Flash Fill | Pattern-based data extraction |
| Ctrl+; | Insert Today's Date | Quick date stamp |
| Ctrl+Shift+; | Insert Current Time | Quick time stamp |
| Ctrl+Shift+$ | Currency Format | Format numbers as currency |
| Ctrl+Shift+% | Percentage Format | Format numbers as percentage |
| Ctrl+Shift+# | Date Format | Format as date (DD-MMM-YY) |
| Ctrl+D | Fill Down | Copy cell above into current cell |
Mini Project β Student Report Card
ποΈ Project: Create a Beautifully Formatted Student Report Card
Problem Statement
Design a professional CBSE-style student report card for Class 10 using all the formatting techniques learned in this chapter. The report card should be visually appealing and use conditional formatting to automatically highlight performance levels.
Requirements
1. Report Card Header (Rows 1-5)
- School Name: "DELHI PUBLIC SCHOOL, Vasant Kunj" β Merge & Center across A1:H1, Font: 18pt Bold, Dark Green, Light green fill
- Subtitle: "ANNUAL REPORT CARD β Academic Year 2024-25" β Merge & Center A2:H2, 12pt
- Student Info: Name, Roll No, Class, Section in rows 3-5
2. Marks Table (Row 7 onwards)
| Subject | Max Marks | Theory | Practical | Internal | Total | Percentage | Grade |
|---|---|---|---|---|---|---|---|
| Mathematics | 100 | 65 | β | 18 | 83 | 83% | A2 |
| Science | 100 | 55 | 18 | 15 | 88 | 88% | A1 |
| English | 100 | 70 | β | 20 | 90 | 90% | A1 |
| Hindi | 100 | 48 | β | 14 | 62 | 62% | B1 |
| Social Science | 100 | 72 | β | 19 | 91 | 91% | A1 |
3. Formatting Requirements
- Header row: Dark background (#0f172a), white text, center aligned, bold
- All borders on the table, thick box border around the entire table
- Alternating row colors (light gray / white)
- Total row with bold text and top+bottom borders
- Currency format for any fee-related fields
4. Conditional Formatting Rules
- Percentage < 33% β Red fill (Fail)
- Percentage 33-59% β Yellow fill (Pass)
- Percentage 60-79% β Light Blue fill (First Division)
- Percentage 80-89% β Light Green fill (Distinction)
- Percentage β₯ 90% β Gold fill (Outstanding)
- Data Bars on the Percentage column
5. Grading Scale (Add as a reference table below)
| Percentage Range | Grade | Description |
|---|---|---|
| 91-100 | A1 | Outstanding |
| 81-90 | A2 | Excellent |
| 71-80 | B1 | Very Good |
| 61-70 | B2 | Good |
| 51-60 | C1 | Average |
| 41-50 | C2 | Below Average |
| 33-40 | D | Pass |
| Below 33 | E | Fail |
Deliverables
- β Professional report card with merged header, all formatting applied
- β Conditional formatting on Percentage column with 5 rules
- β Data Bars on Percentage column
- β Grading scale reference table below the report card
- β
Saved as both
.xlsxand.pdf
Chapter Summary
π Key Takeaways β Chapter 2
- Excel recognizes data types automatically: Text (left-aligned), Numbers (right-aligned), Dates (serial numbers)
- Auto-Fill creates series by dragging the fill handle β works for numbers, months, days, dates, and patterns
- Flash Fill (Ctrl+E) detects patterns from examples β perfect for splitting names, extracting emails, reformatting phone numbers
- Use apostrophe (') before numbers to store them as text (phone numbers, PINs, leading zeros)
- Dates are stored as serial numbers (Jan 1, 1900 = 1); Times are decimal fractions of a day (12:00 PM = 0.5)
- Formatting changes display only β the underlying data remains unchanged
- Merge & Center is great for titles but causes sorting/filtering problems β use Center Across Selection instead
- Number formats: General, Number, Currency (βΉ), Accounting, Percentage, Date, Time, Custom
- Conditional Formatting auto-highlights: Highlight Rules, Top/Bottom Rules, Data Bars, Color Scales, Icon Sets
- Format Painter: Single-click = one use; Double-click = multiple uses (press Esc to stop)
- Key shortcuts: Ctrl+1 (Format Cells), Ctrl+E (Flash Fill), Ctrl+; (Today's date)
Basic Calculations in Excel
π’ Excel: The World's Most Used Calculator
Every day, millions of accountants across India calculate GST at 5%, 12%, 18%, and 28%. Lakhs of shopkeepers compute discounts on MRP. Thousands of HR managers calculate TDS, PF deductions, and net salaries for employees. All of these calculations start with simple formulas in Excel.
In this chapter, you'll learn how Excel formulas work β from basic arithmetic to the critical concept of cell references that makes Excel truly powerful. Mastering this chapter means you'll never need a physical calculator again.
GST CouncilTallyHDFC BankSBILICLearning Objectives
- Understand that every Excel formula begins with the equals sign (=)
- Perform arithmetic operations: addition, subtraction, multiplication, division, and exponentiation
- Calculate percentages, discounts, and GST (5%, 12%, 18%, 28%)
- Use AutoSum (Alt+=) for SUM, AVERAGE, COUNT, MIN, MAX
- Differentiate between Relative (A1), Absolute ($A$1), and Mixed ($A1, A$1) cell references
- Understand and apply the order of operations (BODMAS/PEMDAS) in Excel
- Identify and troubleshoot common Excel errors: #DIV/0!, #VALUE!, #REF!, #NAME?, #NULL!, #N/A, #NUM!
- Build practical calculations for Indian contexts: GST, salary, marks percentage, EMI
Understanding Formulas
A formula is an instruction that tells Excel to perform a calculation. Every formula in Excel has three key characteristics:
- Starts with an equals sign (=) β This tells Excel "I'm not typing data; I want you to calculate something"
- Contains cell references and/or values β These are the inputs for the calculation
- Uses operators or functions β These define what calculation to perform
Formula vs. Value
| What You Type in Cell | What Cell Shows | What Formula Bar Shows | Type |
|---|---|---|---|
| 500 | 500 | 500 | Value (static) |
| =200+300 | 500 | =200+300 | Formula (calculated) |
| =A1+B1 | 500 (if A1=200, B1=300) | =A1+B1 | Formula with cell references |
| Hello | Hello | Hello | Text |
| =SUM(A1:A10) | (Sum of values) | =SUM(A1:A10) | Formula with function |
If you type =200+300 and want to see the formula itself (not the result), press Ctrl+` (backtick, below the Esc key). This toggles between showing formulas and showing values for the entire worksheet. Press again to go back to normal view.
How to Enter a Formula
- Click on the cell where you want the result
- Type = (equals sign)
- Type the formula (e.g.,
=A1+B1) or click on cells to build the reference - Press Enter to confirm (or Tab to confirm and move right)
- Press Esc to cancel without entering the formula
Have students type 200+300 (without =) first. They'll see it's treated as text (left-aligned). Then have them type =200+300. When they see 500 appear (right-aligned), and the Formula Bar shows the formula β that "aha!" moment is powerful. Emphasize: "The equals sign is what turns text into a calculation."
Arithmetic Operations
| Operation | Operator | Example Formula | Result | Real-World Use |
|---|---|---|---|---|
| Addition | + | =50+30 | 80 | Total marks, sum of expenses |
| Subtraction | - | =100-35 | 65 | Net salary, balance amount |
| Multiplication | * | =25*4 | 100 | Quantity Γ Price, area calculation |
| Division | / | =100/4 | 25 | Average, per unit cost, percentage |
| Exponentiation | ^ | =5^2 | 25 | Compound interest, area of square |
Real-Life Calculation: Shopkeeper's Daily Revenue
| A (Product) | B (Quantity) | C (Rate βΉ) | D (Amount βΉ) | |
|---|---|---|---|---|
| 1 | Product | Qty | Rate | Amount |
| 2 | Parle-G Biscuit | 50 | 10 | =B2*C2 β 500 |
| 3 | Amul Butter 500g | 20 | 280 | =B3*C3 β 5600 |
| 4 | Tata Salt 1kg | 30 | 28 | =B4*C4 β 840 |
| 5 | Maggi Noodles | 40 | 14 | =B5*C5 β 560 |
| 6 | Total Revenue | =D2+D3+D4+D5 β 7500 |
=value1 + value2 + value3 ...
Worked Examples:
| # | Scenario | Formula | Result |
|---|---|---|---|
| 1 | Total marks: English (78) + Hindi (65) + Maths (92) | =78+65+92 | 235 |
| 2 | Monthly income: Salary (βΉ45,000) + Freelance (βΉ12,000) | =45000+12000 | 57000 |
| 3 | Sum of cells A1 (100), A2 (200), A3 (300) | =A1+A2+A3 | 600 |
=value1 - value2
Worked Examples:
| # | Scenario | Formula | Result |
|---|---|---|---|
| 1 | Net Salary: Gross (βΉ50,000) - Deductions (βΉ8,500) | =50000-8500 | 41500 |
| 2 | Discount: MRP (βΉ999) - Selling Price (βΉ749) | =999-749 | 250 |
| 3 | Balance: Opening Balance (B1) - Withdrawal (B2) | =B1-B2 | (depends on data) |
=value1 * value2
Worked Examples:
| # | Scenario | Formula | Result |
|---|---|---|---|
| 1 | Revenue: 150 units Γ βΉ200 per unit | =150*200 | 30000 |
| 2 | Area of room: 12 feet Γ 10 feet | =12*10 | 120 sq ft |
| 3 | Total cost: Qty in A1 Γ Rate in B1 | =A1*B1 | (depends on data) |
=value1 / value2
Worked Examples:
| # | Scenario | Formula | Result |
|---|---|---|---|
| 1 | Percentage: 425 marks out of 500 | =425/500*100 | 85 |
| 2 | Per unit cost: βΉ15,000 for 200 items | =15000/200 | 75 |
| 3 | Average: Total (600) Γ· Subjects (5) | =600/5 | 120 |
=base ^ power
Worked Examples:
| # | Scenario | Formula | Result |
|---|---|---|---|
| 1 | Square of 15 | =15^2 | 225 |
| 2 | Cube of 5 | =5^3 | 125 |
| 3 | Compound Amount: 10000 Γ (1+0.08)^5 | =10000*(1+0.08)^5 | 14693.28 |
Percentage Calculations & GST
Basic Percentage Formula
=Part / Total * 100
Worked Examples:
Example 1: CBSE Marks Percentage
| A (Subject) | B (Marks Obtained) | C (Max Marks) | D (Percentage) | |
|---|---|---|---|---|
| 1 | Mathematics | 83 | 100 | =B1/C1*100 β 83% |
| 2 | Science | 78 | 100 | =B2/C2*100 β 78% |
| 3 | English | 90 | 100 | =B3/C3*100 β 90% |
| 4 | Hindi | 62 | 100 | =B4/C4*100 β 62% |
| 5 | Social Science | 91 | 100 | =B5/C5*100 β 91% |
| 6 | Overall | =SUM(B1:B5) β 404 | =SUM(C1:C5) β 500 | =B6/C6*100 β 80.8% |
Example 2: Discount Calculation on Flipkart
| A (Product) | B (MRP βΉ) | C (Discount %) | D (Discount Amount βΉ) | E (Selling Price βΉ) | |
|---|---|---|---|---|---|
| 1 | Boat Earbuds | 2999 | 40% | =B1*C1 β 1199.60 | =B1-D1 β 1799.40 |
| 2 | Samsung M14 | 14999 | 25% | =B2*C2 β 3749.75 | =B2-D2 β 11249.25 |
| 3 | Nike Shoes | 5495 | 30% | =B3*C3 β 1648.50 | =B3-D3 β 3846.50 |
GST Calculations
The Goods and Services Tax (GST) in India has four slabs: 5%, 12%, 18%, and 28%. Let's learn to calculate GST, which is essential for every business in India.
GST Amount = Base Price Γ GST RateTotal Price (inclusive of GST) = Base Price + GST AmountBase Price from GST-inclusive price = Total Price / (1 + GST Rate)
Example 3: GST Calculation β Restaurant Bill
| A (Item) | B (Base Price βΉ) | C (GST Rate) | D (GST Amount βΉ) | E (Total βΉ) | |
|---|---|---|---|---|---|
| 1 | Paneer Tikka | 320 | 5% | =B1*C1 β 16 | =B1+D1 β 336 |
| 2 | Butter Naan (4) | 200 | 5% | =B2*C2 β 10 | =B2+D2 β 210 |
| 3 | Cold Drink | 80 | 28% | =B3*C3 β 22.40 | =B3+D3 β 102.40 |
| 4 | Ice Cream | 150 | 18% | =B4*C4 β 27 | =B4+D4 β 177 |
| 5 | Total | =SUM(B1:B4) β 750 | =SUM(D1:D4) β 75.40 | =SUM(E1:E4) β 825.40 |
GST Slabs in India β Reference Table
| GST Rate | Items Covered | Examples |
|---|---|---|
| 5% | Essential goods, restaurant food (non-AC) | Packaged food, sugar, tea, restaurant meals, economy rail travel |
| 12% | Standard goods and services | Butter, ghee, mobile phones, business class air travel |
| 18% | Most goods and services | Biscuits, soap, ice cream, IT services, financial services, restaurants in hotels |
| 28% | Luxury and sin goods | Cars, AC, refrigerator, aerated drinks, tobacco, 5-star hotel rooms |
Percentage format confusion in GST calculations: If you type 18 in the GST Rate column and use =B1*C1 for the GST amount, you'll get the wrong answer (e.g., 320 Γ 18 = 5760 instead of 57.60). You must either: (a) Type 18% (which stores 0.18), or (b) Type 18 and use =B1*C1/100 in the formula. Method (a) is strongly preferred.
AutoSum Functions
AutoSum is Excel's quickest way to apply common calculations. Press Alt+= to insert SUM automatically, or click the AutoSum dropdown (Home β Editing group) to choose other functions.
=SUM(range)
Worked Examples:
| # | Scenario | Data | Formula | Result |
|---|---|---|---|---|
| 1 | Total marks of 5 subjects | A1:A5 = 83, 78, 90, 62, 91 | =SUM(A1:A5) | 404 |
| 2 | Monthly expenses total | B2:B13 (12 months) | =SUM(B2:B13) | (sum of all) |
| 3 | Sum of non-contiguous cells | A1=100, C1=200, E1=300 | =SUM(A1,C1,E1) | 600 |
=AVERAGE(range)
Worked Examples:
| # | Scenario | Data | Formula | Result |
|---|---|---|---|---|
| 1 | Average marks | A1:A5 = 83, 78, 90, 62, 91 | =AVERAGE(A1:A5) | 80.8 |
| 2 | Average salary of team | B2:B6 = 35000, 42000, 55000, 38000, 48000 | =AVERAGE(B2:B6) | 43600 |
| 3 | Average temperature (Delhi, May) | C1:C7 = 42, 44, 41, 45, 43, 40, 38 | =AVERAGE(C1:C7) | 41.86 |
=COUNT(range)
Worked Examples:
| # | Scenario | Data (A1:A6) | Formula | Result |
|---|---|---|---|---|
| 1 | Count of numeric entries | 10, 20, "Hello", 30, (blank), 40 | =COUNT(A1:A6) | 4 |
| 2 | How many students have marks | 85, 72, 91, 0, 65 | =COUNT(A1:A5) | 5 (includes 0) |
| 3 | Count with mixed data | "Rahul", 25, "Mumbai", 9876543210 | =COUNT(A1:A4) | 2 |
=MIN(range)
Worked Examples:
| # | Scenario | Data | Formula | Result |
|---|---|---|---|---|
| 1 | Lowest marks in class | A1:A5 = 83, 78, 90, 62, 91 | =MIN(A1:A5) | 62 |
| 2 | Cheapest product | B2:B5 = 299, 150, 499, 89 | =MIN(B2:B5) | 89 |
| 3 | Minimum temperature (Delhi, Jan) | C1:C7 = 4, 6, 3, 7, 2, 5, 8 | =MIN(C1:C7) | 2 |
=MAX(range)
Worked Examples:
| # | Scenario | Data | Formula | Result |
|---|---|---|---|---|
| 1 | Highest marks in class | A1:A5 = 83, 78, 90, 62, 91 | =MAX(A1:A5) | 91 |
| 2 | Highest salary in department | B2:B6 = 35000, 42000, 55000, 38000, 95000 | =MAX(B2:B6) | 95000 |
| 3 | Peak temperature (May, Delhi) | C1:C7 = 42, 44, 41, 45, 43, 40, 38 | =MAX(C1:C7) | 45 |
Quick AutoSum trick: Select a range of numbers AND one empty cell below (or to the right). Press Alt+=. Excel instantly places the SUM formula in the empty cell. Even faster: select the data plus empty cells below AND to the right β Excel will add row totals, column totals, and even the grand total in one keystroke!
Cell References β The Heart of Excel
Cell references are what make Excel truly powerful. Instead of typing fixed numbers, you reference cells β and when the data in those cells changes, all formulas automatically update. There are three types of cell references:
1. Relative Reference (A1)
A relative reference changes when the formula is copied to another cell. It's like saying "the cell 2 rows up and 1 column left" β the reference is relative to the formula's position.
How Relative References Change When Copied
| A (Qty) | B (Rate) | C (Amount) | |
|---|---|---|---|
| 1 | 10 | 50 | =A1*B1 β 500 |
| 2 | 20 | 75 | =A2*B2 β 1500 (auto-adjusted!) |
| 3 | 15 | 100 | =A3*B3 β 1500 (auto-adjusted!) |
When you copy the formula =A1*B1 from C1 to C2, Excel automatically adjusts it to =A2*B2. Copy to C3, and it becomes =A3*B3. This is the default behavior and works perfectly for repeating calculations down a column.
2. Absolute Reference ($A$1)
An absolute reference stays fixed β it does NOT change when copied. Add a $ before both the column letter and row number. Use this when a formula always needs to reference the same cell (like a tax rate, exchange rate, or commission percentage).
When You NEED Absolute References
| A (Product) | B (Base Price βΉ) | C (GST Amount βΉ) | D (Total βΉ) | |
|---|---|---|---|---|
| 1 | GST Rate: 18% (stored in cell E1) | |||
| 2 | Laptop | 50000 | =B2*$E$1 β 9000 | =B2+C2 β 59000 |
| 3 | Mouse | 500 | =B3*$E$1 β 90 | =B3+C3 β 590 |
| 4 | Keyboard | 1200 | =B4*$E$1 β 216 | =B4+C4 β 1416 |
In column C, every formula references $E$1 (the GST rate). When copied from C2 to C3 to C4, the $E$1 part stays fixed while the B2 part adjusts to B3, B4, etc.
Press F4 while editing a cell reference to cycle through reference types: A1 β $A$1 β A$1 β $A1 β A1. This is much faster than typing $ signs manually!
3. Mixed Reference ($A1 and A$1)
A mixed reference locks either the column or the row, but not both:
$A1β Column A is locked (always column A), but the row changes when copied verticallyA$1β Row 1 is locked (always row 1), but the column changes when copied horizontally
The Multiplication Table β Best Example of Mixed References
Let's build a multiplication table (1-10) using mixed references. This single formula, when copied to all cells, generates the entire table:
| Γ | B (1) | C (2) | D (3) | E (4) | F (5) |
|---|---|---|---|---|---|
| 1 (Row 2) | =$A2*B$1 β 1 | =$A2*C$1 β 2 | =$A2*D$1 β 3 | =$A2*E$1 β 4 | =$A2*F$1 β 5 |
| 2 (Row 3) | =$A3*B$1 β 2 | =$A3*C$1 β 4 | =$A3*D$1 β 6 | =$A3*E$1 β 8 | =$A3*F$1 β 10 |
| 3 (Row 4) | =$A4*B$1 β 3 | =$A4*C$1 β 6 | =$A4*D$1 β 9 | =$A4*E$1 β 12 | =$A4*F$1 β 15 |
How it works:
$A2β The $ before A locks the column (always look at column A for the row multiplier). The row number (2, 3, 4...) adjusts when copied down.B$1β The $ before 1 locks the row (always look at row 1 for the column multiplier). The column letter (B, C, D...) adjusts when copied right.
You only need to type the formula once in B2, then copy it across and down to fill the entire 10Γ10 table!
Reference Types Summary
| Type | Notation | Column | Row | When to Use |
|---|---|---|---|---|
| Relative | A1 | Changes | Changes | Most formulas (default). Repeating the same calculation for each row. |
| Absolute | $A$1 | Locked | Locked | Fixed values: tax rate, exchange rate, commission %, a constant |
| Mixed (col locked) | $A1 | Locked | Changes | Multiplication tables, cross-reference tables |
| Mixed (row locked) | A$1 | Changes | Locked | Multiplication tables, looking up header values |
Forgetting absolute references for fixed values: A classic error is writing =B2*E1 (GST rate) instead of =B2*$E$1. The formula works fine in the first row, but when you copy it down, E1 becomes E2, E3, E4... which are empty cells. Result: all subsequent GST amounts show 0 or an error. Always use $ for cells that shouldn't change.
The multiplication table exercise is the gold standard for teaching mixed references. Have students build it step by step: first with all formulas typed manually (painful), then show how one formula with mixed references does everything. The contrast between 100 manual formulas vs. 1 smart formula creates a powerful learning moment.
Order of Operations β BODMAS/PEMDAS in Excel
Excel follows the standard mathematical order of operations, known as BODMAS (Brackets, Orders, Division, Multiplication, Addition, Subtraction) or PEMDAS (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction).
| Priority | Operation | Operator | Example |
|---|---|---|---|
| 1 (First) | Parentheses / Brackets | ( ) | =(5+3)*2 β 16 |
| 2 | Exponentiation | ^ | =2^3 β 8 |
| 3 | Multiplication & Division | * and / | =10/2*3 β 15 (left to right) |
| 4 (Last) | Addition & Subtraction | + and - | =10-3+2 β 9 (left to right) |
Why This Matters β A Real Example
Calculate the total bill with 18% GST on a base amount of βΉ500:
| Formula | Calculation | Result | Correct? |
|---|---|---|---|
=500+500*18/100 | 500 + ((500*18)/100) = 500 + 90 | 590 β | Yes (BODMAS handles it) |
=(500+500)*18/100 | ((500+500)*18)/100 = (1000*18)/100 | 180 β | No (wrong parentheses) |
=500*(1+18/100) | 500 * (1 + 0.18) = 500 * 1.18 | 590 β | Yes (clean approach) |
When in doubt, use parentheses! Even if BODMAS would give the correct result without them, parentheses make your formulas easier to read and debug. Compare: =A1*B1+A1*B1*C1 vs =A1*B1 + (A1*B1*C1). The second is clearer even though both produce the same result.
Excel Error Values
When something goes wrong with a formula, Excel displays an error code instead of a result. Understanding these errors helps you troubleshoot quickly.
| Error | Full Name | What Causes It | Example | How to Fix |
|---|---|---|---|---|
#DIV/0! | Division by Zero | Formula divides by 0 or an empty cell | =100/0 or =A1/B1 (B1 is empty) | Check if denominator is zero; use =IF(B1=0,"N/A",A1/B1) |
#VALUE! | Value Error | Wrong type of data in a formula | =5+"Hello" or ="10"+5 | Ensure cells contain numbers, not text that looks like numbers |
#REF! | Reference Error | Formula refers to a deleted cell | Delete column that a formula references | Undo the deletion (Ctrl+Z) or fix the formula manually |
#NAME? | Name Error | Excel doesn't recognize a name in the formula | =SUMM(A1:A5) (misspelled SUM) | Check for typos in function names; ensure named ranges exist |
#NULL! | Null Error | Two ranges don't intersect | =SUM(A1:A5 B1:B5) (missing comma or colon) | Use comma (,) for separate ranges or colon (:) for contiguous ranges |
#N/A | Not Available | A lookup function can't find the value | =VLOOKUP("XYZ",A1:B10,2,FALSE) | Verify the lookup value exists; check for extra spaces |
#NUM! | Number Error | Invalid numeric value in a calculation | =SQRT(-1) or =10^309 (too large) | Check for negative numbers in SQRT, too-large exponents |
The sneaky #VALUE! error with imported data: When you import data from a CSV or copy from a website, numbers may look like numbers but are actually stored as text (left-aligned, green triangle in corner). Formulas like SUM and AVERAGE will ignore these "text numbers" and give wrong results without showing an error. Fix: Select the cells β Data β Text to Columns β Finish. Or use =VALUE(A1) to convert.
The #DIV/0! error is so common in business reports that experienced Excel users always wrap division formulas in an IF check: =IF(B1=0, 0, A1/B1). At companies like HDFC Bank, MIS reports with #DIV/0! errors are considered unprofessional and sent back for correction.
Solved Examples β Chapter 3
Example 1: Simple Addition
Task: Add the values in A1 (250), A2 (375), and A3 (425).
Formula: =A1+A2+A3 or =SUM(A1:A3)
Result: 1050
Example 2: Net Salary Calculation
Task: Calculate net salary. Gross = βΉ60,000 (B1), PF = βΉ7,200 (C1), TDS = βΉ5,000 (D1), Professional Tax = βΉ200 (E1).
Formula: =B1-C1-D1-E1 β =60000-7200-5000-200
Result: βΉ47,600
Example 3: Revenue Calculation
Task: A Reliance Fresh store sells 250 kg of rice at βΉ65/kg. Calculate total revenue.
Formula: =250*65 or =A1*B1 (where A1=250, B1=65)
Result: βΉ16,250
Example 4: Percentage of Marks
Task: A student scored 423 out of 500. Calculate percentage.
Formula: =423/500*100
Result: 84.6%
Example 5: GST at 18%
Task: Calculate GST and total for a βΉ25,000 laptop accessory at 18% GST.
Formulas: GST Amount: =25000*18% β 4500. Total: =25000+4500 β 29500. Or: =25000*1.18 β 29500.
Example 6: Compound Interest
Task: Calculate the maturity amount for an SBI FD of βΉ1,00,000 at 7.1% for 5 years (compounded annually).
Formula: =100000*(1+7.1/100)^5 β =100000*(1.071)^5
Result: βΉ1,41,060.15 (approximately)
Example 7: Average Monthly Expense
Task: Monthly expenses: βΉ15000, βΉ22000, βΉ18000, βΉ25000, βΉ19000, βΉ21000. Find the average.
Formula: =AVERAGE(A1:A6)
Result: βΉ20,000
Example 8: Finding Highest and Lowest Marks
Task: Marks of 10 students: 78, 92, 45, 88, 31, 67, 95, 55, 82, 73. Find highest and lowest.
Formulas: Highest: =MAX(A1:A10) β 95. Lowest: =MIN(A1:A10) β 31.
Example 9: Discount Calculation
Task: An Amazon product has MRP βΉ4,999 with a 35% discount. Calculate discount amount and selling price.
Formulas: Discount: =4999*35% β βΉ1,749.65. Selling Price: =4999-4999*35% β βΉ3,249.35. Or: =4999*(1-35%) β βΉ3,249.35.
Example 10: Absolute Reference β Commission Calculation
Task: Commission rate is 8% (in cell E1). Calculate commission for 5 salespeople with sales in B2:B6.
Formula (in C2, copy down): =B2*$E$1. The $E$1 stays fixed as you copy down to C3, C4, C5, C6.
Example 11: Using BODMAS
Task: Calculate the total cost including GST for 5 items at βΉ200 each with 18% GST.
Formula: =5*200*(1+18/100) β =5*200*1.18 β βΉ1,180
Example 12: Count Students Who Appeared
Task: In a column of marks, some cells are blank (student absent). Count how many students actually appeared.
Formula: =COUNT(B2:B50) β This counts only cells with numbers, skipping blanks.
Example 13: EMI Calculation (Simplified)
Task: Approximate monthly EMI for a βΉ5,00,000 car loan at 9% annual interest for 5 years.
Formula: =500000*9%/12/(1-(1+9%/12)^(-5*12))
Result: βΉ10,380.72 (approximately)
Example 14: Avoiding #DIV/0! Error
Task: Calculate profit percentage. Profit = A1, Cost = B1. If cost is 0, show "N/A".
Formula: =IF(B1=0,"N/A",A1/B1*100)
Example 15: Mixed Reference β Price Matrix
Task: Create a price matrix where Row 1 has quantities (1, 5, 10, 25, 50) and Column A has unit prices (βΉ10, βΉ25, βΉ50, βΉ100). Each cell shows total price.
Formula (in B2): =$A2*B$1 β Copy across and down. $A2 locks the price column; B$1 locks the quantity row.
Example 16: Total with Multiple GST Rates
Task: Item 1: βΉ500 @ 5% GST. Item 2: βΉ1000 @ 12% GST. Item 3: βΉ2000 @ 18% GST. Calculate total bill.
Formula: =500*1.05 + 1000*1.12 + 2000*1.18 β 525 + 1120 + 2360 = βΉ4,005
Example 17: F4 Key Usage
Task: While typing =A1*B1, make B1 absolute.
Steps: Click on B1 in the formula, press F4 once β $B$1. Press F4 again β B$1. Again β $B1. Again β B1 (back to relative).
Example 18: Difference Between COUNT and COUNTA
Task: A1:A5 contains: 10, "Present", 30, "", 50. What do COUNT and COUNTA return?
Answer: =COUNT(A1:A5) β 3 (counts only numbers: 10, 30, 50). =COUNTA(A1:A5) β 4 (counts all non-empty cells: 10, "Present", 30, 50).
Example 19: SUM with Non-Contiguous Ranges
Task: Sum January (B2), March (B4), and May (B6) sales, skipping February and April.
Formula: =SUM(B2,B4,B6) or =B2+B4+B6
Example 20: Area and Perimeter of a Rectangle
Task: Length = 12m (A1), Width = 8m (B1). Calculate Area and Perimeter.
Formulas: Area: =A1*B1 β 96 sq m. Perimeter: =2*(A1+B1) β 40 m.
Practice Exercises β Chapter 3
Exercise 1: Basic Arithmetic
Enter these values: A1=150, B1=75, C1=200, D1=90, E1=185. Calculate: (a) Sum in F1 (b) Average in G1 (c) Maximum in H1 (d) Minimum in I1 (e) Count in J1.
Answers: Sum=700, Average=140, Max=200, Min=75, Count=5
Exercise 2: Percentage Marks
A Class 10 student scored: Maths 85, Science 72, English 91, Hindi 58, SST 79 (each out of 100). Calculate: (a) Total marks (b) Percentage (c) Is it above 75%?
Answers: Total=385, Percentage=77%, Yes
Exercise 3: GST Invoice
Create a GST invoice for a stationery shop: Notebook (βΉ50, 12% GST, Qty 10), Pen (βΉ20, 18% GST, Qty 25), Eraser (βΉ10, 5% GST, Qty 15), Calculator (βΉ500, 28% GST, Qty 2). Calculate: Base Amount, GST Amount, and Total for each item. Find Grand Total.
Exercise 4: Salary Calculation
Create a salary sheet for 5 employees with columns: Name, Basic Salary, DA (45% of Basic), HRA (30% of Basic), PF (12% of Basic), Gross Salary (Basic+DA+HRA), Net Salary (Gross-PF). Use cell references and the DA/HRA/PF percentages should be in fixed cells ($E$1, $F$1, $G$1).
Exercise 5: Absolute Reference Practice
A foreign exchange counter converts USD to INR. Exchange rate is βΉ83.50 (store in cell E1). Create a conversion table for $10, $25, $50, $100, $200, $500, $1000 using absolute reference for the exchange rate.
Example: =A2*$E$1 where A2 has the dollar amount.
Exercise 6: Multiplication Table
Build a complete 12Γ12 multiplication table using mixed references. Type numbers 1-12 in row 1 (B1:M1) and column A (A2:A13). Write the formula =$A2*B$1 in B2 and copy it to fill the entire 12Γ12 grid.
Exercise 7: Error Identification
For each formula, predict the error (if any) and explain: (a) =100/0 (b) =5+"Hello" (c) =SUMM(A1:A5) (d) =SQRT(-16) (e) =A1+B1 (where A1=10, B1="Twenty")
Answers: (a) #DIV/0! (b) #VALUE! (c) #NAME? (d) #NUM! (e) #VALUE!
Exercise 8: BODMAS Challenge
Predict the result without using Excel, then verify: (a) =10+5*3 (b) =(10+5)*3 (c) =2^3+4*2 (d) =100/5/4 (e) =(100-20)/4+5*2
Answers: (a) 25 (b) 45 (c) 16 (d) 5 (e) 30
Exercise 9: Discount Calculator
Create a Flipkart-style discount calculator. Products: Headphones (MRP βΉ2999, 40% off), Phone Case (MRP βΉ599, 50% off), Charger (MRP βΉ1499, 25% off), Screen Guard (MRP βΉ399, 60% off). Calculate discount amount, selling price, and GST at 18% on selling price for each. Find grand total.
Exercise 10: LIC Premium Calculator
Monthly premium is βΉ5,000. Calculate: (a) Annual premium (b) Total premium for 20 years (c) If bonus rate is 4% per year, total bonus after 20 years (use compound interest formula) (d) Maturity amount (Total premium + Bonus)
Exercise 11: Cricket Statistics
Enter data for 5 batsmen with columns: Name, Matches, Runs, Highest Score, Not Outs. Calculate: (a) Average = Runs / (Matches - Not Outs) (b) Use IF to avoid #DIV/0! when Matches = Not Outs (c) Find highest average using MAX (d) Find lowest runs using MIN
Exercise 12: Temperature Conversion
Convert temperatures of 5 Indian cities from Celsius to Fahrenheit. Formula: F = C Γ 9/5 + 32. Cities: Delhi (42Β°C), Mumbai (35Β°C), Chennai (38Β°C), Kolkata (36Β°C), Bangalore (28Β°C). Also find the Average temperature in both Β°C and Β°F.
Verify: Average of converted values should equal the conversion of the average. (This demonstrates that linear operations commute!)
MCQ Quiz β Chapter 3
What does the formula =5+3*2 return in Excel?
- 16
- 11
- 13
- 10
Which cell reference will NOT change when the formula is copied to another cell?
- A1
- $A$1
- A$1
- $A1
If cell A1 contains 10 and B1 is empty, what does =A1/B1 return?
- 0
- 10
- #DIV/0!
- #VALUE!
What keyboard shortcut inserts the AutoSum (SUM) function?
- Ctrl+S
- Alt+=
- Ctrl+Shift+S
- F5
What does pressing F4 while editing a cell reference do?
- Deletes the cell reference
- Copies the cell reference
- Cycles through reference types: A1 β $A$1 β A$1 β $A1
- Opens the Format Cells dialog
Interview Questions β Chapter 3
Q1: Explain the difference between Relative, Absolute, and Mixed cell references with a practical example.
Model Answer:
- Relative (A1): Changes when copied. Example:
=A1*B1in C1, copied to C2 becomes=A2*B2. Use for: repeating the same calculation for each row (e.g., calculating amount for each product line). - Absolute ($A$1): Never changes when copied. Example:
=B2*$E$1where E1 has the GST rate. When copied from C2 to C10, E1 always stays as $E$1. Use for: tax rates, exchange rates, commission percentages β any fixed value. - Mixed ($A1 or A$1): Partially locked. $A1 locks the column; A$1 locks the row. Example: Multiplication table using
=$A2*B$1β when copied right, $A2 stays in column A; when copied down, B$1 stays in row 1.
Real-world scenario: At TCS, if you're calculating TDS for 500 employees, the salary (column B) changes per row (relative), but the TDS rate (cell E1) is the same for all (absolute). Formula: =B2*$E$1
Q2: How would you handle the #DIV/0! error in a report that goes to management?
Model Answer: I would never send a report with visible error values. Here are my approaches:
- IF function:
=IF(B1=0, "N/A", A1/B1)β Shows "N/A" instead of the error - IFERROR function (preferred):
=IFERROR(A1/B1, "N/A")β Catches ANY error, not just #DIV/0!. More concise and handles edge cases. - IFERROR with 0:
=IFERROR(A1/B1, 0)β Shows 0 instead of error, useful when the output feeds into further calculations - Conditional Formatting: As an extra layer, I'd use conditional formatting to highlight cells with "N/A" so they stand out for review
Best practice: Wrap EVERY division formula in IFERROR β it's a professional habit that prevents embarrassing errors in MIS reports.
Q3: Calculate GST for a product costing βΉ10,000 with 18% GST. Show CGST, SGST, and Total.
Model Answer: For intra-state transactions (within the same state), GST is split equally into CGST and SGST:
| Component | Rate | Formula | Amount |
|---|---|---|---|
| Base Price | β | β | βΉ10,000 |
| CGST (Central) | 9% | =10000*9% | βΉ900 |
| SGST (State) | 9% | =10000*9% | βΉ900 |
| Total GST | 18% | =10000*18% | βΉ1,800 |
| Invoice Total | β | =10000*(1+18%) | βΉ11,800 |
For inter-state transactions, the entire 18% is charged as IGST (Integrated GST) = βΉ1,800.
In Excel, I'd store the GST rate in a fixed cell (e.g., $G$1 = 18%) and use absolute references: =B2*$G$1/2 for CGST and SGST.
Keyboard Shortcuts β Chapter 3
| Shortcut | Action | When to Use |
|---|---|---|
| Alt+= | AutoSum (SUM) | Quickly sum a column or row |
| F2 | Edit Cell | Enter edit mode for the active cell |
| F4 | Toggle Reference Type | Cycle: A1 β $A$1 β A$1 β $A1 |
| Ctrl+` | Show/Hide Formulas | Toggle between showing formulas and values |
| Tab | Confirm & Move Right | Enter formula and move to the next cell |
| Enter | Confirm & Move Down | Enter formula and move down |
| Esc | Cancel Entry | Cancel formula without entering it |
| Ctrl+Shift+Enter | Array Formula (legacy) | Enter a formula as an array formula (pre-365) |
| Ctrl+Shift+U | Expand Formula Bar | See long formulas more easily |
| Ctrl+' | Copy Formula from Above | Copy the formula (not value) from the cell above |
Mini Project β Monthly Household Expense Calculator
ποΈ Project: Build a Monthly Household Expense Calculator
Problem Statement
Create a comprehensive household expense calculator that tracks monthly spending across categories, calculates totals and percentages, includes GST where applicable, and provides summary statistics. This project tests all Chapter 3 concepts: arithmetic, percentages, GST, AutoSum, and cell references.
Worksheet 1: "Monthly Expenses"
| A (Category) | B (Sub-Item) | C (Amount βΉ) | D (GST Rate) | E (GST βΉ) | F (Total βΉ) | |
|---|---|---|---|---|---|---|
| 1 | MONTHLY HOUSEHOLD EXPENSE CALCULATOR β June 2025 | |||||
| 2 | Category | Sub-Item | Amount | GST Rate | GST Amount | Total |
| 3 | π Rent | House Rent | 15000 | 0% | =C3*D3 | =C3+E3 |
| 4 | β‘ Electricity | Tata Power Bill | 2500 | 18% | =C4*D4 | =C4+E4 |
| 5 | π± Mobile | Jio Recharge | 399 | 18% | =C5*D5 | =C5+E5 |
| 6 | π Groceries | Monthly Groceries | 8000 | 5% | =C6*D6 | =C6+E6 |
| 7 | π Transport | Metro Pass + Auto | 3000 | 5% | =C7*D7 | =C7+E7 |
| 8 | π₯ Medical | Medicines | 1500 | 12% | =C8*D8 | =C8+E8 |
| 9 | π Education | Tuition Fees | 5000 | 18% | =C9*D9 | =C9+E9 |
| 10 | π½οΈ Dining Out | Restaurants (Swiggy/Zomato) | 3000 | 5% | =C10*D10 | =C10+E10 |
| 11 | π¬ Entertainment | Netflix + Movies | 1000 | 18% | =C11*D11 | =C11+E11 |
| 12 | π Clothing | Monthly Clothing | 2000 | 12% | =C12*D12 | =C12+E12 |
| 13 | π° Savings | SIP + RD | 10000 | 0% | =C13*D13 | =C13+E13 |
| 14 | π§ Miscellaneous | Other Expenses | 1500 | 18% | =C14*D14 | =C14+E14 |
Summary Section (Below the data)
| Metric | Formula |
|---|---|
| Total Base Amount | =SUM(C3:C14) |
| Total GST Paid | =SUM(E3:E14) |
| Grand Total (with GST) | =SUM(F3:F14) |
| Average Expense per Category | =AVERAGE(F3:F14) |
| Highest Single Expense | =MAX(F3:F14) |
| Lowest Single Expense | =MIN(F3:F14) |
| Number of Categories | =COUNT(C3:C14) |
| GST as % of Total | =SUM(E3:E14)/SUM(F3:F14)*100 |
Worksheet 2: "Percentage Breakdown"
Add a column showing each category's percentage of total spending. Use absolute reference for the total: =F3/$F$15*100 (where F15 is the Grand Total). This must use $F$15 so the reference doesn't change when copied down.
Formatting Requirements
- All currency columns formatted as βΉ Indian with commas
- GST Rate column formatted as Percentage
- Header row: Bold, Dark Green background, White text
- Conditional Formatting: Highlight expenses > βΉ5,000 in light red
- Data Bars on the Percentage column
- Summary section with thick borders and green fill
Bonus Challenge
- Add a "Budget" column (Column G) and a "Variance" column (Column H = Budget - Total). Highlight overspent items (negative variance) in red.
- Add a second sheet for the next month β use the same structure and compare month-over-month changes.
Deliverables
- β Complete expense table with all formulas (no hardcoded totals)
- β GST correctly calculated for each item based on individual GST rates
- β Summary section using SUM, AVERAGE, MAX, MIN, COUNT
- β Percentage breakdown using absolute references
- β Professional formatting with conditional formatting applied
- β
Saved as
Household_Expenses_June2025.xlsx
Chapter Summary
π Key Takeaways β Chapter 3
- Every formula starts with
=(equals sign) β this tells Excel to calculate - Arithmetic operators:
+(add),-(subtract),*(multiply),/(divide),^(power) - Percentage: Type
18%(Excel stores as 0.18) β don't type 18 and format as % - GST Formula: Total = Base Price Γ (1 + GST Rate). CGST = SGST = GST / 2
- AutoSum functions: SUM (total), AVERAGE (mean), COUNT (count numbers), MIN (smallest), MAX (largest)
- Relative Reference (A1): Changes when copied β default, used for most formulas
- Absolute Reference ($A$1): Never changes β use for fixed values (tax rate, exchange rate)
- Mixed Reference ($A1, A$1): Partially locked β use for multiplication tables, matrices
- Press F4 to cycle through reference types while editing a formula
- BODMAS/PEMDAS: Brackets β Exponents β Multiply/Divide β Add/Subtract
- Common errors: #DIV/0! (division by zero), #VALUE! (wrong data type), #REF! (deleted reference), #NAME? (typo in function name)
- Always wrap division formulas in
=IFERROR(formula, "N/A")for professional reports - Key shortcuts: Alt+= (AutoSum), F4 (toggle reference), Ctrl+` (show formulas)
Coming Up Next: Part II β Intermediate Excel
You've built a solid foundation! In Part II, we'll unlock the real power of Excel with functions (IF, VLOOKUP, HLOOKUP, INDEX-MATCH, COUNTIF, SUMIF), data management (Sort, Filter, Data Validation, Remove Duplicates), and Charts & Visualization. These are the skills that turn you from a "basic user" into someone who can build professional dashboards and automated reports β the skills companies like Deloitte, EY, and KPMG look for in every new hire.