List of Top 10 Advanced Excel Formulas & Functions
#1 – VLOOKUP Formula in Excel
This advanced Excel function is one of the most used formulae in Excel. It is mainly due to the simplicity of this formula and its application in looking up a certain value from other tables, which has one standard variable across these tables. For example, suppose you have two tables detailing a company’s employee salary and name, with “Employee ID” being a primary column. You want to get the salary from Table B in Table A.
You can use VLOOKUPUse VLOOKUPThe VLOOKUP excel function searches for a particular value and returns a corresponding match based on a unique identifier. A unique identifier is uniquely associated with all the records of the database. For instance, employee ID, student roll number, customer contact number, seller email address, etc., are unique identifiers. read more as below.
It will result in the table below when we apply this advanced Excel formula in other cells of the “Employee Salary” column.
Drag the formula to the rest of the cells.
There are three major delimitations of VLOOKUP:
- You cannot have a primary column on the right of the column for which you want to populate the value from another table. The “Employee Salary” column cannot be before the “Employee ID.”In the duplicated values in the primary column in Table B, the first value will get populated in the cell.If you insert a new column in the database (e.g., insert a new column before “Employee Salary” in Table B), the output of the formula could be different based on the position that you have mentioned in the formula (in the above case, the result would be blank).
#2 – INDEX Formula in Excel
This advanced Excel formula is used to get the value of a cell in a given table by specifying the number of rows, columns, or both. E.g., to get an employee’s name at the 5th observation. Below is the data.
We can use the advanced Excel formula below:
We can use the same INDEX formula in getting values along the row. So, for example, when using both row and column numbers, the syntax would look like this:
The above formula would return as “Rajesh Ved.”
Note: If you insert another row into the 5th row, the formula will return as “Chandan Kale.” Hence, the output would depend on any changes in the data table over time.
#3 – MATCH Formula in Excel
This Excel advanced formula returns the row or column number when a specific string or number is in the given range. In the below example, we are trying to find “Rajesh Ved” in the “Employee Name” column.
The formula would be as given below:
The MATCH functionMATCH FunctionThe MATCH function looks for a specific value and returns its relative position in a given range of cells. The output is the first position found for the given value. Being a lookup and reference function, it works for both an exact and approximate match. For example, if the range A11:A15 consists of the numbers 2, 9, 8, 14, 32, the formula “MATCH(8,A11:A15,0)” returns 3. This is because the number 8 is at the third position. read more would return 5 as the value.
The 3rd argument is used for the exact match. You can also use +1 and -1 based on your requirements.
Note: One can combine INDEX and MATCH to overcome the limitation of VLOOKUP.
#4 – IF AND Formula in Excel
There are many instances when one needs to create flags based on some constraints. We all are familiar with the basic syntax of IF. We use this advanced excel IF functionExcel IF FunctionIF function in Excel evaluates whether a given condition is met and returns a value depending on whether the result is “true” or “false”. It is a conditional function of Excel, which returns the result based on the fulfillment or non-fulfillment of the given criteria. read more to create a new field based on some existing field constraints. But what if we need to consider multiple columns while creating a flag? E.g., in the below case, we want to flag all the employees whose salary is greater than 50,000. But “Employee ID” is greater than 3.
We would use the IF AND formula in such cases. Please find below the screenshot for the same.
It would return the result as 0.
We can have many conditions or constraints to create a flag based on multiple columns using AND.
#5 – IF OR Formula in Excel
Similarly, we can use the OR function in ExcelUse The OR Function In ExcelThe OR function in Excel is used to test various conditions, allowing you to compare two values or statements in Excel. If at least one of the arguments or conditions evaluates to TRUE, it will return TRUE. Similarly, if all of the arguments or conditions are FALSE, it will return FASLE.read more instead of AND if we need to satisfy one of the many conditions.
If any condition is satisfied in the above cases, we will have the cell populated as 1, else 0. We can substitute 1 or 0 with some substrings with double quotes (“”).
#6 – SUMIF Formula in Excel
In some analyses, you might need to filter observations when applying the sum or count function. In such cases, this advanced Excel SUMIF function in excelSUMIF Function In ExcelThe SUMIF Excel function calculates the sum of a range of cells based on given criteria. The criteria can include dates, numbers, and text. For example, the formula “=SUMIF(B1:B5, “<=12”)” adds the values in the cell range B1:B5, which are less than or equal to 12. read more is at our rescue. It filters all the observations based on certain conditions in this advanced excel formula and sums up them. E.g., What if we want to know the sum of salaries of only those employees with employee IDs greater than 3?
The formula returns the results as 322000.
We can also count the number of employees in the organization having an employee ID greater than 3 using COUNTIF instead of SUMIF.
#7 – CONCATENATE Formula in Excel
This Excel advanced function is one of the formulas used with multiple variants. This advanced Excel formula helps us join several text strings into one text string. For example, if we want to show “Employee ID” and “Employee Name” in a single column.
We can use this CONCATENATE formula here.
The above formula will result in “1Aman Gupta”.
We can have one more variant by putting a single hyphen between ID and NAME. E.g., CONCATENATE(B3,”-“,C3) will result in “1-Aman Gupta”. We can also use this in VLOOKUP when LOOKUP in ExcelLOOKUP In ExcelThe LOOKUP excel function searches a value in a range (single row or single column) and returns a corresponding match from the same position of another range (single row or single column). The corresponding match is a piece of information associated with the value being searched. read more value is a mixture of more than one variable.
#8 – LEFT, MID, and RIGHT Formula in Excel
We can use this advanced Excel formula to extract a specific substring from a given string. One could use it based on our requirements. E.g., If we want to remove the first 5 characters from “Employee Name,” we can use the LEFT formula in ExcelLEFT Formula In ExcelThe left function returns the number of characters from the start of the string. For example, if we use this function as =LEFT ( “ANAND”,2), the result will be AN.read more with the column name and second parameter as 5.
The output is given below:
The application of the RIGHT formula in ExcelRIGHT Formula In ExcelRight function is a text function which gives the number of characters from the end from the string which is from right to left. For example, if we use this function as =RIGHT ( “ANAND”,2) this will give us ND as the result.read more is also the same. It is just that we would be looking at the character from the right of the string. However, in the case of a MID function in excelMID Function In ExcelThe mid function in Excel is a text function that finds strings and returns them from any mid-part of the spreadsheet. read more, we must give the required text string’s starting position and the string’s length.
#9 – OFFSET Formula in Excel
This advanced Excel function, combined with SUM or AVERAGE, could give a dynamic touch to the calculations. It is best used when we insert continuous rows into an existing database. OFFSET ExcelOFFSET ExcelThe OFFSET function in excel returns the value of a cell or a range (of adjacent cells) which is a particular number of rows and columns from the reference point. read more provides a range where we need to mention reference cells, number of rows, and columns. E.g., If we want to calculate the average of the first 5 employees in the company where we have the salary of employees sorted by employee ID, we can do the following. The calculation below will always give us a salary.
- It will give us the sum of salaries of the first 5 employees.
#10 – TRIM Formula in Excel
This advanced Excel formula is used to clean up the unimportant spaces in the text. E.g., if we want to remove spaces at the beginning of some name, we can use it by using the TRIM function in Excel TRIM Function In ExcelThe Trim function in Excel does exactly what its name implies: it trims some part of any string. The function of this formula is to remove any space in a given string. It does not remove a single space between two words, but it does remove any other unwanted spaces.read more as below:
The resultant output would be “Chandan Kale” without space before Chandan.
Recommended Articles
This article is a guide to Advanced Formulas in Excel. We discuss the top 10 Advanced Excel formulas and Advanced Excel functions with a downloadable template. You may learn more about Excel from the following articles: –
- Basic Excel FormulasVBA MID FunctionMatch in ExcelVLookup with IF