View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Chris Lavender Chris Lavender is offline
external usenet poster
 
Posts: 9
Default How to convert text to number?

Hi frenchtoast

Assuming your 12345 is in cell A21, the TEXT function will convert it to
text format, which will then match the format type in your data

=VLOOKUP(TEXT(A21,"0"),C:D,2,0)

HTH
Best rgds
Chris Lav

"frenchtoast" wrote in message
...
I have rows of data.

ie. '12345
and I want to use vlookup using number value 12345.

There isn't an error message (with pull-down arrow) to convert this '12345
into a number.

How do I convert this without having to manually change these cells?

Thanks!