excel - Excel If and else statement
问题描述
Hi All,
Can somebody please help me with if and else in excel.
My codes seems correct when doing it separately, but when combining them - it does not work.
Codes are as follow:
=IFS(E7=Sheet2!$B$4,Sheet2!$C$4,IF(E7=Sheet2!B5,Sheet2!$C$5,"10"),IF(E7=Sheet2!$B$11,Sheet2!$C$11,IF(E7=Sheet2!B12,Sheet2!C12,Sheet2!C13)))
the last option still give me #value error.
have the sheet 2 that includes:
Merit Score
Low 2
Medium 5
High 10
Error Score
Low -2
Medium -4
High -10
解决方案
The begining of the code is wrong. See if this works.
Wrong
=IFS(IFE7=Sheet2!$
Right
=IFS(E7=Sheet2!$
Regards
推荐阅读
- dax - 如何将每日唯一计数与 MTD 相加
- jquery - 单击表单提交按钮后,在表单内隐藏提交按钮的 JQuery 代码
- python-3.x - 如何编写用于交互式绘图的多线程程序?
- sql - 存储过程的 SQL Server 架构权限
- python-3.x - 如何在python中将基类扩展到子类并打印子类值?
- react-native - 如何使用 react-native-audio-toolkit 使录音机播放器反应原生
- javascript - 为随机生成的 Javascript 数字添加样式
- c++ - 是否/应该有一种方法来跟踪从智能指针获取的原始指针的有效性以用于调试/QA 目的?
- mysql - 如何将值从其他模式表插入 mysql 数据库?
- spring-boot - 删除方法显示“禁止”消息