Having issues with VLookup of merge and center values

anirudh2012

New Member
Joined
Nov 16, 2017
Messages
14
I am having following data where I have shop numbers and street number(merged and centered) :

[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl72, width: 192, colspan: 3"]Shop number[/TD]
[TD="class: xl65, width: 64"]Street number[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 64, align: right"]1109393[/TD]
[TD="class: xl66, width: 64"]Pending[/TD]
[TD="class: xl66, width: 64"]All[/TD]
[TD="class: xl75, width: 64, align: right"]1679252[/TD]
[/TR]
[TR]
[TD="class: xl67"] [/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl69"] [/TD]
[/TR]
[TR]
[TD="class: xl66, width: 64, align: right"]1121035[/TD]
[TD="class: xl66, width: 64"]Pending[/TD]
[TD="class: xl66, width: 64"]All[/TD]
[TD="class: xl75, width: 64, align: right"]1683992[/TD]
[/TR]
[TR]
[TD="class: xl67"] [/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl69"] [/TD]
[/TR]
[TR]
[TD="class: xl66, width: 64, align: right"]1124376[/TD]
[TD="class: xl66, width: 64"]Pending[/TD]
[TD="class: xl66, width: 64"]All[/TD]
[TD="class: xl66, width: 64, align: right"]1696966[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 64, align: right"]1124534[/TD]
[TD="class: xl66, width: 64"]Pending[/TD]
[TD="class: xl66, width: 64"]All[/TD]
[TD="class: xl75, width: 64, align: right"]1697256[/TD]
[/TR]
[TR]
[TD="class: xl70"] [/TD]
[TD][/TD]
[TD="class: xl71"] [/TD]
[/TR]
[TR]
[TD="class: xl67"] [/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl69"] [/TD]
[/TR]
</tbody>[/TABLE]


In another sheet, i have shop numbers and I want street number corresponding to it with the help of Vlookup.
But the problem is ..VLookup is giving error values. i will share the result and my formula :

Formula : =VLOOKUP(A2,A:D,4,0)

Result [TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]1109393[/TD]
[TD="width: 64, align: right"]1679252[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 64, align: right"]1121035[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 64, align: right"]1124376[/TD]
[TD="align: right"]1683992[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 64, align: right"]1124534[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Set the horizontal alignment for all Shop numbers to GENERAL. make sure they are either all left aligned (text) or all right aligned (number values).
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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