Alter Vlookup formula so it looks up from the bottom.

danbates

Active Member
Joined
Oct 8, 2017
Messages
377
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Please can someone help me?

I have a Vlookup formula and I would like it altered so it looks up from the bottom to the top instead of the other way.

The list gets added to every day. At the moment this is the range of the list A4:D730

Here is my formula:

=IFERROR(VLOOKUP(B:B,Data!A:D,2,),"")

Any help would be appreciated.

Thanks

Dan
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try:

=IFERROR(LOOKUP(2,1/(Data!$A$4:$A$1000=B2),Data!$B$4:$B$1000),"")

Note that I used 1000 as the last row to search, something beyond your 730 range.
 
Upvote 0
Hi Eric,

It works thank you but the only thing is, when the B2 cell is blank it leaves a 0 instead of being blank where the formula is.

Can anything be done to alter it so it's blank?

Thanks again

Dan
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,852
Members
449,096
Latest member
Erald

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