You are reading the article **How To Write, Build, And Use Vlookup Function In Excel** updated in December 2023 on the website Katfastfood.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. *Suggested January 2024 How To Write, Build, And Use Vlookup Function In Excel*

The VLOOKUP function in Microsoft Excel literally means vertical lookup. It’s a search function for querying values in the cell of a column. This function searches for the data relative to the entries in the first column from the left.

A vertical data search is most vital when dealing with tables with numerous columns and rows. Instead of scrolling through and analyzing hundreds of cells, Excel’s VLOOKUP function helps you find the data you’re looking for by looking up the values from top to bottom.

Create, build & use Excel’s VLOOKUP functionIn our example, we’ll work with a VLOOKUP function that searches for information about seven employees’ salaries. This section shows you how to use the VLOOKUP function in the following ways:

Write the Excel VLOOKUP function.

Build a VLOOKUP function in Excel.

Without further ado, let’s get to it. In the first method, we’ll create the function manually. Next, we’ll use it from Excel’s inbuilt Functions Arguments wizard.

1] Write the Excel VLOOKUP functionLaunch Microsoft Excel and make a column for the values that act as unique identifiers. We’ll call this the reference column.

Add some more columns to the right-hand side of the first one you created in the first step and insert values for the cells in these columns.

=VLOOKUP()On entering the above formula, Excel suggests the VLOOKUP syntax:

=VLOOKUP(vlookup_value,table_array,col_index_num,range_lookup) Arguments or parametersHere are what the above arguments define in the syntax:

lookup_value: the cell with the product identifier from the reference column.

table_array: the data range from with to search. It must contain the reference column and the column containing the value you’re looking up. In most cases, you can use the entire worksheet. You can drag your mouse over the values of the table to select a data range.

col_index_num: the number of the column from which to look up a value. You put this in from left to right.

range_lookup: TRUE for an approximate match, FALSE for an exact match. The value is TRUE by default, but you generally use FALSE.

With this information, we’ll now replace the parameters in the parenthesis with the information we wish to look up. For example, to return Wayne Creed‘s salary, enter the following formula:

=VLOOKUP(C14,B5:E11,6,FALSE)On navigating away from the cell with the VLOOKUP formula, it returns the value for which you queried. If you get a #N/A error, read this Microsoft guide to learn how to correct it.

2] Build a VLOOKUP function in ExcelThe first part showed you how to create a VLOOKUP function manually. If you thought the above method was easy, wait till you read this. Here, you’ll learn how to build a VLOOKUP function quickly using the user-friendly Functions Arguments wizard.

Open Microsoft Excel first, and create a reference column that will contain unique identifiers.

Next, create some more columns on the right-hand side of the reference column. Here, we’ll insert the relevant values for the items on the reference column.

Select an empty cell and type in a value from the reference cell. This is the value whose properties we’ll lookup.

Select the Lookup & Reference tool from the Functions Library and choose VLOOKUP from the dropdown menu. This opens the Functions Arguments wizard.

Fill in the Lookup_value, Table_array, Col_index_num, and Range_lookup fields in the Functions Arguments wizard specified in the first method.

Hit the OK button when you’re done, and the VLOOKUP function will return the results from the arguments you entered.

This guide will help you if the Excel formula fails to update automatically.

Both methods will successfully query the data you need in reference to the first column. The Formulas Argument wizard makes it easy to input the variables to make the VLOOKUP function work.

However, the VLOOKUP function also works on the web version of Excel. You also get to use the Functions Argument wizard or create the VLOOKUP function manually on the web version.

Let us take a look at the HLOOKUP function in Excel now.

You're reading __How To Write, Build, And Use Vlookup Function In Excel__

## How To Use Offset Function In Excel Vba With Example?

Excel VBA OFFSET Function

As there are two things in this word, one is VBA and other is OFFSET. In this, I’ll be explaining how to use OFFSET function using VBA (Visual Basic for Applications).

VBA – It is a programming language for those who work in Excel and other Office programs, so one can automate tasks in Excel by writing Macros.

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

