VLOOKUP using COLUMNS Function Explained

In our VLOOKUP equation above (in cell C16), our COLUMNS recipe is COLUMNS($B4:B4)+1, because,

  • The segment we need returned is the second section in our VLOOKUP table,
  • What’s more, since =COLUMNS($B4:B4) assesses to 1 we really want to add 1 to get 2 for the subsequent segment.

In the VLOOKUP function in cell D16 our COLUMNS capability is COLUMNS($B4:C4)+1 and it assesses to 2+1=3. We’ve utilized an outright cell reference on $B4:C4 (=2) so that when we replicated the VLOOKUP recipe opposite C16 to D16, the COLUMNS a piece of the equation will naturally increment by 1 (from $B4:B4 to $B4:C4) to give us the right segment number.

Excel VLOOKUP with Dynamic Column Reference

Suppose anytime you work with colossal tables of data and you want to implant a VLOOKUP function that dynamically updates to the accompanying portion as you copy it across. In that case, the VLOOKUP with the COLUMNS capacity is what you truly care about. That is; the col_index_num a piece of the VLOOKUP capacity intensely revives as you copy it across your worksheet. Before learning VLOOKUP with Dynamic Column Reference, let’s first learn what is VLOOKUP function,

Similar Reads

VLOOKUP

VLOOKUP is utilized when one necessities to track down the worth of a cell/data of that cell that is available elsewhere (can likewise be available in another sheet). The following is the capability of VLOOKUP,...

COLUMNS function

The COLUMNS capability returns the quantity of sections in a cluster. The language structure is =COLUMNS(array), where ‘cluster’ is the section range. For instance:...

VLOOKUP using COLUMNS Function Explained

In our VLOOKUP equation above (in cell C16), our COLUMNS recipe is COLUMNS($B4:B4)+1, because,...

Two-way lookup with VLOOKUP (Match)

Inside the VLOOKUP capability, the section record contention is regularly hard-coded as a static number. Be that as it may, you can likewise make a unique segment file by utilizing the MATCH capability to find the right section. This strategy permits you to make a powerful two-way query, matching on the two lines and sections. It can likewise make a VLOOKUP recipe stronger: VLOOKUP can break when sections are embedded or eliminated from a table, however an equation with VLOOKUP + MATCH can keep on working accurately even changes are made to segments....

Contact Us