Help with number format and VLOOKUP

jcaptchaos2

Well-known Member
Joined
Sep 24, 2002
Messages
1,032
Office Version
  1. 365
Platform
  1. Windows
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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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
 
Upvote 0

Forum statistics

Threads
1,214,559
Messages
6,120,203
Members
448,951
Latest member
jennlynn

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