OFFSET – It is a reference function in Excel. The OFFSET function returns a reference to a range that is a specific number of rows and columns from another range or cell. It is one of the most important notions in Excel.

Let’s consider we have a dataset which consists of columns Customer Name, Product, sales, Quantity, Discount.

Suppose on the chance that we need to move down from a particular cell to the particular number of rows and to choose that cell at that point of time OFFSET function is very useful. For example, from cell B1 we want to move down 5 cells and want to select 5th cell i.e. B6. Suppose, if you want to move down from B1 cell 2 rows and goes 2 columns to the right and select that cell i.e. cell D3.

To use OFFSET function in VBA, we have to use VBA RANGE object because OFFSET refers cells and from that RANGE object we can use OFFSET function. In Excel, RANGE refers to the range of cells.

Let’s take a look at how OFFSET is used with RANGE.

Range(“A1”).offset(5).select

How to Use the OFFSET Function in Excel VBA?Below are the different examples to use OFFSET Function in Excel using VBA Code.

You can download this VBA OFFSET Excel Template here – VBA OFFSET Excel Template

VBA OFFSET – Example #1Step 2: Drag the arrow at any cell to create a Command Button.

Code:

End Sub

Step 4: Inside this function, we have to write our code of OFFSET for selecting cells. As mentioned in the previously we have to use OFFSET function with RANGE in VBA.

