asyamonique
Well-known Member
- Joined
- Jan 29, 2008
- Messages
- 1,286
- Office Version
- 2013
- Platform
- Windows
Goog Day,
On cell C41 I want to put a formula which will calculate the total sum with the conditions below.
I've created a table from B6:D40
There will be numbers from B6:B40 and C6:D40 will have the letter info as X
My target is to get the total of those numbers.But if there is no info on column C as X
If there is info as X then that number will be reduce %5 from the original amount(if 100000 will consider 95000!)Many thanks.
[TABLE="width: 269"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD][/TD]
[TD]5%[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]COLUMN B[/TD]
[TD]COLUMN C[/TD]
[TD]COLUMN D[/TD]
[/TR]
[TR]
[TD]20,000[/TD]
[TD]X[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]45,000[/TD]
[TD] [/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]50,000[/TD]
[TD]X[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]100,000[/TD]
[TD]X[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]300,000[/TD]
[TD] [/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TOTAL:[/TD]
[TD="colspan: 2"]506,500[/TD]
[/TR]
</tbody>[/TABLE]
On cell C41 I want to put a formula which will calculate the total sum with the conditions below.
I've created a table from B6:D40
There will be numbers from B6:B40 and C6:D40 will have the letter info as X
My target is to get the total of those numbers.But if there is no info on column C as X
If there is info as X then that number will be reduce %5 from the original amount(if 100000 will consider 95000!)Many thanks.
[TABLE="width: 269"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD][/TD]
[TD]5%[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]COLUMN B[/TD]
[TD]COLUMN C[/TD]
[TD]COLUMN D[/TD]
[/TR]
[TR]
[TD]20,000[/TD]
[TD]X[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]45,000[/TD]
[TD] [/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]50,000[/TD]
[TD]X[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]100,000[/TD]
[TD]X[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]300,000[/TD]
[TD] [/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TOTAL:[/TD]
[TD="colspan: 2"]506,500[/TD]
[/TR]
</tbody>[/TABLE]