There are six tabs in Format Cells dialog box: Number, Alignment, Font, Border, Patterns,
and Protection:
1. Number tab
The data type can be selected from the options on this tab. Select the range you would like
to format and click on one of the Category number as/snown in Figure to apply that style to
your numbers. Select General if the cell contains text and number and it does not have any
specific number format. If you select Number Category you can represent numbers as
integers, decimals with number of decimal as option etc. For example, if you want to
restrict the number of decimals to 2, choose Number Category and then decimal places as
2. You may try the other options in your computers
2. Alignment tab
These options allow you to change the position and alignment of the data with the cell. The
Format Cells dialog box offers you more options than the alignment buttons on the
Formatting toolbar. For example, you can change the orientation of the text.
3. Font tab
All of the font attributes are displayed in this tab including font face, size, style, and effects.
Using Formatting toolbar you can bold, italicize, and underline your cell entries. For even
more formatting options you can use the Format Cells dialog box.
4. Border and Pattern tabs
You can use the Formatting toolbar for adding borders, cell shading, and font colour. These
buttons are actually tear-off palettes. When you click on the picture portion of the button,
the format of the picture displayed will be applied to the contents of the cell(s) you have
selected in the worksheet. You can change the picture displayed on the button by clicking
on the button’s small drop-down arrow to access the palette of samples from which to
choose.
Follow these steps to apply a border and color to a selection using the options in the
Format Cells dialog box.
1. Select Format Cells to display the Format Cells dialog box.
2. Select the Border tab.
3. In the Presets area, choose None, Outline, or inside to specify the location for the
border.
4. Choose any of the following options for the border: In the Border area, click on any
of the buttons to toggle its border. Choose the border’s line style in the Style area. If
necessary, select a cooler for the border in the Color Palette.
5. Select the Patterns tab, and then choose any of the following options: Select a
cooler for the background of the selection in the Color palette. If necessary, select a
pattern for the background of the selection in the Pattern palette.
6. Choose OK to apply the border and cooler.
5. Dates and Times
If you enter the date "January 1, 2001" into a cell on the worksheet, Excel will automatically
recognize the text as a date and change the format to "1-Jan-01". To change the date
format, select the Number tab from the Format Cells window. Select "Date" from the
Category box and choose the format for the date from the Type box. If the field is a time,
select "Time" from the Category box and select the type in the right box. Date and time
combinations are also listed. Press OK when finished.
NESTED IF
What is Nested IF?
The IF function allows you to make a logical comparison between a value and what you
expect by testing for a condition and returning a result if True or False.
What is a Nested IF statement?
Nested IF functions, meaning one IF function inside of another, allow you to test multiple
criteria and increases the number of possible outcomes.
Syntax: =IF(condition, true value, IF(condition 2, true value, IF(condition 3, true value, false
value)))
LOOKUP
What Is a LOOKUP Function?
Lookup functions in Excel mean referencing a cell to match values in another row or
column against the cell and thereby retrieving the corresponding results from the
respective rows and columns. Syntax: =Lookup(Lookup value, Lookup Vector,
Result_Vector)
VLOOKUP
What Is a VLOOKUP Function?
The VLOOKUP function in Excel is a powerful function used to lookup data in a table
organized vertically. It looks down the left column of a range to find a value.
Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
HLOOKUP
What Is a HLOOKUP Function?
The HLOOKUP function looks up for a value in the first row of a given range and gives a
value in the same column from a row that you specified.
Syntax: =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
COUNT
The COUNT function counts the number of cells that contain numbers, and counts
numbers within the list of arguments. Use the COUNT function to get the number of entries
in a number field that is in a range or array of numbers
Syntax:=COUNT(value1, [value2], …)
The COUNT function syntax has the following arguments:
Value1 Required. The first item, cell reference, or range within which you want to count
numbers.
Value2,… Optional. Up to 255 additional items, cell references, or ranges within which you
want to count numbers.
=COUNTA(value1, (value2], …)
The COUNTA function syntax has the following arguments:
Value1 Required. The first argument representing the values that you want to count.
Value2,… Optional. Additional arguments representing the values that you want to count,
up to a maximum of 255 arguments.
=COUNTIF(range, criteria)
The COUNTIF function syntax has the following arguments:
The group of cells you want to count. Range(required) can contain numbers, arrays, a
named range, or references that contain numbers. Blank and text values are ignored.
Criteria (required) A number, expression, cell reference, or text string that determines
which cells will be counted
=COUNTIFS (criteria_range1, criteria1, [criteria_range2, criteria2]...) The COUNTIFS
function syntax has the following arguments:
criteria_range1 Required. The first range in which to evaluate the associated criteria.
criteria1 Required. The criteria in the form of a number, expression, cell reference, or text
that define which cells will be counted.
criteria_range2, criteria2,... Optional. Additional ranges and their associated criteria. Up to
127 range/criteria pairs are allowed.
AVERAGE: AVERAGE(B1:B5)
Use Goal Seek to determine the AVERAGE MARKS:-
1. On the Data tab, in the Data Tools group, click What-If Analysis, and then click Goal
Seek.
2. In the Set cell box, enter the reference for the cell that contains the formula that you
want to resolve. In the example, this reference is cell B6.
3. In the To value box, type the formula result that you want. In the example, this is 75.
4. In the By changing cell box, enter the reference for the cell that contains the value that
you want to adjust. In the example, this reference is cell B3.
5. Click OK.
PIVOT TABLE
What is PIVOT TABLE?
A pivot table is a summary of your data, packaged in a chart that lets you report on and
explore trends based on your information. Pivot tables are particularly useful if you have
long rows or columns that hold values you need to track the sums of and easily compare to
one another.
Pivot tables are one of Excel’s most powerful features. A pivot table allows you to extract
the significance from a large, detailed data set.
Our data set Order ID, Product, Category, Amount, Date and Country.