shes_ohwsome
New Member
- Joined
- Apr 24, 2017
- Messages
- 13
Hi Everyone,
I need help about nested if. I have set of conditions that needs to be followed, unfortunately I dont know how to do it in Excel. Please help
[TABLE="width: 500"]
<tbody>[TR]
[TD]WH Stocks[/TD]
[TD]Recommended[/TD]
[TD]Stocklogic[/TD]
[TD]Expected output[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]50[/TD]
[TD]10[/TD]
[TD]Recommended[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]110[/TD]
[TD]50[/TD]
[TD]Stocklogic[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]10[/TD]
[TD]50[/TD]
[TD]Stocklogic[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 418"]
<tbody>[TR]
[TD="width: 418"]Conditions:
[TABLE="width: 418"]
<tbody>[TR]
[TD="width: 418"][TABLE="width: 665"]
<tbody>[TR]
[TD="width: 665"]1. If Stocklogic is higher than Recommended Get Stocklogic value
[TABLE="width: 665"]
<tbody>[TR]
[TD="width: 665"]2. If Recommeded is higher than stocklogic GET Recommended value
[TABLE="width: 665"]
<tbody>[TR]
[TD]3. If Recommended is higher than WH stocks get Stocklogic value[/TD]
[/TR]
[TR]
[TD]4. If WH Stocks is 0 Final should be 0[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I need help about nested if. I have set of conditions that needs to be followed, unfortunately I dont know how to do it in Excel. Please help
[TABLE="width: 500"]
<tbody>[TR]
[TD]WH Stocks[/TD]
[TD]Recommended[/TD]
[TD]Stocklogic[/TD]
[TD]Expected output[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]50[/TD]
[TD]10[/TD]
[TD]Recommended[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]110[/TD]
[TD]50[/TD]
[TD]Stocklogic[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]10[/TD]
[TD]50[/TD]
[TD]Stocklogic[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 418"]
<tbody>[TR]
[TD="width: 418"]Conditions:
[TABLE="width: 418"]
<tbody>[TR]
[TD="width: 418"][TABLE="width: 665"]
<tbody>[TR]
[TD="width: 665"]1. If Stocklogic is higher than Recommended Get Stocklogic value
[TABLE="width: 665"]
<tbody>[TR]
[TD="width: 665"]2. If Recommeded is higher than stocklogic GET Recommended value
[TABLE="width: 665"]
<tbody>[TR]
[TD]3. If Recommended is higher than WH stocks get Stocklogic value[/TD]
[/TR]
[TR]
[TD]4. If WH Stocks is 0 Final should be 0[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]