(FIST)
PCA 0150
Computer Applications
ONLINE NOTES
Tutorial 4
MS Excel
PCA0150 Computer Applications
Objectives:
1. Formatting cells
2. Series
Use formulas to solve this question. You can type the formula
directly into the cell as shown above or click the Insert
Function button (labeled fx).
To calculate the Profit for Feb, Mar and April select B5 and
drag the Fill Handle to the right. Apply the same method
when you calculate Tax.
To calculate the total, type in the formula in cell F3. Select F3
and drag the Fill Handle downwards. Apply the same method
when you calculate Average, Highest and Lowest.
Other methods to calculate the total:
Click the cell F3 and click the AutoSum button
Or type the formula =b3+c3+d3+e3
To calculate average in G3 you can also use = F3 / 4
To calculate the tax in B6 you can also use = 5/100*B5 or
=5%*B5
Diagram 3 - Bowling
Start by colouring the background with light brown by clicking
on the Select All Button and click Fill Color.
Highlight C3:H14 fill it with gray. Merge C2:H2 and fill it with
black.
HINT: Use Alt + Enter to insert a new line within the same
cell (for the title of the table)
Merge B4:B8 and merge B9:B13 then Ctrl+1. Click
Alignment to change the text orientation.
To colour alternately blue-green-blue: colour Albakri's entry
(d4 to g4) with blue and Alban's entry (d5 to g5) with green.
Then highlight both lines (d4 to g5), drag the Fill Handle using
right mouse click till Sharon's entry (G14). Release the
mouse and click Fill Formatting Only. Do the rest on your
own.
Question 2a: Put the word No in the cell F4 if the Points are less
than 125, otherwise display Yes.
Click on cell F4 and click the Insert Function Button or
Formulas tab/ribbon | Function Library group | Insert
Function. Set Category = All, Function name = IF. Click OK
and set the test as shown below. We want to test the Points
of the first player (which is in E4) to see whether it is <125 or
not.
Click Ok and Excel will perform the test. Use a right click and
drag the Fill Handle from E4 to E13. Release the mouse and
choose Fill Without Formatting. If you use left button to
drag it will copy the colour as well as the formula, which we
don't want to happen.
If you are an expert you can type the formula directly into cell
F4 =if(e4<125,"no","yes") or =if(e4>124, "yes",
"no")
Question 2d: Sort the males' list according to the points from
highest to lowest, and sort the females by their names A to Z
Highlight d4 to g8 > click Data tab/ribbon > Sort & Filter
group > click Sort > Uncheck option My Data Has headers >
sort by: column E, sort on: Value, order: Largest to Smallest.
Highlight d9 to g13 > Data tab/ribbon > Sort & Filter group
> click Sort > Uncheck option My Data Has headers > sort
by: column D, sort on: Value, order: A-Z.
3. Referencing Cells
Excel will deduct the cell which is 2 rows above b5 with the
cell 1 position above b5. That's why when you drag the fill
handle to the right the formula changes to c5=c3-c4 and
d5=d3-d5.
When you drag the fill handle sideways the letters (alphabets)
will be adjusted but if you drag it up and down, the numbers
in the formula will be adjusted. Is there any way that we can
fix the row number and column letter?
Yes! Absolute References - when you want to copy a
formula without having all its references adjusted.
put a dollar sign before the letter if you want to fix the column
e.g. $A1 , put a dollar sign before the number if you want to
fix the row e.g. A$1 or you can fix both by using $A$1 .
Question 3.1 Try this out in a new sheet in the same file. Name
the sheet as referencing.
name box and type a simple name like prize. Then modify
the formula in M11 to =COUNTIF(prize,"T-shirt") Then you
should know what to do ? .... Drag the fill handle from M11 to
M13!
To print a range:
Select the area to be printed
Click the Print Area button on the Page Layout tab
Click Select Print Area
5. Graphing
Question 5.1
Plot the Expenses against Month for the data in Diagram 2. Use
the same worksheet (Accounts).
Step 1: Select the row that contains the names of the months
from A2 till E2
Step 2: Hold down Ctrl key on the keyboard and select the
row that contains the Expenses from A4 till E4
Step 3: Click the Insert Tab at the top of the Excel screen.
When you do you’ll see that one of the Groups in the Insert
Tab/Ribbon is Charts
Step 4: For our first chart, we’ll use a Column Chart. Move
your cursor over Column and an image like the one on the
right will appear.
Step 6: Click inside your chart and you can see Chart Tools at
the top of the Excel screen. We will used Chart Tools to
modify our chart.
Chart Tools
The Chart Tools appear on the Ribbon when you click on the chart.
The tools are located on three tabs: Design, Layout, and Format.
Within the Design tab you can control the chart type, layout,
styles, and location.
Within the Layout tab you can control inserting pictures, shapes
and text boxes, labels, axes, background, and analysis.
Within the Format tab you can modify shape styles, word styles
and size of the chart.
Question 5.2
Question 5.3
b. Give 2 methods how to remove the fill colour of the cells without
deleting the data.
c. In diagram 2: copy A1 till I6 > click on A8 > Edit > Paste Special
> Tick Transpose > OK. Describe what happens.
Question 5.4