Vlookup wont work !!

blossomthe2nd

Active Member
Joined
Oct 11, 2010
Messages
450
Hi guys

Hope someone can help,

I have a spreadsheet that I have imported the data infrom a PRN file. In column N I have a formula to pull out part of the data =MID(J1,18,9)

Then on another tab I have a table. What I am trying to do is a vlookup from sheet 1 to sheet 2 using the N column as reference !!

=VLOOKUP(N1,'Actual Table'!A:C,3,FALSE)

I have also tried

=VLOOKUP(MID(J1,18,9),'Actual Table'!A:C,3,FALSE)

I keep getting N/A#s but I know that results should be different. I have tried to format all the cells as Text , but to no avail

Can anyone advise ?

Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
MID returns a TEXT string.
And I'm guessing the data in Column A on the other sheet is Numeric.

Try changing
=MID(J1,18,9)
to
=MID(J1,18,9)+0


Hope that helps.
 
Upvote 0
MID returns a TEXT string.
And I'm guessing the data in Column A on the other sheet is Numeric.

Try changing
=MID(J1,18,9)
to
=MID(J1,18,9)+0

Haha so simple

Thanks Jonmo1 -- Works perfect

No worries Jason we're up and running again

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

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