Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 7
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,441
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 7
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 7
Default 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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula for extracting text formated numbers within ( )'s as numbe M Excel Discussion (Misc queries) 6 October 30th 08 11:59 PM
Sumif only numbers formated as currency Bonita Excel Worksheet Functions 3 June 8th 07 08:00 PM
Adding numbers to a Time Formated cell Browner Excel Discussion (Misc queries) 2 June 20th 06 03:55 PM
Cells formated as text do not always display properly Cass Excel Discussion (Misc queries) 2 July 23rd 05 01:59 AM
Cells formated as numbers are calculating like text MM_BAM Excel Discussion (Misc queries) 4 July 7th 05 01:29 AM


All times are GMT +1. The time now is 06:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"