[lwptoc]
SUM in Excel
This basic Excel formula is used to get the sum of the value in one or more cells or ranges.
Example
=SUM(A1:A5)
Result
= 41 (See Image below)
COUNT Excel Function
This basic Excel function counts the numeric value in one or more cells or ranges.
Example
=COUNT(A1:A5)
Result
= 4 (This will exclude cell A3 since this formula calculates the only numeric value. Please see the image below).
COUNTA in Excel
This formula counts the value in one or more cells (This will measure the cells irrespective of the number or text value).
Example
=COUNTA(A1:A5)
Result
= 5 (This will Include Cell A3 since this formula calculates both text and numeric value. See Image below).
COUNTBLANK in Excel
This Excel basic function counts the blank value in the range. (Note: We will not consider only space in a cell a blank cell).
Example
=COUNTBLANK(A1:A5)
Result
= 2 (This will calculate the number of blank cells in the range. See image below).
AVERAGE in Excel
This basic formula in Excel is used to get the value average in one or more cells or ranges.
Example
=AVERAGE(A1:A5)
Result
= 4 (See Image below)
MIN Formula in Excel
This Excel basic function is used to get the minimum value in cells or range.
Example
=MIN(A1:A5). Result = 2 (See Image below)
Result
= 2 (See Image below)
MAX Formula in Excel
This basic Excel function is used to get the maximum value in cells or range.
Example
=MAX(A1:A5)
Result
= 9 (See Image below)
LEN in Excel
This basic function of Excel is used to calculate the number of characters in a cell or text.
Example
=LEN(A1)
Result
Cell A1 value is Shivam, which has a 6-character length. So, the result would be 6 (See image below).
TRIM in Excel
This basic Excel function removes unnecessary space in a cell or text.
SYNTAX: TRIM(TEXT)
Example
=TRIM(A1)
Result
Cell A1 has two spaces between first, middle, and last names. This function will remove extra space to give the result. (See image below).
IF Function in Excel
IF function can perform a Logical Test in Excel.
“Logical test means having a logical output which is either true or false, in excel we can perform logical test to any of the situations, the most commonly used logical test is by using the equals to operator which is “=” is we use =A1=B1 in cell A2 then it will return true if the values are equal and false if the values are not equal.”
Example
=IF(A1>33,”P”,”F”). A value in cell A1 is 50, and a logical test is if the value is greater than 33. Then the result would be P. Else, the result would be F.
Result
Since the value 50 is greater than 33, the result would be P. (See image below).
Things to Remember:
- A formula should always start with an equal sign. Else, it will show an error.
- If we enter any text value instead of giving a cell address, we should provide the text value within an inverted comma (“”).
- Before entering the function in a cell, ensure that the cell format is general. If a text format is selected, then the formula will not work.
- Space (_) is always counted as a single character. So, if you are working with blank cells, remember that if a cell has only space, it will not be counted as a blank cell.
Recommended Articles
This has been a guide to Basic Formulas in Excel. Here we discuss the list of top 10 Basic Formulas & Functions in Excel, including SUM, COUNT, COUNTA, COUNTBLANK, MAX, MIN, etc. with a downloadable excel template. You may learn more about excel from the following articles –
- Excel IF Formula
- Average Formula
- How to use Mode Function in Excel?
- VBA TRIM Examples
Further reading: Basic concepts Getting started with Excel Cell References