将excel中的数据,传到一些垃圾系统里,总是有一些变态的要求,如日期的格式2088-1-1或2088-01-01 非要转成文本格式的,否则上传上的数据就要报错.

将日期格式转成文本格式的方法:

 

  1. 新建一辅助列.
  2. 在辅助列中输入公式:=TEXT(A1,"yyyy-mm-dd") 其中A1为日期格式列.
  3. 复制转换后的文本格式列,选择性粘贴 『数值』.
  4. 设置粘贴数值列的格式文本.

 Leave a Reply

(必须)

(必须)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2010 vsnew
Suffusion theme by Sayontan Sinha