1. Conditional Formatting
The formatting may include a different font color, background color, borders, data bars, color scales, or icon sets.
Home Tab → Styles Group → Conditional Formatting
Example
Suppose a student marks table contains marks from 0 to 100. We want to highlight students who scored more than 80.
Action: Apply a suitable highlight color.
Another Example
In an employee salary table, Conditional Formatting can be used to highlight salaries greater than ₹50,000.
2. Sorting
Common sorting orders are:
- Ascending: A to Z, Smallest to Largest
- Descending: Z to A, Largest to Smallest
Example
Consider the following student data:
| Student | Course | Marks |
|---|---|---|
| Ravi | C | 65 |
| Anu | Python | 92 |
| Raju | Java | 78 |
If the Marks column is sorted from largest to smallest, the order becomes:
| Student | Course | Marks |
|---|---|---|
| Anu | Python | 92 |
| Raju | Java | 78 |
| Ravi | C | 65 |
3. Filtering
Home Tab → Editing Group
OR
Data Tab → Sort & Filter Group
Example
Suppose a student table contains students from C, Java and Python courses.
If we apply a filter to the Course column and select only Python, Excel displays only Python students. Other records are temporarily hidden.
Result: Only students enrolled in Python are displayed.
Filtering by Number
We can also filter numerical data using conditions such as:
- Greater Than
- Less Than
- Equal To
- Greater Than or Equal To
- Less Than or Equal To
- Between
4. RANDBETWEEN Function
Syntax
=RANDBETWEEN(Low, High)
Example 1
=RANDBETWEEN(1,100)
This formula returns a random whole number from 1 to 100, including both 1 and 100.
Example 2
=RANDBETWEEN(10,50)
This formula returns a random whole number from 10 to 50.
Practical Example
Suppose we want to generate random marks for students. Enter the following formula in the Marks column:
=RANDBETWEEN(1,100)
Copy the formula down to generate random marks for multiple students.
5. Charts
Insert Tab → Charts Group
Example
Consider the following marks:
| Student | Marks |
|---|---|
| Ravi | 65 |
| Anu | 92 |
| Raju | 78 |
| Sita | 85 |
Select the data and insert a Column Chart to visually compare the marks of the students.
Common Types of Charts
- Column Chart
- Bar Chart
- Line Chart
- Pie Chart
- Area Chart
- Scatter Chart
6. Insert Chart in a New Sheet
To create a chart in a new worksheet, select the required data and press:
F11
Excel creates a chart on a separate chart sheet.
7. Contextual Tabs of a Chart
When a chart is selected, Excel displays additional Contextual Tabs on the Ribbon.
- Chart Design
- Chart Format
Chart Design
Chart Design contains commands related to the design and structure of the chart, such as changing the chart type, selecting chart layouts and styles, and managing chart elements.
Chart Format
Chart Format contains commands used to format selected chart elements such as shapes, text, fill, outline and effects.
8. Components of a Chart
A chart contains several important components:
- Chart Area
- Plot Area
- Category Axis
- Value Axis
- Gridlines
- Chart Title
- Axis Title
- Legend
1. Chart Area
The Chart Area is the complete area occupied by the chart, including the title, plot area, legend and other chart elements.
2. Plot Area
The Plot Area is the area where the actual graphical representation of the data is displayed.
3. Category Axis
The Category Axis generally displays categories such as student names, months, products or departments.
4. Value Axis
The Value Axis displays the numerical scale used to represent the values in the chart.
5. Gridlines
Gridlines are reference lines displayed in the plot area. They help the reader estimate the values represented by the data points or columns.
6. Chart Title
The Chart Title describes the purpose or subject of the chart.
7. Axis Title
Axis Titles describe what the Category Axis and Value Axis represent.
Category Axis: Students
Value Axis: Marks
8. Legend
A Legend identifies the data series represented in a chart.
9. Practical Exercise – Student Marks
Create the following worksheet:
| Student Name | Course | Marks |
|---|---|---|
| Ravi | C | |
| Anu | Python | |
| Raju | Java | |
| Sita | C | |
| Kiran | Python | |
| Priya | Java |
Perform the following operations:
- Use RANDBETWEEN to generate marks between 1 and 100.
- Apply Conditional Formatting to highlight marks greater than 80.
- Sort the students according to marks from highest to lowest.
- Filter the table to display only Python students.
- Remove the filter and display all students.
- Create a Column Chart using Student Name and Marks.
- Add a suitable Chart Title.
- Add Category Axis and Value Axis titles.
- Display suitable Gridlines and Legend.
- Press F11 and create a chart in a new chart sheet.
10. Practice Questions
11. Practical Challenge
Create an Excel worksheet containing at least 15 student records with the following fields:
- Student Name
- Course
- Gender
- Marks
Then perform all of the following:
- Generate random marks using RANDBETWEEN.
- Apply Conditional Formatting to the Marks column.
- Sort the records from highest marks to lowest marks.
- Filter students according to Course.
- Filter students who scored more than 60 marks.
- Clear the filter and display all records.
- Create a suitable Column Chart.
- Add Chart Title and Axis Titles.
- Display appropriate Gridlines.
- Identify the Chart Area and Plot Area.
- Identify the Category Axis and Value Axis.
- Identify the Legend.
- Create another chart using F11 in a new chart sheet.