Hi Narend,
Can you give an example of how the formula looks?
Regards,
In VLOOKUP table the first column is Lookup Column, so we actually want data from 2 column onwards. So, COLUMNS($B4:B4) give result as 1 adding 1 to it will give 2 and if copy right side we will get 3,4, and so on.
That is the reason to add 1 to it.
You can also use like this:
=VLOOKUP($B16,$B$4:$D$13,COLUMNS($B4:C4),0)
This will generate 2, 3 and so on.
EDIT: I had edited the title of the thread as this is COLUMNS function and not COLUMN function. Both are different.
Regards,
You can get by hard coding the values as 2,3,4 but when you will drag the formula you will have to edit the formula manually every time. This is avoided by this trick.
Regards,