In our new series, you will be interested if you are beginner in data mining or visual learner. This series of data mining articles will be a great learning on the data mining techniques and its mathematical background. Let discuss further on excel basic in this article to prepare our excel data mining journey.
Why Excel?
![excel cartoon](https://i2.wp.com/karatecoder.tech/wp-content/uploads/2022/03/excel-cartoon.gif?resize=480%2C480&ssl=1)
- Excel allows you to work with data in a transparent manner,, meaning when n excel file is opened, the data is visible immediately and every step of data processing is also visible.
- Intermediate result contained in excel worksheet and can be examined while you care conducting your mining task.
Prepare Some Excel Skills
- Here are several fundamental excel skills and functions that we need to be familiar.
Formula
- Formula is the most important feature of excel.
- Simple formulas always start with an equal sign (=), followed by constants that are numeric values and calculation operators such as plus (+), minus (–), asterisk(*), or forward slash (/) signs.
- Step by step:
- Select
C1
and type (=
) - Right click
A1
- Type (
+
) - Right click
A2
- Press enter
- Select
![formulas1](https://i2.wp.com/karatecoder.tech/wp-content/uploads/2022/03/formulas1.png?resize=520%2C365&ssl=1)
Absolute Reference
- When you copy A FORMULA that contains cell references, what happens to the cell references?
- Usually the CELL REFERENCES will CHANGE! If you copy a formula 2 rows to the right, then the cell references in the formula will shift 2 cells to the right.
- Absolute reference is when a reference has the dollar sign (
$
). - It locks a reference in the formula.
- Add
$
to the formula to use absolute references. - Place a “$” before a row number if you want that to always stay the same.
- For example, “$C$3” refers to cell C3, and “$C$3” will work exactly the same as “C3”
IF Function Series
IF Function Series
![IF FUNCTION SERIES](https://i1.wp.com/karatecoder.tech/wp-content/uploads/2022/03/IF-FUNCTION-SERIES.png?resize=520%2C197&ssl=1)
- The IF function runs a logical test and returns one value for a TRUE result, and another for a FALSE result.
- For example, to “pass” scores above 70: =IF(A1>70,”Pass”,”Fail”).
- More than one condition can be tested by nesting IF functions.
- The IF function can be combined with logical functions like AND and OR to extend the logical test.
Syntax =IF (logical_test, [value_if_true], [value_if_false])
COUNTIF(S) FUNCTION
- COUNTIF is an Excel function to count cells in a range that meet a single condition. COUNTIF can be used to count cells that contain dates, numbers, and text.
- COUNTIFS function applies criteria to cells across multiple ranges and counts the number of times all criteria are met.
Syntax =COUNTIF (range, criteria)
Syntax =COUNTIFS (range1, criteria1, [range2], [criteria2], …)
SUMIFS FUNCTION
- SUMIFS is a function to sum cells that meet multiple criteria.
- SUMIFS can be used to sum values when corresponding cells meet criteria based on dates, numbers, and text.
Syntax =SUMIFS (sum_range, range1, criteria1, [range2], [criteria2], …)
AVERAGEIF FUNCTION
- AVERAGEIF function calculates the average of numbers in a range that meet supplied criteria.
Syntax =AVERAGEIF (range, criteria, [average_range])
Finally, we learn some of key functions in excel that is important for data mining.
Thanks you and take care.