tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I Have two ranges
D20:D250 & F20:F250
I need a total these with this rule
Not all cells have a value,
Column D needs to be ignored if column F has an amount
example
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column D[/TD]
[TD]Column F[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD]43[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]66[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]44[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]The blue ones would be the ones I want to add up[/TD]
[/TR]
</tbody>[/TABLE]
I Have two ranges
D20:D250 & F20:F250
I need a total these with this rule
Not all cells have a value,
Column D needs to be ignored if column F has an amount
example
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Column D[/TD]
[TD]Column F[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD]43[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]66[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]44[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]The blue ones would be the ones I want to add up[/TD]
[/TR]
</tbody>[/TABLE]