Prac 4 Fca
Prac 4 Fca
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:
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.
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.
=AVERAGEIF(range,criteria,[average_range])
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.
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:
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.
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
1. Create a 3-dimensional column chart comparing sales data for men and women
A chart title and category and value axis label have been added
The gridlines and background colour have been removed
3. Search and display the details of books from the book ISBN codes. (VLOOKUP) Create the
table as under:
Conclusion: