VLookup Half Works

Moorabinda

New Member
Joined
Aug 28, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi all, if there is an existing thread that solves this, please let me know and I will check it out. I haven't seen one yet...

I have a table. I am using VLOOKUP. The table is 4 rows by 6 columns. Small. VLOOKUP works well for the first 2 x rows but not the next 2 x rows. It just gives an N/A answer. I have deleted and rebuilt the formulae several times. Clearly I'm repeating what I have already done as the outcome is the same. This makes no sense to me that a simple formula would work for some but not others. And I tested the LOOKUP cell with XLOOKUP and it worked. Just not with VLOOKUP. Could Excel be unreliable in this way?!? Or have I made an error that I haven't picked up on yet? FYI I have checked the formatting and it's all set to General or Numbers.

Screenshots below show it working and not working.

Any help greatly appreciated!

1724845556235.png



1724845522784.png
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi & welcome to MrExcel.
You need to put 0 (or FALSE) as the final argument in the vlookup.
 
Upvote 1
Solution
Without the final argument it does an approximate match & for that to work, the data must be sorted A to Z
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,177
Members
452,615
Latest member
bogeys2birdies

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