Salamullah
Board Regular
- Joined
- Mar 28, 2011
- Messages
- 221
[TABLE="width: 500"]
<tbody>[TR]
[TD]Area
[/TD]
[TD]Price
[/TD]
[TD]Discount 1
[/TD]
[TD]Discount2
[/TD]
[TD]Net price
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]100
[/TD]
[TD]20.5
[/TD]
[TD]3.78
[/TD]
[TD]79.5
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]100
[/TD]
[TD]15.7
[/TD]
[TD]2.95
[/TD]
[TD]84.3
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]100
[/TD]
[TD]11.3
[/TD]
[TD]1.87
[/TD]
[TD]88.7
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD][/TD]
[TD]20.5%
[/TD]
[TD]4.75%
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD][/TD]
[TD]15.7%
[/TD]
[TD]3.5%
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD][/TD]
[TD]11.3%
[/TD]
[TD]2.105%
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Please help to make single formula in Net price column for example in E2.
IF A2 = A
Discount 1 = B2 X C6
Discount 2 = B2 - C2 X D6
IF A2 = B
Discount 1 = B2 X C7
Discount 2 = B2 - C2 X D7
IF A2 = C
Discount 1 = B2 X C8
Discount 2 = B2 - C2 X D8
<tbody>[TR]
[TD]Area
[/TD]
[TD]Price
[/TD]
[TD]Discount 1
[/TD]
[TD]Discount2
[/TD]
[TD]Net price
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]100
[/TD]
[TD]20.5
[/TD]
[TD]3.78
[/TD]
[TD]79.5
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]100
[/TD]
[TD]15.7
[/TD]
[TD]2.95
[/TD]
[TD]84.3
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]100
[/TD]
[TD]11.3
[/TD]
[TD]1.87
[/TD]
[TD]88.7
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD][/TD]
[TD]20.5%
[/TD]
[TD]4.75%
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD][/TD]
[TD]15.7%
[/TD]
[TD]3.5%
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD][/TD]
[TD]11.3%
[/TD]
[TD]2.105%
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Please help to make single formula in Net price column for example in E2.
IF A2 = A
Discount 1 = B2 X C6
Discount 2 = B2 - C2 X D6
IF A2 = B
Discount 1 = B2 X C7
Discount 2 = B2 - C2 X D7
IF A2 = C
Discount 1 = B2 X C8
Discount 2 = B2 - C2 X D8