Excel VLOOKUP: Turn Excel into a Database

One of Excel's most powerful tools is the VLOOKUP. It provides Excel with what databases can do by nature: looking up a value.

VLOOKUP - Purpose and Goal

With a VLOOKUP, you load a value into a cell that depends on another cell and table. Example: In one table, you save all departments with the department key (ID) - in the Personnel table, you now only save the department key of a person - but the name of the department should be displayed next to it. Without VLOOKUP, you would have to copy values in bulk. If a department is renamed, you would spend a lot of time adjusting the department name for every employee. With VLOOKUP, you instead have the data in only one place - this is also called the Single Point of Truth.

And here is how it works

First of all, you need 2 tables in Excel. Whether these are located on different sheets or not doesn't matter. In our example, we have the people (Klaus, Sabine, Holger, Maik, and Sven) in the left half, and the 3 departments to which the employees are assigned in the right half. Only the department ID is now stored for each person: 1, 2, or 3. The names of the departments are located centrally on the right half. We are now telling the VLOOKUP function to look up the department number (blue) in the red area! The 3 parameters of VLOOKUP in detail once more:
  1. Lookup value - this is where the ID you want to look up goes
  2. Range - this is where the dependent table goes. Do not forget to fix the row numbers with a "$", otherwise copying the formula will not work!
  3. Index column - the first column of the Range is always treated as the ID. If Index column = 2, the column to the right of the ID is used for display.

Outlook

If you are already using VLOOKUP extensively, it is a sign that Excel may no longer be sufficient for your tasks and a more sophisticated solution, such as a database, is required. Databases can handle links naturally and, depending on the provider, offer many other functions up to complete business management software (ERP). We would be happy to advise you on your further journey towards digitalization.
Categorias