发布网友 发布时间:2024-09-27 11:54
共1个回答
热心网友 时间:2024-10-04 11:53
excel中提取数据的中间数字需要的公式为:=MID(单元格位置,起始数字位数,延伸位数)单位
excel中提取数据的中间数字的具体操作如下:
1.首先打开一个excel文件,如图,是某公司职员的人员编号,我们要从中提取位于编号末尾中的年龄。
/iknow-pic.cdn.bcebos.com/32fa828ba61ea8d33b71a1829b0a304e241f58e1"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/32fa828ba61ea8d33b71a1829b0a304e241f58e1?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/32fa828ba61ea8d33b71a1829b0a304e241f58e1"/>
2.点击对应的B3单元格,输入公式=MID(B3,11,2)岁
/iknow-pic.cdn.bcebos.com/18d8bc3eb13533fa41e546a8a4d3fd1f40345be1"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/18d8bc3eb13533fa41e546a8a4d3fd1f40345be1?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/18d8bc3eb13533fa41e546a8a4d3fd1f40345be1"/>
3.起始MID意思为取中间数据,意为在B3单元格中从第11位开始,取2位数据添加“岁”,“”为连接符。
/iknow-pic.cdn.bcebos.com/34fae6cd7b9e51f69def924ea7d933c50d21"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/34fae6cd7b9e51f69def924ea7d933c50d21?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/34fae6cd7b9e51f69def924ea7d933c50d21"/>
4.敲一下回车,则第一位职员的年龄出现在年龄一列。
/iknow-pic.cdn.bcebos.com/cb8065380cd79123e98541f2a1345982b3b780cb"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/cb8065380cd79123e98541f2a1345982b3b780cb?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/cb8065380cd79123e98541f2a1345982b3b780cb"/>
5.将鼠标放在第一位职员年龄单元格的右下角,当鼠标变为黑色小十字的时候,向下拖动。
/iknow-pic.cdn.bcebos.com/2e2eb93b504fc24c3a6583e9dde71191ef6dcb"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/2e2eb93b504fc24c3a6583e9dde71191ef6dcb?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/2e2eb93b504fc24c3a6583e9dde71191ef6dcb"/>
6.松开鼠标,如图所示,其他员工的年龄也显示在年龄一列的单元格。
/iknow-pic.cdn.bcebos.com/ac4bd11373f08202598044b947fbfbedab1b21"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/ac4bd11373f08202598044b947fbfbedab1b21?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/ac4bd11373f08202598044b947fbfbedab1b21"/>
无论是从身份证号还是数据内进行提取,只需输入前面说过的公式=MID(单元格位置,起始数字位数,延伸位数)单位按照上方操作即可。