Excel 如何利用IF和LEFT函数提取出产品编号并判断所属类别
时间:2022-12-02 08:49:15
Excel用IF和LEFT函数提取出产品编号并判断所属类别
选中需要输入公式的单元格区域,
输入公式:=IF(LEFT(A2,2)="DQ","电器",IF(LEFT(A2,2)="JJ","家具","装饰")),按Ctrl+Enter组合键填充。
具体操作看下图:
Excel 如何利用IF和LEFT函数提取出产品编号并判断所属类别
说明:先利用LEFT函数提取出前两个字符,再结合IF函数进行判断。
标签:LEFT函数,excel提取出产品编号并判断所属类别
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word中如何给表格设置自动编号
2022-10-26 14:23:14
如何用PPT插入动态图表
2023-04-29 11:49:42
![](https://img.aspxhome.com/file/2023/10/a351408_0s.jpg)
Excel SUMIFS 函数 使用实例教程
2023-01-16 21:27:18
![](https://img.aspxhome.com/file/2023/4/a163044_0s.png)
使用系统文件检查器工具来解决在WindowsVista或Windows7上丢失或损坏的系统文件
2022-12-30 08:26:15
![](https://img.aspxhome.com/file/2023/29/a255651_0s.jpg)
edge图片加载不出来?
2023-01-10 10:40:58
![](https://img.aspxhome.com/file/2023/9/a341825_0s.png)
怎么用鲁大师跑分_鲁大师跑分详细教程
2022-04-26 03:26:21
![](https://img.aspxhome.com/file/2023/4/a311714_0s.jpg)
Excel如何制作考勤表动态日期
2022-11-17 09:51:28
![](https://img.aspxhome.com/file/2023/1/a140121_0s.jpg)
电脑提示Windows找不到文件要怎么办?
2022-05-19 06:11:35
![](https://img.aspxhome.com/file/2023/6/a322095_0s.jpg)
傲软电脑录屏使用教程
2023-02-17 09:42:32
![](https://img.aspxhome.com/file/2023/1/a274867_0s.png)
电脑版WPS演示文稿的聚光灯功能怎么用
2022-08-12 09:19:02
![](https://img.aspxhome.com/file/2023/8/a183158_0s.png)
笔记本电脑蓝牙打不开怎么办 电脑蓝牙无法使用的解决办法
2023-09-22 23:07:41
Win7连不上Win10打印机的解决方法
2023-03-08 09:33:16
![](https://img.aspxhome.com/file/2023/1/a278957_0s.png)
微信如何扫码摩拜单车 微信扫码摩拜单车方法
2022-07-31 19:18:24
![](https://img.aspxhome.com/file/2023/8/a339292_0s.jpg)
PPT制作辅助工具使用技巧
2023-08-01 13:58:04
![](https://img.aspxhome.com/file/2023/10/a351347_0s.jpg)
如何去除win10中IE浏览器右上角的笑脸(反馈)图标按钮
2022-11-20 14:21:42
![](https://img.aspxhome.com/file/2023/30/a263240_0s.jpg)
Win10系统强制更改Edge为默认浏览器如何处理?修改默认浏览器的方法
2023-11-13 04:04:39
![](https://img.aspxhome.com/file/2023/4/48874_0s.jpg)
10策改进Windows Vista 系统安全问题
2022-10-15 03:26:16
Ghost Win11启动慢怎么办?
2023-03-24 02:06:12
![](https://img.aspxhome.com/file/2023/1/a282306_0s.jpg)
Excel如何利用函数快速找到重复项目
2023-08-09 17:13:17
建筑行业的你,工作中怎么能少了它们?
2023-11-27 20:57:13
![](https://img.aspxhome.com/file/2023/4/a209624_0s.jpeg)