Js 02 - Mohamad Fahmi Bin Darham

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

QUESTION/DISCUSSION

1.HOW TO CREATE THE TABLE.


Creating an Excel Table
After your data is organized, as described above, you're ready to create the formatted Table.

1. Select a cell in the list of data that you prepared.


2. On the Ribbon, click the Insert tab.

3. In the Tables group, click the Table command.


4. In the Create Table dialog box, the range for your data should automatically
appear, and the My table has headers option is checked. If necessary, you can
adjust the range, and check box.

5. Click OK to accept these settings.

Sort and Filter the Data


Your list is now an Excel Table, and is automatically formatted with a default Table Style, which
you can change.
The heading cells have drop down arrows that you can use to sort or filter the data.

Rename an Excel Table


When it is created, an Excel table is given a default name, such as Table 3. You should change
the name to something meaningful, so it will be easier to work with the table later.

To change the table name:


1. Select any cell in the table
2. On the Ribbon, under the Table Tools tab, click the Design tab.

3. At the far left of the Ribbon, click in the Table name box, to select the existing
name

4. Then, type a new name, such as Orders, and press the Enter key

2.Give example for mathematics formula using


excel.
The first thing that you have to know is that all formula entries start with an equal sign (=). For simple
formulas, you type the equal sign followed by the numeric values that you want to calculate and the math
operators that you want to use for example the plus sign (+) to add, the minus sign (-) to subtract, the
asterisk (*) to multiply, and the forward slash (/) to divide the values that you enter. When you press ENTER,
Excel instantly calculates and displays the result of the formula.
For example, when you type a simple formula in a cell (for example, =12.99+16.99 in cell C6 in the following
picture) and then press ENTER, Excel calculates the result and displays it in that cell. The formula itself
appears in the formula bar.

The formula that you enter in a cell remains visible in the formula bar, and you can see it whenever that cell is
selected.

Click AutoSum, and voila!


To quickly total a series of values without having to enter any of them manually in a formula, you can enter a
formula that uses the SUM function, also known as AutoSum.
AutoSum is the button that displays the "summation" symbol (the uppercase Sigma of the Greek alphabet).
Within easy reach in two locations on the Ribbon, you can find this button on the Home tab in
the Editing group and on the Formulas tab in the Function Library group.
When you select a cell to the right of or below a range of numeric values and then click AutoSum, Excel
automatically includes that range in the formula and calculates the values.

Clicking AutoSum enters a formula that uses the SUM function to calculate the numeric values directly above
or to the left of the selected cell.
For example, to quickly total the numbers for January, you just have to select cell B7 and then click AutoSum.
A color marquee surrounds the cells that are selected in the formula that is entered in cell B7. After pressing
ENTER, the result of the formula is displayed in the selected cell (B7), and the formula appears in the formula
bar.

Cell B7 displays the result of the formula. The formula itself appears in the formula bar whenever that cell is
selected.
In a formula that uses a function, such as SUM, the cell reference that appears inside the parentheses is the
argument of the formula. The argument determines which values the formula is going calculate. The colon (:)
in the cell reference (B3:B6 in the example) indicates that the cell reference is a range of cells. Parentheses are
always required in a formula that uses a function they separate the argument from the function name in the
formula.

When a cell reference is used in the argument of a formula instead of the actual values, Excel can
automatically update the formula result whenever the values in the referenced cells are updated.

Stop typing the same formula over and over


Once you have created a formula, you can copy it to other cells no need to create the same formula over and
over again.
For example, when you copy the formula in cell B7 to the adjacent cell C7, the formula in that cell
automatically adjusts to the new location, and calculates the numeric values in column C.

The copied formula references and calculates the numeric values in column C.
Top of Page

Use a simple formula to add, subtract, multiply, or divide numeric values


In a simple formula, you can enter values and math operators to calculate those values. However, instead of
entering values directly in the formula, you can also refer to the cells that contain the values that you want to
calculate. Using cell references in a formula makes sure that any changes to the values are automatically
updated in the calculation result of the formula.

1.

On a worksheet, click the cell in which you want to enter the formula.

2.

To start the formula, type =

3.

To enter the first numeric value, do one of the following:


Type the value that you want to use.

TIP For example, type 10

Select the cell that contains the value that you want to use.

TIP For example, select cell A1.

4.

To enter the math operator that you want to use, do one of the following:

To use a plus sign (+) to add the values in the formula, type +

