If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Text formated cells with numbers
Hi All,
I'm trying to do a vlookup from one worksheet to another. The one sheet is an export from an Access database & the lookup column is numbers but the Access field is text. That was done for a possible eventuality in the database. My problem is that unless I add the label ' into the cell the lookup doesn't work. How do I get around that? Cheers Hugh |
#2
|
|||
|
|||
Text formated cells with numbers
Hugh,
Change the first argument of your VLOOKUP to convert the string to a number: =VLOOKUP (VALUE( ), ........) HTH, Bernie MS Excel MVP "Hugh self taught" wrote in message ... Hi All, I'm trying to do a vlookup from one worksheet to another. The one sheet is an export from an Access database & the lookup column is numbers but the Access field is text. That was done for a possible eventuality in the database. My problem is that unless I add the label ' into the cell the lookup doesn't work. How do I get around that? Cheers Hugh |
#3
|
|||
|
|||
Text formated cells with numbers
Hi Bernie,
=VLOOKUP(VALUE(A4),Couples!$B$2:$D$350,2,FALSE) A4 is what I input (ie 47) & the exported data is in worksheet Couples. Hence I get N/A Thanks for responding Hugh "Bernie Deitrick" wrote: Hugh, Change the first argument of your VLOOKUP to convert the string to a number: =VLOOKUP (VALUE( ), ........) HTH, Bernie MS Excel MVP "Hugh self taught" wrote in message ... Hi All, I'm trying to do a vlookup from one worksheet to another. The one sheet is an export from an Access database & the lookup column is numbers but the Access field is text. That was done for a possible eventuality in the database. My problem is that unless I add the label ' into the cell the lookup doesn't work. How do I get around that? Cheers Hugh |
#4
|
|||
|
|||
Text formated cells with numbers
Hi Bernie,
Found a solution =VLOOKUP(TEXT(A4,"#"),Couples!$B$2:$D$350,2,FALSE) "Hugh self taught" wrote: Hi Bernie, =VLOOKUP(VALUE(A4),Couples!$B$2:$D$350,2,FALSE) A4 is what I input (ie 47) & the exported data is in worksheet Couples. Hence I get N/A Thanks for responding Hugh "Bernie Deitrick" wrote: Hugh, Change the first argument of your VLOOKUP to convert the string to a number: =VLOOKUP (VALUE( ), ........) HTH, Bernie MS Excel MVP "Hugh self taught" wrote in message ... Hi All, I'm trying to do a vlookup from one worksheet to another. The one sheet is an export from an Access database & the lookup column is numbers but the Access field is text. That was done for a possible eventuality in the database. My problem is that unless I add the label ' into the cell the lookup doesn't work. How do I get around that? Cheers Hugh |
Thread Tools | |
Display Modes | |
|
|