Computer II: Counting Numeric Cells
Computer II: Counting Numeric Cells
Computer II
COUNTA function to return the number of nonblank cells in a range named Data:
Syntax
=COUNTA (Data) or COUNTA (value1,value2, ……)
The COUNTA function counts cells that contain values, text, or logical values (true or false).
Conditional IF
The If conditional specify evaluates to True and another value if it evaluated to False.
Syntax
=IF (logical_test,value_if_true,value_if_false)
The IF function takes three arguments:
1. logical_test: argument sets up some kind of equality (A=B), inequality (A<>B), or
comparison (A>B, A<=B, and so on) that either is the case (true) or is not (false).
2. lalue_if_true: argument tells Excel what to calculate or input when the logical test is
found to be true.
3. lalue_if_false: argument tells the program how to proceed or what to input when the
logical test turns out to be false.
Creating a Chart
Another useful feature of spreadsheet programs is that they allow you to display your
data in the form of graphs and charts very easily. In Excel, charts can be placed anywhere in a
workbook, and can be easily moved and modified.
1. First select the cells containing the data you want to display.
2. Then click on the Chart Wizard icon from the button on the Standard toolbar.
3. After you have made your selections by clicking on them, select Next to proceed
to the next stage.
4. Then click Series Tab
5. Click in the boxes for Name and Values, and then select a worksheet range; or
type the name and values in the boxes.
6. Selected Category (X) axis to Displays data on the selected axis as the default
category (x) axis.
7. Select Next to proceed to the next stage.
8. Select Next to proceed to the next stage.
9. Click As new sheet, and then type a name for the new chart sheet in the As new
sheet box to place the chart on a new chart sheet.
Excel’s Sort feature makes it easy to rearrange the records or even the fields in your table of
data or data list.
When defining the key fields or rows for a sort, you can specify either an ascending or
descending sort order for its data:
• When you specify ascending order (which is the default), Excel arranges text in A-to-
Z order and values from smallest to largest.
• When you specify descending order, Excel reverses this order and arranges text in Z-
to-A order and values range from largest to smallest.
4. In the Sort By drop-down list, select the name of the field you want used as the
Primary Key in sorting the records.
5. If you want to sort the records in Descending order using the Primary Key, click the
Descending option button.
Product Function
Multiplies its Arguments.
Syntax
SQRT Function
Returns a positive square root.
Syntax
SQRT(number)
Number is the number for which you want the square root.
POWER Function
Syntax
POWER(number,power)
AVERAGE Function
Syntax
AVERAGE(number1,number2,...)
Number1, number2, ... are 1 to 80 numeric arguments for which you want the average.
MAX Function
Syntax
MAX(number1,number2,...)
Number1, number2, ... are 1 to 30 numbers for which you want to find the maximum value.
DATEDIF Function
DATEDIF is a Function that calculates the number of days, months, or years between two
dates.
Syntax
=DATEDIF ( Start_date,End_Date,Unit code)
Using AutoFilter enables you to display only the records that you want to see. When
AutoFilter mode is on, you can filter the data by selecting values.
1. AutoFilter on, position the cell pointer somewhere in one of the cells of the list
1. Before you can use the advanced filtering feature, you must set up a criteria range.
2. A criteria range is a designated range consists of at least two rows.
a. All field names from the list.
b. The other rows consist of your filtering criteria.