types - Force Excel 2007 to treat all values in a column as text -
i have large column of data in excel. data should treated text, in cells excel "magically" changing data numeric. screwing vlookpup() functions in part of spreadsheet, , need override excel's automatic data type detection.
if manually go through cells, , append ' each numeric cell, works. don't want hand several thousand cells.
for example, works: manually type '209
and not work: manually type 209
, right click , format text.
if changing format of column not option, it's helpful create column that's 'vlookup friendly' , leave main column alone.
this trick i've used few times:
say 'mixed' column column a.
in column b, enter formula:
=concatenate(a1)
or jean-françois pointed out in comment, shorter version:
=a1 & ""
and drag down bottom row.
column b strings. vlookup can use column b.
Comments
Post a Comment