Help with number format and VLOOKUP

jcaptchaos2

Well-known Member
Joined
Sep 24, 2002
Messages
1,026
I have a cell in one spread sheet that has =CONCATENATE(G5,H5), it combines the number 8080810 and 813600 to make 8080810813600. I have I have other cells with the same formula. In another spread sheet I have a Vlookup formula that looks at a cell with the number in it that should be the same returning an N/A because obviously the number doesn't match the number in the table. When I type the number in the cell that the lookup is looking at it comes out as 8.08081E+12 if I copy and paste special the CONCATENATE formula the lookup works fine. Like I said there are other formula's and numbers just like the one I listed that work fine it appears to be a problem with the new numbers I'm typing in. I think it must have something to do with the format.
 

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".

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
When you use concatenate the result is text and therefore you don't get a match with a numeric value that looks the same. Convert the text to numeric by using a +0 at the end of your concatenate formula, i.e.

=CONCATENATE(G5,H5)+0
 

Forum statistics

Threads
1,141,151
Messages
5,704,579
Members
421,357
Latest member
luke_feeney

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
Top