To use a minus sign (-) to subtract the values in the formula, type -

To use an asterisk (*) to multiply the values in the formula, type *

To use a forward slash (/) to divide the values in the formula, type /
5.

To enter the next value numeric value, do the following:


Type the value that you want to use.

TIP For example, type 5.

Select the cell that contains the value that you want to use.

TIP For example, select cell B1.

6.

Repeat steps 4 and 5 for any additional math operations and values that you want to include in the
formula.
TIP For an operation to take precedence in the calculation, use parentheses around that operation. For

example, type =(10+5)*2 or =(A1+B1)*C1.


7.
When the formula is complete, press ENTER.
By default, the resulting value of the formula appears in the selected cell, and the formula itself is displayed in
the formula bar.

What can I use in a formula to mimic calculator


keys?
Calculator key

Excel method

Description, example

Result

+ (Plus key)

+ (plus)

Use in a formula to add numbers. Example: =4+6+2

12

- (Minus key)

- (minus)

Use in a formula to subtract numbers or to signify a negative number.


6
Example: =18-12
-120
Example: =24*-5 (24 times negative 5)

x (Multiply
key)

* (asterisk; also called


"star")

Use in a formula to multiply numbers. Example: =8*3

24

(Divide key)

/ (forward slash)

Use in a formula to divide one number by another. Example: =45/5

% (Percent
key)

% (percent)

Use in a formula with * to multiply by a percent. Example: =15%*20

(square root)

SQRT (function)

Use the SQRT function in a formula to find the square root of a


number. Example: =SQRT(64)

1/x
(reciprocal)

=1/n

Use =1/n in a formula, where n is the number you want to divide 1 by.

0.125

Example: =1/8

Use the SUM function to total numeric values in a column


or row
To calculate the total of a series of numeric values in a row or column, you do not have to enter all those values
manually into a formula. Instead you can use a predefined formula that uses the SUM function.
1.

On a worksheet, click a cell below or to the right of the numeric values that you want to total.

2.

On the Home tab, in the Editing group, click AutoSum

TIP AutoSum is also available on the Formulas tab, in the Function Library group.

3.

Press ENTER to display the SUM function result in the selected cell.
The formula itself appears in the formula bar.
TIP If you are looking for a quick way to total values in a column, you may want to place your data in an

Excel table. In an Excel table, you can add a total row so that you can instantly summarize the values in a
column. For more information, see the training course Use Excel tables to manage information.

There is no SUBTRACT function in Excel


Although there is a SUM function, there is no SUBTRACT function. Instead, use the minus (-) operator in a
formula; for example, =8-3+2-4+12. Or, you can use a minus sign to convert a number to its negative value in
the SUM function; for example, the formula =SUM(12,5,-3,8,-4) uses the SUM function to add 12, 5, subtract
3, add 8, and subtract 4, in that order.

Fill a formula into adjacent cells


When you fill a formula into adjacent cells, either in a row or column, the formula automatically adjusts to
calculate the values in the corresponding row or column.
1.

On a worksheet, select the cell that contains the formula that you want to fill into adjacent cells.

2.

Drag the fill handle

across the cells that you want to fill.

NOTE The fill handle is displayed by default, but if it is not available you must first specify an option in

Excel to enable the fill handle.


3.

To specify how you want to fill the selection, click Auto Fill Options
that you want.

, and then click the option

NOTE If automatic workbook calculation is not enabled, formulas will not recalculate when you fill cells. To

1.
2.
o

check your workbook calculation options, do the following:


Click the File tab, click Options, and then click the Formulas category.
Under Calculation options, look under Workbook Calculation.
Automatic

Formulas automatically recalculate.

Automatic except for data tables

Formulas automatically recalculate, unless the formula

is in a data table.
o

Manual

Formulas never automatically recalculate.

Recalculate workbook before saving

This option is available only if Workbook

Calculation is set toManual. If this check box is selected, formulas do not automatically recalculate until you
save the workbook. Note that several other actions can cause the workbook to be saved, such as using the Send
To command.

3.HOW TO INSERT SYMBOL RM WITH 2 DECIMAL


PLACES.
Step 1 : Prepared a table

Step 2 : Highlight that we want change the symbol

Step 3 : Go to More Accounting Number Formats

Step 4 : go to accounting and search symbol RM


Malay (Malaysia) and click ok.

Step 5 : Finish

You might also like