vlookup failing

merlin777

Well-known Member
Joined
Aug 29, 2009
Messages
1,397
Office Version
  1. 2007
I have a table on one sheet which looks up values in a table on another sheet based on a string in column A (e.g. 'xps.l') and populates other columns in that row.

Until today it was working fine but I added another row to the first sheet with a new string and now it's returning #/NA for the lookup values for another one of the strings. The new one is fine.

The little ! offers up the error is 'A value is not available to the formula or function'.

My lookup table is sorted alphabetically, although my lookup function is '=VLOOKUP(A56,returneddata,4,FALSE)' so I'm not sure that's necessary.

Interestingly, the lookup string which has failed isn't the new one, its the one (xps.l) which is last in the lookup table.

I've checked spelling and punctuation etc and they are the same. The lookup table is only about 45 rows.

I'm mystified. Any ideas?

I should add that in spite of the error explanation, all the columns in the lookup table have data in them.
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
you genius... thanks!

I thought I was so clever using named ranges, but when the cell ranges aren't there in front of you it's easy to forget them...
 
Upvote 0

Forum statistics

Threads
1,203,378
Messages
6,055,092
Members
444,761
Latest member
lneuberger

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