码迷,mamicode.com
首页 > 其他好文 > 详细

Excel提取设定的多个关键字段

时间:2019-02-18 23:20:31      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:find   pre   amp   .com   $1   image   一段   关键字   ror   

从一段文字中,提取事先设定的关键字段:

技术图片

   在M2单元格输入下列公式:

=IFERROR(IF(FIND(O$2,Q2),O$2&" "),"")&IFERROR(IF(FIND(O$3,Q2),O$3&" "),"")&IFERROR(IF(FIND(O$4,Q2),O$4&" "),"")&IFERROR(IF(FIND(O$5,Q2),O$5&" "),"")&IFERROR(IF(FIND(O$6,Q2),O$6&" "),"")&IFERROR(IF(FIND(O$7,Q2),O$7&" "),"")&IFERROR(IF(FIND(O$8,Q2),O$8&" "),"")&IFERROR(IF(FIND(O$9,Q2),O$9&" "),"")&IFERROR(IF(FIND(O$10,Q2),O$10&" "),"")&IFERROR(IF(FIND(O$11,Q2),O$11&" "),"")&IFERROR(IF(FIND(O$12,Q2),O$12&" "),"")&IFERROR(IF(FIND(O$13,Q2),O$13&" "),"")&IFERROR(IF(FIND(O$14,Q2),O$14&" "),"")&IFERROR(IF(FIND(O$15,Q2),O$15&" "),"")&IFERROR(IF(FIND(O$16,Q2),O$16&" "),"")&IFERROR(IF(FIND(O$17,Q2),O$17&" "),"")&IFERROR(IF(FIND(O$18,Q2),O$18&" "),"")&IFERROR(IF(FIND(#REF!,Q2),#REF!&" "),"")

Excel提取设定的多个关键字段

标签:find   pre   amp   .com   $1   image   一段   关键字   ror   

原文地址:https://www.cnblogs.com/sxinfo/p/10398322.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!