format - MS Excel 2010 how to import custom formatted data as numbers or apply custom formatting during import -
i have data in csv milions, thousands, specified "m", resp "k" characters.
example:
abc;1.4m def;1.45m ghi;850k
i want import them, how can force excel treat values in second column numbers (i want draw sparkline based on those) ?
i've tried apply custom format on second column , import data without success.
i can manage have input data either "m" or "k" (i.e. column 2 not have "m" , "k" mixed. 3rd row then: ghi;0.85m), solution treat millions , thousands separately helpful.
if 1 time thing, may easier import 2 columns of text. select column numbers , letters in it, , find , replace. replace m e06. replace all. replace k e03.
this takes advantage of scientific notation e tells excel multiple number 10 power of digits following e. e03 multiplying number 1000.
the numbers show in scientific notation, it's easy reformat column accounting or whatever format like.
Comments
Post a Comment