问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
你好,欢迎来到懂视!登录注册
当前位置: 首页 - 正文

求助:利用公式将excel单元格中的字符串重新排序?

发布网友 发布时间:2022-04-23 14:40

我来回答

2个回答

热心网友 时间:2023-10-19 00:40

C2单元格输入公式=IF(AND(ISNUMBER(FIND("A",A2)),ISNUMBER(FIND("B",A2))),LEFT(A2,1)&LEFT(B2,1)&RIGHT(A2,1)&RIGHT(B2,1),IF(AND(ISNUMBER(FIND("A",A2)),ISERR(FIND("B",A2))),LEFT(A2,1)&LEFT(B2,1)&RIGHT(B2,1)&RIGHT(A1,1),IF(AND(ISERR(FIND("A",A2)),ISNUMBER(FIND("B",A2))),LEFT(B2,1)&LEFT(A2,1)&RIGHT(A2,1)&RIGHT(B2,1),IF(AND(ISERR(FIND("A",A2)),ISERR(FIND("B",A2))),LEFT(B2,1)&LEFT(A2,1)&RIGHT(B2,1)&RIGHT(A2,1),""))))

下拉公式。 如图:

热心网友 时间:2023-10-19 00:40

若都是字母c2=CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,1),1)*1000,0))&CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,2),1)*1000,0))&CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,3),1)*1000,0))&CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,4),1)*1000,0))数组公式,同时按ctrl+shift+回车三键结束,下拉,本公式通用所有字母组合

热心网友 时间:2023-10-19 00:40

C2单元格输入公式=IF(AND(ISNUMBER(FIND("A",A2)),ISNUMBER(FIND("B",A2))),LEFT(A2,1)&LEFT(B2,1)&RIGHT(A2,1)&RIGHT(B2,1),IF(AND(ISNUMBER(FIND("A",A2)),ISERR(FIND("B",A2))),LEFT(A2,1)&LEFT(B2,1)&RIGHT(B2,1)&RIGHT(A1,1),IF(AND(ISERR(FIND("A",A2)),ISNUMBER(FIND("B",A2))),LEFT(B2,1)&LEFT(A2,1)&RIGHT(A2,1)&RIGHT(B2,1),IF(AND(ISERR(FIND("A",A2)),ISERR(FIND("B",A2))),LEFT(B2,1)&LEFT(A2,1)&RIGHT(B2,1)&RIGHT(A2,1),""))))

下拉公式。 如图:

热心网友 时间:2023-10-19 00:40

若都是字母c2=CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,1),1)*1000,0))&CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,2),1)*1000,0))&CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,3),1)*1000,0))&CHAR(ROUNDUP(MOD(SMALL(MATCH(MID(A2&B2,ROW($1:$4),1),{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},0)+CODE(MID(A2&B2,ROW($1:$4),1))/1000,4),1)*1000,0))数组公式,同时按ctrl+shift+回车三键结束,下拉,本公式通用所有字母组合
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com
婴儿用什么做枕头好 宝宝枕什么枕头比较好 婴儿使用什么枕头 新生儿用枕头用什么牌子好 婴儿枕头用什么做好 用什么做婴儿枕头最好 长白山在哪个城市 长白山地理位置 100%山羊绒毛衣可以水洗吗 山羊绒毛衣怎么洗怎么洗山羊绒毛衣 专升本怎么能升一个好二本? Excel如何用公式将一个表重新排序 excel排重问题 EXCEL 比对排重问题 求一个像 Silver scrapes 一样的纯音乐,希望能像这个一样有*,有感觉。 excel,数列重新排序,求公式 求LOL s2 背景音也Silver Scrapes-Danny McCarthy 有趣的英语作文 Excel表格中一组数据急需重新排列求公式 英雄联盟世界赛打满5局的曲子 英语暑假日记四篇 excel排重计数公式:想要计算在一段时间之内某一列出现几个不同的值 四年级英语作文50字一天都干什么 2018英雄联盟RNG夺冠瞬间音乐是什么 我有趣的生活英语作文 天下英雄之LOL五大极限翻盘OMG那段背景音乐是什么,跪求名字。 一节英语课日记结尾100字关于我的感受 excel中,去除前排的空值,用公式实现重新排列前排? 求一些音乐,抒情的,类似silver scrapes开头的钢琴曲那样的纯音乐 一堂有趣的课英语作文30个单词加中文翻译 excel 排重计数 excel 名单排重问题 用EXCEL排重的函数是什么?怎么用? excel 按条件筛选之后排重统计公式 excel去重公式是什么啊 今天使用公有云,需要什么安全感知系统 谁能告诉我沈阳有成人的书法培训班吗?要好点的,最好在皇姑 沈阳少儿美术和书法哪家教得好 沈阳 毛笔书法培训 书法特长生与艺术类有什么区别?还有就是艺术类二本线是多少分啊?亲们帮帮忙吧! 高原和曹军哪个书法好 华为手机一键开启录音快捷键是哪个? 请问如何练好硬笔书法,29了想把钢笔字写好? 华为手机一键开启录音快捷键是什么? 两不愁三保障分别指的是? 盐城书法培训哪家好 历史名人简介,包括姓名,生平主要事迹 华为手机录音有快捷键吗 中国古代十大军师是谁 两不愁三保障的内容是什么? 张氏有什么比较有名的历史人物吗?列举人名年代事例…多多益善
  • 焦点

最新推荐

猜你喜欢

热门推荐