Strange Vlookup Behavior

bencar

Banned user
Joined
Jun 8, 2016
Messages
149
Hi guys,

This vlookup problem has me scratching my head. For the following table I use the vlookup formula below to lookup up book title, author and price in different cells at the same time. It includes a COLUMNS function to paste it across cells to return book title, author and price. Whats so strange about it is, I can enter COLUMNS($Z:Z) instead of COLUMNS($A:A) and I still get the right answers. Why does it do this if column Z isn't in the lookup table but works as good as column A which is?

=VLOOKUP($B13,$A$2:$E$11,COLUMNS($A:A)+1,0)


ABCDE
1NumberBook TitleAuthorPriceType
21A Game of ThronesGeorge R.R.$19.77hardcover
32Go to SleepAdam Mansbach$8.22paperback
43A Dance with DragonsGeorge R.R.$18.81paperback
54The Hunger GamesSuzanne Collins$4.94paperback
65The Original ArgumentGlenn Beck$7.99hardcover
76Heaven is for RealTodd Burpo$9.34paperback
87UnbrokenLaura Hillenbrand$13.99hardcover
98Smokin' SeventeenJanet Evanovich$15.21paperback
109In the Garden of BeastsErik Larson$13.78paperback
1110Catching FireSuzanne Collins$8.97hardcover

<tbody>
</tbody>
Sheet4
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I can enter COLUMNS($Z:Z) instead of COLUMNS($A:A) and I still get the right answers. Why does it do this ..
=VLOOKUP($B13,$A$2:$E$11,COLUMNS($A:A)+1,0)
Because COLUMNS($A:A) returns 1 and COLUMNS($Z:Z) also returns 1
If you drag it across one column..
COLUMNS($A:B) returns 2 and COLUMNS($Z:AA) returns 2
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top