5 Essential Excel Hacks
Introduction
Microsoft Excel is widely used for data collection and reporting purpose in almost all the industry - so much that it has become the de-facto tool in the IT industry. Managers love it, developers cherish it and the organization produces hordes of excel spread-sheets one after another. In this plethora of workbooks, one can only feel lost in the myriad formulae and cryptic calculations that make excel the most formidable yet useful tool. This article aims to explain some useful tricks to simplify the daily tasks!
Useful Formulae
1. VLOOKUP
You can use the VLOOKUP function to search the first column of a range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells, and then return a value from any cell on the same row of the range.
If used correctly, it can replicate database like searches using primary key lookup.
* VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
o lookup_value Required. The value to search in the first column of the table or range.
o table_array Required. The range of cells that contains the data.
o col_index_num Required. The column number in the table_array argument from which the matching value must be returned.
o range_lookup Optional. A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.
o If the range_lookup argument is FALSE, VLOOKUP will find only an exact match
2. COUNTIF
* COUNTIF(range, criteria)
o The COUNTIF function syntax has the following arguments:
o range Required. One or more cells to count, including numbers or names, arrays, or references that contain numbers. Blank and text values are ignored.
o criteria Required. A number, expression, cell reference, or text string that defines which cells will be counted. For example, criteria can be expressed as 30, ">30", B4, "oranges", or "30".
3. SUM
* SUM(number1,[number2],...])
o The SUM function adds all the numbers that you specify as arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.). Each argument can be a range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.), a cell reference (cell reference: The set of coordinates that a cell occupies on a worksheet.
o For example, SUM(A1:A5) adds all the numbers that are contained in cells A1 through A5. For another example, SUM(A1, A3, A5) adds the numbers that are contained in cells A1, A3, and A5.
4. IF
IF function can be used for comparing a logical test and returning a value based on the true or false output of this test.
* IF(logical_test, [value_if_true], [value_if_false])
The IF function returns one value if a condition you specify evaluates to TRUE, and another value if that condition evaluates to FALSE. For example, the formula =IF(B1>0,"Over 0","0 or less") returns "Over 0" if B1 is greater than 0, and "0 or less" if B1 is less than or equal to 0.
5.NOW
Avery useful function, NOW gives the current date and time.
This simple nifty feature can be used for ny real time calculations
o Syntax: Now()
Conclusion
Excel is full of useful formulae that can simplify things. The knowledge of these can certainly add to the arsenal of tools for any developer or a manager. Happy Excel!!