help with vlookup

rcirone

Active Member
Joined
Mar 12, 2009
Messages
483
Office Version
  1. 365
Platform
  1. Windows
I am using 3 formula pulling from the same cell (A2) which that is a formula in the cell. the vlookup and the index will not see the number in cell A2 that I get from a formula (right(A2search("",A2,10)). if I type the number in it will work. can you help me.

=VLOOKUP(A2,Sheet5!A1:Z180,9,FALSE)
=INDEX(Sheet5!$I$2:$I$185,MATCH(Sheet2!A2,Sheet5!$P$2:$P$185,))
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
maybe...

=VLOOKUP(A2+0,Sheet5!A1:Z180,9,FALSE)
=INDEX(Sheet5!$I$2:$I$185,MATCH(Sheet2!A2+0,Sheet5!$P$2:$P$185,))
 
Upvote 0
the top one work on 90% of them the other one it gives me #N/A
 
Upvote 0
Augmenting the suggestion, we would get:

=IFERROR(VLOOKUP(A2+0,Sheet5!A1:Z180,9,FALSE),IFERROR(VLOOKUP(A2&"",Sheet5!A1:Z180,9,FALSE),"not found")
 
Upvote 0
Hi,

That's because your formula to extract the Number returns Text, change That formula to:

=right(A2,search("",A2,10))+0

Then your VLOOKUP or INDEX/MATCH should work fine.
 
Upvote 0

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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