0% found this document useful (0 votes)
25 views11 pages

Prac 4 Fca

This document outlines a practical exercise on advanced Excel functionalities, focusing on conditional formatting, SUMIF, COUNTIF, AVERAGEIF, and VLOOKUP functions. It provides detailed instructions on creating charts, using formulas, and performing data analysis. The assignment includes creating a 3D column chart, applying conditional formatting, and using VLOOKUP to retrieve book details based on ISBN codes.

Uploaded by

hetviip11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views11 pages

Prac 4 Fca

This document outlines a practical exercise on advanced Excel functionalities, focusing on conditional formatting, SUMIF, COUNTIF, AVERAGEIF, and VLOOKUP functions. It provides detailed instructions on creating charts, using formulas, and performing data analysis. The assignment includes creating a 3D column chart, applying conditional formatting, and using VLOOKUP to retrieve book details based on ISBN codes.

Uploaded by

hetviip11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

PRACTICAL 4

DATE OF PERFORMANCE SIGNATURE OF LECTURER

Title: Advanced Excel Functionalities

Aim: To demonstrate the use of Conditional formatting and graphing in MS –


Excel

Theory:
Conditional Formatting:

Conditional Formatting lets the user apply formatting to a cell or a range of cells based on
specific criteria. There are various conditions that can be tested in order to apply the
formatting:

 Format cells based on their values


 Format cells that contain a certain text
 Format top/bottom-ranked cells in a range
 Format duplicates
 Format cells based on a formula
 And much more!

To use conditional formatting, select the cell/range of cells that you would like to
format. Then, from the Home tab, select “Conditional Formatting”:

SUMIF:

SUMIF function lets us sum a range based on a certain criteria. We can use this function to
either sum a range based on a criteria within the same range, or within a different range.

The syntax of the SUMIF function is as follows:


=SUMIF(range,criteria,[sum_range])

- range – This is the range in which our criteria will be checked.


- criteria – This is the criteria we’ll check
- [sum_range] – This is the range we’d like to sum

COUNTIF

COUNTIF is a function that helps us count the number of cells within a specific range which
meet a certain criteria.

Syntax

=COUNTIF(range,criteria)

Where,

- Range: the range of cells in which we’d like to count cells which meet a certain criteria
- Criteria: the criteria we’d like to check?

AVERAGEIF

AVERAGEIF function lets us calculate the average of a range based on certain criteria.

The syntax of the AVERAGEIF function is as follows:

=AVERAGEIF(range,criteria,[average_range])

- range – This is the range in which our criteria will be checked.


- criteria – This is the criteria we’ll check
- [average_range] – This is the range for which we’d like to calculate the average

Charts:

A chart is a visual representative of data in both columns and rows. Charts are usually used to
analyse trends and patterns in data sets.

Steps to create chart in MS Excel:


1. Select the data you want to represent in graph
2. Click on INSERT tab from the ribbon
3. Click on the Column chart drop down button
4. Select the chart type you want
Types of Charts in MS Excel
VLOOKUP

Vlookup (V stands for ‘Vertical’) is an in-built function in excel which allows establishing a
relationship between different columns of excel. In other words, it allows you to find (look
up) a value from one column of data and returns it’s respective or corresponding value from
another column.

The VLOOKUP function always looks up a value in the leftmost column of a table and
returns the corresponding value from a column to the right.

V lookup can be used in two ways, to find an exact match and to find the closest
VLOOKUP Syntax:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Where,
- Lookup_value (required argument) – Lookup_value specifies the value that we want
to look up in the first column of a table.
- Table_array (required argument) – The table array is the data array that is to be
searched. The VLOOKUP function searches in the left-most column of this array.
- Col_index_num (required argument) – This is an integer, specifying the column
number of the supplied table_array, that you want to return a value from.
- Range_lookup (optional argument) – This defines what this function should return in
the event that it does not find an exact match to the lookup_value. The argument
can be set to TRUE or FALSE, which means:
o TRUE – Approximate match, that is, if an exact match is not found, use the
closest match below the lookup_value.
o FALSE – Exact match, that is, if an exact match not found, then it will return
an error.

Case 1: VLOOKUP with Exact match:

Eg2:
Case2: VLOOKUP function in approximate match mode

HLOOKUP

The Excel HLOOKUP function finds and retrieves a value from data in a horizontal table.
The "H" in HLOOKUP stands for "horizontal", and lookup values must appear in the first
row of the table, moving horizontally to the right.

Syntax
=HLOOKUP (lookup_value, table_array, row_index, [range_lookup])
Arguments

 lookup_value - The value to look up.


 table_array - The table from which to retrieve data.
 row_index - The row number from which to retrieve data.
 range_lookup - [optional] A Boolean to indicate exact match or approximate match.
Default = TRUE = approximate match.
Assignment:

1. Create a 3-dimensional column chart comparing sales data for men and women

The main changes to make to the default chart created are:

 A chart title and category and value axis label have been added
 The gridlines and background colour have been removed

2. Using conditional formatting highlight values in the table according to criteria.


Add the conditional formatting as shown in the output below.

3. Search and display the details of books from the book ISBN codes. (VLOOKUP) Create the
table as under:
Conclusion:

You might also like