- Formulae that perform comparisons such as Vlookup
- Using Excel as a data source in a join query when you have poor control over type casts e.g. while using Microsoft Query
I find the quickest way to force the conversion of text to number is to do the following:
- Enter 1 in a cell
- Copy the cell
- Paste special into the range of cells you want to convert
- Specify Value and Multiply
Numeric is the easiest as Paste Special has number-specific options. For other data types I think you have to create a copy of the cells using a casting formula and use the calculated values instead of the originals. If I find any faster ways for non-numbers I will update this post.
No comments:
Post a Comment