if-statement - (Excel) If cell is greater than then minus
问题描述
I’m creating an excel spreadsheet that contains the following:
- Cell B4: Number that represents Bob’s subcontractor fortnight (earning in 2 weeks) earnings.
- Cell B6: Number that represents Bob’s student allowance a fortnight.
- Cell B5: Display the the total that was subtracted from Bob’s student allowance this specific fortnight.
Subtraction of allowance: If bob earn more than $300 as subcontractor his allowance will be reduce by 0,60 cents in each dollar over $300 in his subcontractor earnings.
0,60 * (B4-300) = subtraction
Using Excel, what is the formula to calculate the remaining amount in Bob's student allowance?
I have tried the below, but it doesn't work.
IF B4>300-60% from B6
解决方案
推荐阅读
- c# - 如何更新 YamlDotNet 中的属性值?
- azure - 如何使用 yml 文件为 azure 管道中的不同分支设置不同的参数
- gravity-forms-plugin - 如何修复重力形式错位的标题
- reactjs - Formik Uncaught TypeError:无法读取未定义的属性“getFieldProps”
- javascript - 在选择输入之外单击时更改状态
- ssl - Hyperledger Fabric 第 3 方 TLS CA 设置或禁用 TLS
- reactjs - 如何在 React 中将 useState 值发送给 Parent
- android - 异步 REST-API 异常处理
- javascript - Gitlab Ci 构建失败并出现 Nginx 错误响应 413 Request Entity Too Large
- c# - dotnet C# - 为什么 GC 不释放内存?