加载中…
  
博文
标签:

excel

提取

字符串

函数

文本

分类: tool

从网页import的excel表格,通常各个字段字符型,number混杂在一起,中间也混杂着好多空格。
1. 利用TRIM去除多余空格
2. 用FIND定位空格的位置(从左至右计数)
3. 利用MID函数从FIND定位的位置起,截取准确的字数

TRIM() Removes all spaces from text except for single spaces between words. Use TRIM on text that you have received from another application that may have irregular spacing.

空格的ascii 32

 一:函数理论知识学习


  

  
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有