VLOOKUP Not returning proper values

KevinZ

New Member
Joined
Apr 14, 2019
Messages
33
I currently have a spreadsheet that aggregates values from other spreadsheets using VLOOKUPS. On this aggregated spreadsheet, I have numerous columns that I want to add a custom value to in a separate column. The values returned from the underlying spreadsheets are #N/A, 1, 2, 3, T1, T2, T3, etc. These can be up to approx. 1000 or T1000. I am using a VLOOKUP to create a custom value #N/A = 0, 1 to 10 = 1, T1 to T10 = 1, 11 to 20 = 2, T11 to T20 =2, etc. I have created a separate spreadsheet with the values I have assigned. Note, Each call will only have 1 value.

I am getting a Value not Available error on the cells.
For example, I have a value of 8 in a target cell.
The formula evaluation appears to be correct: VLOOKUP("8",'Ranking 1'!A:B,2,False)
In the Ranking 1 spreadsheet, I am assigning a value of 5. The VLOOKUP is displaying the error and a #N/A in the field.
 
That worked. Thank you both so much. Looks like I need to research IFERROR to understand it better.
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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