(视频)表格文本函数:巧用MID函数 一秒提取身份证年月日
<b>视频地址1:</b>点击观看<br><br><b>视频地址2:</b>点击观看<br><br>
<b>教程难度:</b>初级<br><br>
<b>图文教程:</b><br>
<p><span style="font-family: 微软雅黑, Microsoft YaHei;">MID 返回文本字符串中从指定位置开始的特定数目的字符,该数目由用户指定。 <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);"><strong><br></strong></span></p><p><span style="font-family: 微软雅黑, Microsoft YaHei;"><strong>语法</strong> <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">MID(text,start_num,num_chars) <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">Text 是包含要提取字符的文本字符串。 <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">Start_num 是文本中要提取的第一个字符的位置。文本中第一个字符的 start_num 为 1,以此类推。 <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">Num_chars 指定希望 MID 从文本中返回字符的个数。 <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);"></span></p><p><strong><span style="font-family: 微软雅黑, Microsoft YaHei;">说明</span></strong><span style="font-family: 微软雅黑, Microsoft YaHei;"> <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">■ 如果 start_num 大于文本长度,则 MID 返回空文本 ()。 <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">■ 如果 start_num 小于文本长度,但 start_num 加上 num_chars 超过了文本的长度,则 MID 只返回至多直到文</span></p><p><span style="font-family: 微软雅黑, Microsoft YaHei;">本末尾的字符。 </span></p><p><span style="font-family: 微软雅黑, Microsoft YaHei;">■ 如果 start_num 小于 1,则 MID 返回错误值 #VALUE!。 <br style="margin: 0px; padding: 0px; font-family: Arial, 宋体, Helvetica, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(250, 253, 255);">■ 如果 num_chars 是负数,则 MID 返回错误值 #VALUE!。</span></p>
頁:
[1]