Excel Function
Excel Function
Rakibul Hoque
These functions are useful when dealing with large data sets and manual calculations are inefficient
and impractical.
3. AVERAGE Function
The ‘AVERAGE’ function is one of the basic tasks being done in Excel.
This function calculates the arithmetic mean of a set of numbers or the sum of the values divided by
the number of values.
Syntax:
=AVERAGE(number1, [number2]…)
Parameter:
• ‘number1’, ‘number2’ – the values or cell references you want to average
People use the averages every day, from school grades to statistics. It’s not surprising why the
‘average’ function is one of the most important functions in Excel you need to learn.
5. COUNT Function
Basically, the ‘COUNT’ function returns the number of cells that contain numbers.
It may seem rather rudimentary. But in actuality, this function is used in a lot of computations and
scenarios.
Syntax:
=COUNT(value1, [value2], …)
Parameter:
• ‘value1’, ‘value2’ – the items, cell reference, or ranges you want to count numbers
This function is used in many things like counting how many items there are in a list, counting specific
cases, and others.
7. SUMPRODUCT Function
The ‘SUMPRODUCT’ function is a powerful and useful function in Excel.
This function returns the sum of the product of two or more arrays.
Syntax:
=SUMPRODUCT(array1, [array2], [array3], …)
Parameter:
• ‘array1’, ‘array2’, ‘array3’ – the arrays that contain the values to be multiplied and the
products added
This is an important Excel function since this is used to calculate weighted averages as well
as simplify a lot of tasks like sales inventory.
8. RANDBETWEEN Function
Ever had the need to come up with random values between a specified minimum and maximum
values?
The ‘RANDBETWEEN’ function returns a random number within a range you specify.
Syntax:
=RANDBETWEEN(bottom, top)
Parameters:
• ‘bottom’ – minimum integer to return
• ‘top’ – maximum integer to return
You don’t know when you’ll need to generate random numbers in Excel. With this function,
there’s no need for you to get random numbers from websites or other tools.
9. INT Function
The ‘INT’ function is a rather simple Excel function with a single purpose:
Rounding a value down to the nearest integer.
Syntax:
=INT(number)
Parameter:
• ‘number’ – represents the value or cell reference with the value you want to round down
Mostly, the ‘INT’ function is used to get the integer portion of a number.
One of the most common uses of this function is getting the age using the date of birth along with
‘TODAY’ and ‘YEARFRAC’ functions.
Text Functions
11. FIND and SEARCH Functions
The ‘FIND’ and ‘SEARCH’ functions, as you might have guessed, are actually similar.
Both return a number that represents the starting position of the string you are looking for in
another string.
But they’re not the same. Here are two (2) notable differences they have against each other:
• You can use wildcards (asterisk, question mark, and tilde) with ‘SEARCH’ but not with
‘FIND’.
• ‘FIND’ is case sensitive while ‘SEARCH’ is not.
Syntaxes:
=FIND(find_text, within_text, [start_num])
=SEARCH(find_text, within_text, [start_num])
Parameters:
• ‘find_text’ – text/string you’re looking for
• ‘within_text’ – the text or location you want to look in
• ‘start_num’ – optional; represents the position you want to start looking; if omitted, the
search starts from the beginning
The secret to knowing when to use either lies in your analytical and creative thinking.
Logical Functions
19. IF and IFS Functions
The ‘IF’ and ‘IFS’ functions are two of the most popular functions in Excel.
So what are they and what do they do?
For a start, they are called logical operators.
You use ‘IF’ if you want to evaluate a condition and get a response of either TRUE or FALSE. When you
have multiple conditions you like to test, ‘IFS’ is what you use.
Syntaxes:
=IF(logical_test, [value_if_true], [value_if_false])
• #NUM!
• #NAME?
• #NULL!
Of course, if there’s no error, the result from formula or argument inside the ‘value’ is the return value.
When used to check a formula, it may make the formula look a bit complicated. But in reality, it makes
troubleshooting more efficient and effective.
Using this formula no way degrades the argument or formula used.
This is as powerful as the vertical lookup function. However, ‘HLOOKUP’ is less often used as most
data is arranged vertically.
This function works by letting you look for a data in a row and when that data is found, you can fetch
a value by going down the column of that row.
Syntax:
=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
Parameters:
• ‘lookup_value’ – what you’re looking for
• ‘table_array’ – where to look
• ‘row_index_num’ – what you want to know
• ‘range_lookup’ – optional; setting for returning an exact match or approximate match; if
omitted, the default is to return the approximate match
The ‘HLOOKUP’ function, especially when paired with other lookup and reference functions, is one
of the most useful advanced functions in Excel.