Range(

End Sub

Step 5: In this code, we have to select the 5th cell of column Product i.e. B6. Cell1 in Range is B1 because we have to move down 5 cells from cell B1 to B6 i.e 5 cells down.

Code:

Range(“B1”).Offset(

End Sub

OFFSET function has two arguments:

RowOffset: How many rows we want to move from the selected row. We have to pass the number as an argument.

ColumnOffset: How many columns we want to move from the selected row.

Step 6: Now I want to select cell B6 i.e I have to move down 5 cells. So, we have to enter 5 as the parameter for Row Offset.

Code:

Range(“B1”).Offset(5)

End Sub

Step 7: After closing the bracket we have to put a (.) dot and write the Select method.

Code:

Range(“B1”).Offset(5).Select

End Sub

VBA OFFSET – Example #2In this example, we will see how to use Column OFFSET argument. We will be working on the same data. All the above steps will be the same but we need to make a change in code.

Since I want to move down 5 cells and take the right 3 columns to reach the cell E6.

Code:

Range(“B1”).Offset(5, 3).Select

End Sub

Things to Remember

It is a reference function in Excel. The OFFSET function returns a reference to a range that is a specific number of rows and columns from another range or cell.

VBA OFFSET is used with RANGE object in VBA.

Recommended ArticlesThis is a guide to VBA OFFSET. Here we discuss how to use OFFSET function in Excel using VBA code along with practical examples and downloadable excel template. You may also look at the following articles to learn more –

## Vlookup In Excel (Formula, Examples)

VLOOKUP in Excel (Table of contents)

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Introduction to VLOOKUP Function in ExcelVLOOKUP in Excel is used to lookup the value with a reference cell and fetch the value from the selected lookup table array and is quite useful and one of the most widely used excel functions We can use a table or single column to lookup the value. And all the lookup can be done in a vertical zone or with columns only.

The vlookup function uses of the arguments:-

There are four arguments in vlookup function which is below mention:

Lookup value (required argument) – it is the value that we want to look up for in the column of a table. Where you want or get the value from another table.

Table array (required argument) – it is the data array that is to be searched. The vlookup function searches in the left-most column of this array. We can say that this is a matching table.

Column index number (required argument) – an integer, specifying the column number of the supplied table array, that you want to return a value from. If you only using it for data matching then you can put 1 but if you want to get a value from another column behave on matching the lookup value then you need to put the column no from matching column no.

Range lookup (optional argument) – it defines what this function should return in the event that it does not find an exact match to the lookup value. The argument can be set to true or false, which means:

True – approximate match, that is, if an exact match is not found, use the closest match below the lookup value.

False – exact match, that is, if an exact match not found then it will return an error.

We can also use 0 for false and 1 for true matching.

Steps for Using VLOOKUP Function

We get a new function window showing in the below mention pictures.

Then we have to enter the details as shown in the picture.

Put the lookup value where you want to match from one table to another table value.

You need to put the table array which is another table value.

Put the col index number for another table vertical value which is a need.

Rage lookup false for exact match and true for an approximate match.

You can also use 0 for an exact match and 1 for an approximate match.

Shortcut for using the Formula

Explanation for VLOOKUP Function:

We can also use one sheet to another sheet and one workbook to another workbook also

How to Use VLOOKUP in Excel?Vlookup function is very simple and easy to use. Let us understand the working of vlookup. Below mention are the details using the formulas.

You can download this VLOOKUP Function Template here – VLOOKUP Function Template

Example #1 – Exact MatchTo search for an exact match, you put false in the last argument.

As above mention in table b there is all information of the employee like department, employee id, address mobile no, etc. You can suppose as array table or master table data. And you have another table where required only contact no of the employee. So as the employee name is a unique column then the employee name a lookup value in a table where you want to get a result.

Master data table b as above showing is a table array, and in master data, you can see that mobile no column is on the 5 number column index. Then we need to put the 0 for exact matching or 1 for false matching.

You can see the result here:

Formula: – “=vlookup(a21,a1:e12,5,0)”

We can see that in a table all values are matching the exact value.

Example #2 – Approximate MatchAs above showing in the picture in the H column, there is employee age mention and column I employee name. You can take this as an array or master table. Now I want to put the age value in k2 then we get the employee name which is approximate age as given in k2 age value as showing below mention pictures.

So lets we check the formula now.

“=vlookup(k2,h2:i12,2,true)”

Then we can get the approximate matching value.

As you see, the formula returns Mr. Puneet Sharma whose age is 43, while we also have Mr. Manish patial that age 48 but 43 is much closer to 44 than 48. So, why does it return Mr. Puneet? Because vlookup with approximate match retrieves the closest value that is less than the lookup value.

Things to Remember

The vlookup function returns result in any data type such as a string, numeric, date, etc.

If you specify false for the approximate match parameter and no exact match is found, then the vlookup function will return #n/a.

If you specify true for the approximate match parameter and no exact match is found, then the next smaller value is returned.

If the index number is greater than the number of columns in the table, the vlookup function will return #ref!

Recommended ArticlesThis has been a guide to VLOOKUP Function. Here we discuss the VLOOKUP Formula and how to use the VLOOKUP function along with an excel example and downloadable excel templates. You may also look at these useful functions in excel-

## How To Use Excel Vba Sleep Function With Examples?

VBA Sleep Function

The sleep function in VBA is a Windows function. It is similar to the wait function in VBA. It is used to slow down or pause or we can say halt the running of a specific code by some specified time. Sleep function needs to be called in VBA while declaring it in the code. How we do that is what we will learn in today’s topic.

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

As explained above, VBA Sleep is a Windows function and is present in the kernel database of Windows. The method of declaring and calling sleep functions in VBA differs for both 32-bit and 64-bit operating systems. It is a Windows API function.

The syntax to use the VBA Sleep function is as follows:

Sleep (Time in Mili Seconds)

So if we need to slow down or halt the code for 1 sec, we need to write the code as:

Sleep 10001000 is the mili seconds equal to 1 second and will slow down the code for 1 sec. If we want to slow down the code for 5 seconds, the code will be:

Sleep 5000The declaration for sleep function is as follows:

#If VBA7 Then ' Excel 2010 or later Public Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal Milliseconds As LongPtr) #Else ' Excel 2007 or earlier Public Declare Sub Sleep Lib "kernel32" (ByVal Milliseconds As Long) #End IfNote: Before using the sleep function, there is one thing we need to keep in mind. We need to use this function in modules, not in the objects of Excel. To use VBA to ensure that the developer’s tab is turned on from the files tab in the options section.

How to Use Excel VBA Sleep Function?We will learn how to use a VBA Sleep function with a few examples in Excel.

You can download this VBA Sleep Excel Template here – VBA Sleep Excel Template

VBA Sleep Function – Example #1What we are going to do in this example is we will pop up a message to the user that the macro will stop for five seconds. And exactly after five seconds, we want a second message to pop up which says macro resumed.

Follow the below steps to use Sleep Function in Excel VBA:

Step 3: Use the declaration statement to use the sleep function. As I am using Windows 64-bit operating system, I will use the declaration statement for the same.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Step 4: Now declare the sub-function to start writing the code.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample()End Sub

Step 5: Use the Mgsbox function to display the message that the macro will be paused for five seconds.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample() MsgBox "MAcro going to be paused for five seconds"End Sub

Step 6: Use the Sleep function to pause the macro for five seconds.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample() MsgBox "MAcro going to be paused for five seconds" Sleep 5000End Sub

Step 7: Now, use the msgbox function to display the message that the macro has been resumed.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample() MsgBox "MAcro going to be paused for five seconds" Sleep 5000 MsgBox "Macro has been resumed"End Sub

Step 8: Run the code from the run button provided or press F5 to see the result. We see the first message is displayed.

There was a pause for five seconds between both messages.

VBA Sleep Function – Example #2Now what we are going to do in another example is that I have four variables A, B, C, and D. First, I want to add the value of A and B and display it, and after 5 seconds, I want to display the value of the addition of A, B, C, and D.

Follow the below steps to use Sleep Function in Excel VBA:

Step 3: Now, use the declaration statement to use the sleep function. As I am using Windows 64-bit operating system, I will use the declaration statement for the same.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Step 4: Now declare the sub-function to start writing the code.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()End Sub

Step 5: Declare six variables A, B, C, D, X, and Y to store values.

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()Dim

A, B, C, D, X, YAs Integer

End Sub

Step 6: Give Random Values to A, B, C, and D.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()Dim

A, B, C, D, X, YAs Integer

A = 10 B = 15 C = 20 D = 25End Sub

Step 7: Store the value of A + B in X.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()Dim

A, B, C, D, X, YAs Integer

A = 10 B = 15 C = 20 D = 25 X = A + BEnd Sub

Step 8: Display the value of X.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()Dim

A, B, C, D, X, YAs Integer

A = 10 B = 15 C = 20 D = 25 X = A + B MsgBox XEnd Sub

Step 9: Now, use the sleep function to pause for five seconds.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()Dim

A, B, C, D, X, YAs Integer

A = 10 B = 15 C = 20 D = 25 X = A + B MsgBox X Sleep 5000End Sub

Step 10: Now, in variable Y, store the value of X +C + D and display it.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample1()Dim

A, B, C, D, X, YAs Integer

A = 10 B = 15 C = 20 D = 25 X = A + B MsgBox X Sleep 5000 Y = X + C + D MsgBox YEnd Sub

Step 11: Run the above code from the provided run button or by pressing the F5 key to see the result. We see the first message is displayed as.

Step 12: Press OK and the macro waits for five seconds and displays the next result.

VBA Sleep Function – Example #3In this example, we want to rename two worksheets, sheet 1 and sheet 2, as Anand and Aran, respectively. But the time duration between both should be five seconds. We want the macro to pause after renaming sheet 1 and then rename sheet 2. Currently, both sheets are named as follows:

Follow the below steps to use Sleep Function in Excel VBA:

Step 3: Now, use the declaration statement to use the sleep function. As I am using the Windows 64-bit operating system, I will use the declaration statement for the same.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Step 4: Now declare the sub-function to start writing the code.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample2()End Sub

Step 5: Activate worksheet 1 and rename it by the following code:

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample2() Worksheets("Sheet1").Activate Worksheets("Sheet1").Name = "Anand" MsgBox "Sheet 1 renamed"End Sub

Step 6: Use the sleep function to use delay for five seconds.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample2() Worksheets("Sheet1").Activate Worksheets("Sheet1").Name = "Anand" MsgBox "Sheet 1 renamed" Sleep 5000End Sub

Step 7: Now rename sheet 2 with the following code.

Code:

Public Declare PtrSafe Sub

SleepLib

"kernel32" (ByVal

dwMillisecondsAs LongPtr

)Sub

Sample2() Worksheets("Sheet1").Activate Worksheets("Sheet1").Name = "Anand" MsgBox "Sheet 1 renamed" Sleep 5000 Worksheets("Sheet2").Activate Worksheets("Sheet2").Name = "Aran" MsgBox "Sheet 2 renamed"End Sub

Step 8: Now run the code and see the first message displayed.

Also, we can check that sheet 1 is renamed.

Step 9: Press ok and wait five seconds for the next message and second sheet to be renamed.

The second sheet is also renamed.

Things to Remember

VBA Sleep is a window function, so to use it, we need to use declaration statements.

There are different declaration statements for different types of operating systems.

Simply using VBA Sleep freezes the macro for the time duration provided.

The time parameter given to the VBA sleep function is in milliseconds.

Recommended ArticlesThis is a guide to VBA Sleep Function. Here we discuss using Excel VBA Sleep Function, practical examples, and a downloadable Excel template. You can also go through our other suggested articles –

## How To Use Vlookup True With Examples

VLOOKUP with True

When we apply the Vlookup function, it is obvious that we always look for the exact match. When we get the #N/A, we also assume that the value we are looking for is unavailable in the lookup table. But we have yet to try using Vlookup with a TRUE value match. We can use two criteria in Vlookup functions, which are TRUE and FALSE. FALSE gives us the exact match, whereas TRUE gives us the approximate match for the value if not in the lookup range. Vlookup True is used when we don’t get an exact match, but with the help of TRUE, we can get an approximate match or near value to the value which we are looking for.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

How to Use Vlookup True?To understand the use of Vlookup True, first, we need to understand the syntax of Vlookup. Below we have the syntax of Vlookup;

Lookup_Value = Cell value whose value we need to find.

Table_Array = Range or table from where we need to find the value of lookup_value.

Col_Index_Num = sequence number of the column from which we want to get the value.

Range_Lookup = 0 (or FALSE) for the exact match and 1 (or TRUE) for the approximate match.

We will be seeing the use of TRUE and FALSE range_lookup value and will see how Vlookup True works in the below examples.

Examples of VLOOKUP TrueLets us discuss the examples of VLOOKUP names.

You can download this VLOOKUP True Excel Template here – VLOOKUP True Excel Template

Example #1In this example, we will see the simple way to apply Vlookup True. For this, we have a list of alphabets, as shown below. As we can see, the alphabets are in proper sequence. And in separate cells, we will be looking up the values from the list and see the output.

In cell C2, we will put any of the alphabets we want to look up from Column A. Let’s consider it D.

In cell D2, insert the vlookup function and select the lookup value and range as needed.

To get the exact match, we can select FALSE range lookup or 0 for the exact match as shown below.

Once we enter, we can see that cell D2 will have the exact match value from the selected range.

Now, if we delete the Lookup Cell value D from the list available in column A, then Vlookup will not be able to look up anything and will return #N/A.

Once we exit the syntax, we will get the value nearer to the lookup cell value D in cell D2.

As we can see, the obtained value at cell D2 is C. This is because Vlookup TRUE gives the near about value if the exact match is unavailable. Here for the D, it returned the approximate match as C because C is the only near value before D.

Example #2In this example, we will see how Vlookup True works with a larger data set. Below is a table where the names of the different persons, ages, and physique types are mentioned from Columns A to C. And there is another small table in column E: F where we will map the value from table 1.

As we can see, we have age and physique types for each person. Now, let’s find out the physique type of any age, say 26. Insert the vlookup at cell F2 as shown below.

Select the lookup cell E2 and the Lookup range from B2 to C8, as shown below.

Now, if we randomly change the age from 26 to 53 in cell E2 and again apply the lookup using TRUE range lookup criteria and see what we will get? As of now, when we change the cell E2 value from 26 to 53, we got #N/A, as there is no value in column C available for age 53.

Now we will apply the Vlookup function using TRUE.

Once we press enter or get exited from the Vlookup syntax, our physique type in cell F2 is GENERAL, as shown below.

The reason for getting General in cell F2 is the TRUE range lookup in vlookup syntax. As we did not have the age as 53, so Vlookup True returned us the value as General because, before 53, we got general physique in cell B4.

If we again change the value, let’s say 31. Then we will get a value closer to 31 per the table. Here we have 30 in cell B2.

Pros of VLOOKUP True

It helps us get the approximate match if we do not have the exact value for the lookup cell.

It is as simple as Vlookup False.

Using this function is far better than using different IF condition functions.

Things to Remember

It gives an approximate match.

We can also use 1 in place of TRUE in the VLOOKUP syntax.

For the numerical value, It looks up the value less than the value available in the lookup cell.

Vlookup False gives the exact match, and if the match value is not available, then we will be getting #N/A

#N/A means the lookup cell’s value is not found in the entire lookup range.

The lookup range could be a table or column, but the value we will get from the column only.

Recommended ArticlesThis has been a guide to VLOOKUP True. Here we discuss How to Use VLOOKUP True, practical examples, and a downloadable Excel template. You can also go through our other suggested articles –

## Large Function In Excel (Formula, Examples)

LARGE Function in Excel

A large function in excel is an inbuilt statistical function that returns the nth position or Kth position from the selected numerical array. If the Kth position is greater or larger than the values, there is an array, or if we keep the Kth position blank, it will return #Num! As error. This means while putting the Kth value in the syntax, we need to put the value which is the lowest number from the selected array or any lowest number, but it should not be in an array.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

This function can sort the information provided and find the maximum value.

LARGE Formula in ExcelBelow is the LARGE Formula:

Array–the array or range of data from which we want to select the largest value.

K – An integer value specifies the position from the largest value.

As the LARGE function falls under the Statistical function category, and it is a built-in function in Excel, i.e. this function can be found under the FORMULAS tab in Excel. The steps are as follows:

Select the Statistical functions category. It will open the drop-down list of functions.

After selecting the LARGE function, a Function arguments box will pop up.

Enter the Array field with an array or range of data you want to find the nth largest value.

Enter the K field; it is the position from the largest value in the array of the value to return.

How to use the LARGE Function in Excel?LARGE Function is very simple to use. Let us now see how to use a LARGE function with the help of some examples.

You can download this LARGE Function Excel Template here – LARGE Function Excel Template

Example #1Suppose we have company employee data, and the company distributes incentives to their employees based on their performance. We need to find out the name of the employees who are in the top 3 on the list and received the highest incentives.

To find the employee name who has achieved the largest incentive, will use the below formula:

=LARGE(C4: C13,1)

The Result is:

To find the employee name who has achieved the second-largest incentive, will use the below formula:

=LARGE(C4: C13,2)

To find out the employee name who has achieved the 3rd largest incentive, will use the below formula:

=LARGE(C4: C13,3)

The Result is:

The final results are:

Example #2Let’s consider the below example with some values.

We need to arrange the above data in the order of Largest to smallest. With the help of the LARGE function, we can do this very easily.

=LARGE(A25:A31,1)

Similarly, we find other values

Example #3Let’s assume Sales data is given, and we want to see the total sales from the top 5 performers.

We want to see the sales done by the top 5 sales employee:

We will apply the LARGE function to select the top 5 sales performers by passing the positions from 1 to 5 as an array as a second argument (k) position and summing those values.

The formula used for solving this problem is:

=SUM (LARGE(B37:B51,{1,2,3,4,5}))

The final result is:

Things to Remember

If the LARGE function returns the error value #NUM!, it means

The second argument value (k) is less than 1 or greater than the number of values in the given array.

The given array is empty.

Suppose the function returns the error value #VALUE! – means the second argument (k) is non-numeric.

The LARGE function is used to sort the data.

This has been a guide to Excel LARGE Function. Here we discuss the LARGE Formula and how to use the LARGE function, along with practical examples and a downloadable Excel template. You can also go through our other suggested articles –

Update the detailed information about **How To Write, Build, And Use Vlookup Function In Excel** on the Katfastfood.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!