Escolar Documentos
Profissional Documentos
Cultura Documentos
Nota Excel 2003 Advance
Nota Excel 2003 Advance
Sinopsis
Kursus Microsoft Excel Advanced dibuat untuk memberi kefahaman yang lebih
mendalam kepada peserta tentang teknik-teknik penggunaan perisian hamparan
(spreadsheet). Penekanan utama adalah untuk tujuan penyelesaian yang
melibatkan pengiraan dan ia mempunyai susunan jalur dan barisan dan ini akan
memudahkan lagi setiap operasi. Beberapa contoh latihan yang melibatkan
formula dan pengiraan diberi kepada peserta untuk diselesaikan.
Kandungan Kursus
Lihat pada mukasurat kandungan kursus
Objektif
Borneosys Sdn.Bhd 1
Ms Excel Lanjutan 2008
1. Buka perisian MS Excel 2003 (XP) dan perhatikan paparan utama yang ditunjukkan.
Kenalpasti bahagian seperti yang ditunjukkan di dalam rajah di bawah:
Standard Toolbar
Formula bar
Borneosys Sdn.Bhd 2
Ms Excel Lanjutan 2008
Functio
n Description
Borneosys Sdn.Bhd 3
Ms Excel Lanjutan 2008
jika ekspresi logika menghasilkan nilai true maka akan dilaksanakan perintah 1.
sebaliknya jika ekspresi logika menghasilkan False maka yang akan di laksanakan
adalah perintah 2
contoh:
A B
1 Price Over a dollar?
2 $.95 No
3 $1.37 Yes
5 14000 0.08
6 8453 0.05
Example of IF
Compares Answer
typed into column B
=IF (A2>1,"Yes","No") is ( .95 > 1) No
=IF (A3>1, "Yes", "No") is (1.37 > 1) Yes
=IF (A5>10000, .08, .05) is (14000 > 10000) .08
=IF (A6>10000, .08, .05) is (8453 > 10000) .05
Latihan 1:
Tuliskan maklumat dibawah menggunakan MS Excel.
A B C D
1 First Number Second Number Formula
2 13 20=IF(A2>B2,"yes","no") 500
3 12 2=IF(A3>B3,1,2)
4 44 325=IF(A4>B4,"yes","")
5 100 10=IF(A5>B5,"contact this salesperson","give this one a raise")
6 3 50=IF(A6>B6,"contact this salesperson",$D$2)
7 40 100=IF(A7>B7,"contact this salesperson",(B7*50%))
Borneosys Sdn.Bhd 4
Ms Excel Lanjutan 2008
A B
1 5 3
2 7 4
3 8 6
Constant Referenced
Operation Symbol Answer
Data Data
Multiplication * =5*6 = A1 * B3 30
Division / =8/4 = A3 / B2 2
Addition + =4+7 = B2 + A2 11
Subtraction - =8-3 = A3 - B1 5
Antara fungsi tambahan yang terdapat pada Math function ialah seperti:
Borneosys Sdn.Bhd 5
Ms Excel Lanjutan 2008
Beberapa fungsi math yang sering digunakan dalam membantu mengira dalam
perkerjaan kita seharian misalnya ialah:
Borneosys Sdn.Bhd 6
Ms Excel Lanjutan 2008
Contoh:
1 Data
2 -4
Contoh :
A
1 25
2 50
3 75
4 test
5
C) TRUNC Truncates a number to an integer by removing the fractional part of the number.
Cara formulanya : = TRUNC(number) number = is the number you want to truncate.
Contoh :
Borneosys Sdn.Bhd 7
Ms Excel Lanjutan 2008
A B
Antara fungsi lain yang hampir sama dengan fungsi matematik ialah STATISTIC function
seperti: Function dengan tanda √ sering digunakan dalam statistik mudah.
Function Description
AVEDEV Returns the average of the absolute deviations of data points from their mean
AVERAGE √ Returns the average of its arguments
AVERAGEA Returns the average of its arguments, including numbers, text, and logical values
BETADIST Returns the beta cumulative distribution function
BETAINV Returns the inverse of the cumulative distribution function for a specified beta
distribution
BINOMDIST Returns the individual term binomial distribution probability
CHIDIST Returns the one-tailed probability of the chi-squared distribution
CHIINV Returns the inverse of the one-tailed probability of the chi-squared distribution
CHITEST Returns the test for independence
CONFIDENCE Returns the confidence interval for a population mean
CORREL Returns the correlation coefficient between two data sets
COUNT √ Counts how many numbers are in the list of arguments
COUNTA Counts how many values are in the list of arguments
COUNTBLANK Counts the number of blank cells within a range
COUNTIF Counts the number of nonblank cells within a range that meet the given criteria
COVAR Returns covariance, the average of the products of paired deviations
CRITBINOM Returns the smallest value for which the cumulative binomial distribution is less than
or equal to a criterion value
DEVSQ Returns the sum of squares of deviations
EXPONDIST Returns the exponential distribution
FDIST Returns the F probability distribution
FINV Returns the inverse of the F probability distribution
FISHER Returns the Fisher transformation
FISHERINV Returns the inverse of the Fisher transformation
FORECAST Returns a value along a linear trend
FREQUENCY Returns a frequency distribution as a vertical array
FTEST Returns the result of an F-test
GAMMADIST Returns the gamma distribution
GAMMAINV Returns the inverse of the gamma cumulative distribution
GAMMALN Returns the natural logarithm of the gamma function, Γ(x)
GEOMEAN Returns the geometric mean
GROWTH Returns values along an exponential trend
Borneosys Sdn.Bhd 8
Ms Excel Lanjutan 2008
Borneosys Sdn.Bhd 9
Ms Excel Lanjutan 2008
logical values
WEIBULL Returns the Weibull distribution
ZTEST Returns the one-tailed probability-value of a z-test
i) AVERAGE
Average which is the arithmetic mean, and is calculated by adding a group of numbers and then dividing
by the count of those numbers. For example, the average of 2, 3, 3, 5, 7, and 10 is 30 divided by 6, which
is 5.
Cara formulanya (1) : = AVERAGE (nombor pertama : nombor terakhir )
(2) : = AVERAGE (no pertama : nombor terakhir , nombor lain lagi )
Contoh:
A
1 25
2 50
3 75
4 100
5
1 10
2 20
3 30
4 test
5
* Nota: Ruang kosong dan teks tidak diambil kira semasa fungsi max berjalan
Contoh:
A
1 10
2 20
3 30
4 test
5
Example of min Cells to look at Ans. min
=min (A1:A4) A1, A2, A3, A4 10
=min (A2:A3, 100) A2, A3 and 100 20
=min (A1, A3) A1, A3 10
=min (A1, A5) A1, A5 (displays the smallest number) 10
iii) COUNT
Counts the number of cells that contain numbers and counts numbers within the list of arguments. Use
COUNT to get the number of entries in a number field that is in a range or array of numbers.
Contoh :
Borneosys Sdn.Bhd 11
Ms Excel Lanjutan 2008
1 Data
2 Sales
3 12/8/2008
5 19
6 22.24
7 TRUE
8 #DIV/0!
=COUNT(A2:A8) Counts the number of cells that contain numbers in the list above (3)
=COUNT(A5:A8) Counts the number of cells that contain numbers in the last 4 rows of the
list (2)
=COUNT(A2:A8, Counts the number of cells that contain numbers in the list, and the value
2) 2 (4)
Nota:
• Blank entries are not counted. ( Ruang kosong tidak diambil kira dalam COUNT)
• Text entries are NOT counted ( Juga TEXT tidak di ambil kira dalam COUNT)
Pengenalan
Microsoft excel menyediakan beberapa siri fungsi pelbagai jenis bagi operasi yang
berkaitan dengan kewangan atau financial.
Borneosys Sdn.Bhd 12
Ms Excel Lanjutan 2008
Fungsi ini adalah bergantung kepada faktor iaitu nilai yang hendak dikira.Kebanyakkan
fungsi ini adalah berkaitan dengan pelaburan (investments) atau pinjaman kewangan
(loan financing).
Apakah FV
As described above and in reality, the Future Value is the amount the item would
be worth at the end. In most, if not all, loans, it would be 0. On the other hand, if
a customer is borrowing money to buy something like a car, a boat, a piano, etc,
the salesperson would ask if the customer wants to put a "down payment", which
is an advance of money. Then, the salesperson or loan officer can either use that
down payment as the Future Value parameter or simply subtract it from the
Present Value and then apply the calculation to the difference. Therefore, you can
apply some type of down payment to your functions as the Future Value.
To calculate the future value of an investment, you can use the FV() function. The
syntax of this function is:
Borneosys Sdn.Bhd 13
Ms Excel Lanjutan 2008
Borneosys Sdn.Bhd 14
Ms Excel Lanjutan 2008
The IPMT() function is used to calculate the amount paid as interest on a loan during a
period of the lifetime of a loan or an investment.
Borneosys Sdn.Bhd 15
Ms Excel Lanjutan 2008
Borneosys Sdn.Bhd 16
Ms Excel Lanjutan 2008
Secara asalnya, formula/rumus pada microsoft Excel yang kita buat pada helaian kerja
TIDAK AKAN KELIHATAN apabila kita hendak mencetak helaian kerja kita.
Apa yang dilihat pada helaian kerja adalah Result atau hasil dari perkiraan formula yang
digunakan.
Bagaimanakah jika anda ingin mencetak formula pada helaian kerja anda dan bukannya
nombor-nombor yang ada hasil dari perkiraan formula ??????
Nota: segalanya akan normal semula jika anda membuang tanda √ pada OPTION
dalam rajah diatas.
Borneosys Sdn.Bhd 17
Ms Excel Lanjutan 2008
Borneosys Sdn.Bhd 18
Ms Excel Lanjutan 2008
Satu lagi fungsi yang sangat hebat yang terdapat dalam excel ialah fungsi
LOOKUP. Fungsi ini membenarkan anda memasukkan nilai anda pada cell
kemudian mencarinya pada jadual yang anda dicipta dan kemudian
mengambil nilai-nilai pada jadual yang anda cipta itu .
Misalnya anda ingin mengambil nama pelajar dalam satu jadual.anda hanya
perlu menaip no.matrik pelajar itu sahaja untuk mendapatkan namanya dari
jadual tersebut.
Borneosys Sdn.Bhd 19
Ms Excel Lanjutan 2008
• Maka jadual rujukan LOOKUP telah terbina yang diberinama HARGA dan
telah sedia untuk dilaksanakan dalam operasi.
Andaian bahawa apabila anda masukkan nilai pada sel F4,sel G4 akan
tertera nama barang dari jadual LOOKUP di sebelah.
Borneosys Sdn.Bhd 20
Ms Excel Lanjutan 2008
Borneosys Sdn.Bhd 21
Ms Excel Lanjutan 2008
Penerangan:
Borneosys Sdn.Bhd 22
Ms Excel Lanjutan 2008
Latihan kefahaman.
Borneosys Sdn.Bhd 23
Ms Excel Lanjutan 2008
Langkah 1:
Langkah 2.
Borneosys Sdn.Bhd 24
Ms Excel Lanjutan 2008
So you need to enter 24.00% in cell B3, 60 in cell B4, and £10,000 in cell B5.
We'll enter our formula now. Click inside cell D2 and enter the following:
When you press the enter key on your keyboard, Excel should give you an
answer of £287.68.
Langkah 3:
So enter some new values in cells C3, C4, and C5. Enter the same ones as in
the image below:
Borneosys Sdn.Bhd 25
Ms Excel Lanjutan 2008
Langkah 4:
you have to highlight both the new values and the Function you're using.
So Highlight the cells C2 to D5. Your spreadsheet should look like this:
Langkah 5:
So click inside the Column input cell box and enter B3:iaitu RUMUS ASAL
Borneosys Sdn.Bhd 26
Ms Excel Lanjutan 2008
If you click inside any of the cells D3 to D5, then look at the formula bar, you will
see this:
{=TABLE(,B3)}
That's Excel's way of telling you that a Table has been created, based on the
input cell B3
Borneosys Sdn.Bhd 27
Ms Excel Lanjutan 2008
Data validation is a tool that helps you control the kind of information that is
entered in your worksheet. With data validation, you can:
If the list of options is more than a couple of items, it will be easier to maintain if
you type the list on a worksheet. The list can be entered on the sheet that will
contain the dropdown lists, or on a different sheet. In this example, the list will be
stored on a sheet named Lists.
a. In single row or column, type the entries you want to see in the drop-down list.
(Note: The list must be in a single block of cells -- e.g. you can use A2:A6, but
not A2, A4, A6, A8.)
Borneosys Sdn.Bhd 28
Ms Excel Lanjutan 2008
If you type the items on a worksheet, and name the range, you can refer to the list from
any worksheet in the same workbook.
d. In the Source box, type an equal sign and the list name, for example: =FruitList
e. Click OK.
Borneosys Sdn.Bhd 29
Ms Excel Lanjutan 2008
Error Alert
c) Type your message heading text in the Title box. This text will appear in bold print at
the top of the message.
e) Click OK
Borneosys Sdn.Bhd 30
Ms Excel Lanjutan 2008
Introduction
One of the most powerful features of Microsoft Excel is the Pivot Table. Pivot tables allow rapid,
dynamic, flexible data analysis. Pivot charts add to the flexibility of pivot tables, allowing the same
rapid analysis of displayed data, while sacrificing substantial flexibility of normal Excel charts.
This article describes how to create pivot tables and pivot charts, and how to create normal charts
from pivot tables.
The source data range for a pivot table must be arranged in a list, which has each record
(observation) in a single row, each field (variable) in a single column, a header row with names of
the fields, and no blank rows or columns. The following sample data shows monthly sales figures
for Reps 1 and 2 in the North region and Reps 3 and 4 in the South region.
Borneosys Sdn.Bhd 31
Ms Excel Lanjutan 2008
To make a pivot table, select either the entire source data range, or a single cell within
this range, and choose Pivot Table and Pivot Chart Report... from the Data
menu.
The various parts of the Pivot Table Wizard verify that the data is from an Excel
database and ask whether to create a pivot table or pivot chart, then ask whether the
pivot table shall be created on a new worksheet or on an existing sheet. I find it easier to
create the pivot table alone, and add a pivot chart (or regular chart) later.
The most important part of a pivot table is its layout. The layout can be designed by clicking the
Layout button on the last step of the Pivot Table Wizard, or directly within the worksheet. Drag
the Pivot Field buttons into the appropriate area (Page, Row, Column, or Data) of the pivot table.
Borneosys Sdn.Bhd 32
Ms Excel Lanjutan 2008
A sample pivot table is shown below: the Month and Region fields are in the Row area of
the pivot table, the Rep field is in the column area, and the Amount field is in the data
area. There are no page fields identified in this example. The data area of the pivot table
allows several options for the fields it contains, including Sum, Average, Min, Max, and
Count; this example keeps the default Sum of Amount.
Borneosys Sdn.Bhd 33
Ms Excel Lanjutan 2008
The default pivot table has row and column grand totals, and intermediate subtotals for the
Months. The Pivot Table menu on the Pivot Table toolbar has some useful items: Wizard
which reruns the Pivot Table Wizard on the active pivot table, Table Options which includes
whole-table settings, such as row and column totals, and Field Settings which includes
formatting and subtotal settings for the individual pivot fields. Double clicking on a pivot field
button also invokes the Field Settings dialog. I like to simplify my pivot tables by removing
subtotals and grand totals, as shown in the following example.
The dropdown arrows on the pivot field buttons display a list of pivot items belonging to that field.
You can change whether a pivot item is visible using the checkboxes in the list.
The layout of an existing pivot table can be changed by rerunning the Pivot Table Wizard, or by
dragging the pivot field buttons within the pivot table. The following arrangement was made by
dragging the Rep field button to the row area of the pivot table.
Borneosys Sdn.Bhd 34
Ms Excel Lanjutan 2008
The best way to become familiar and comfortable with pivot tables is to practice on a few
samples, experimenting with the different options.
Borneosys Sdn.Bhd 35
Ms Excel Lanjutan 2008
There are a number of ways to create a Pivot Chart from a pivot table.
A pivot chart is by default created on its own chart sheet. You can move it to a worksheet using
the Location... item on the Chart menu, choosing As object in:, and selecting a sheet
from the dropdown list. I generally place the pivot chart onto the same sheet as the pivot table.
The first simplified pivot table is recreated below with its associated pivot chart.
Borneosys Sdn.Bhd 36
Ms Excel Lanjutan 2008
Notice that the pivot chart has the same pivot field buttons as the pivot table. These field buttons
can be dragged or double clicked with the same functionality as those in the pivot table. The
dropdown arrows allow selection of specific pivot items as in the pivot table. When the items in
the pivot chart are changed, the associated pivot table changes the same way. Realigning the
pivot fields of the pivot chart changes the pivot table and pivot chart as shown below (a few
formatting changes have also been made).
TAMAT
Borneosys Sdn.Bhd 37