generaleddie
New Member
- Joined
- Feb 12, 2019
- Messages
- 2
Hi,
I'm getting the error too few arguments for this function with the below formula, any tips on where I am going wrong? I have simplified my table below but, basically, have multiple trusts donating to different charities and want to know the distinct count of beneficiaries for each charity, named in the table as One, Two and Three. In table below, for example, the results would be: One - 4, Two - 2, Three - 1.
=SUMPRODUCT(('Data £'!F:F="Three")/(COUNTIFS('Data £'!C:C, 'Data £'!C:C, 'Data £'!F:F="Three")+('Data £'!F:F<>"Three")))
[TABLE="width: 50"]
<tbody>[TR]
[TD]C[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Organisation[/TD]
[TD]Charities[/TD]
[/TR]
[TR]
[TD]Action Duchenne Limited[/TD]
[TD]One[/TD]
[/TR]
[TR]
[TD]Army Family Federation[/TD]
[TD]Three[/TD]
[/TR]
[TR]
[TD]Build Change [/TD]
[TD]One[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Cambridge Heath Sixth Forms [/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Chailey Heritage Foundation[/TD]
[TD]One[/TD]
[/TR]
[TR]
[TD]Children with Cancer UK[/TD]
[TD]One[/TD]
[/TR]
</tbody>[/TABLE]
TIA!
I'm getting the error too few arguments for this function with the below formula, any tips on where I am going wrong? I have simplified my table below but, basically, have multiple trusts donating to different charities and want to know the distinct count of beneficiaries for each charity, named in the table as One, Two and Three. In table below, for example, the results would be: One - 4, Two - 2, Three - 1.
=SUMPRODUCT(('Data £'!F:F="Three")/(COUNTIFS('Data £'!C:C, 'Data £'!C:C, 'Data £'!F:F="Three")+('Data £'!F:F<>"Three")))
[TABLE="width: 50"]
<tbody>[TR]
[TD]C[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Organisation[/TD]
[TD]Charities[/TD]
[/TR]
[TR]
[TD]Action Duchenne Limited[/TD]
[TD]One[/TD]
[/TR]
[TR]
[TD]Army Family Federation[/TD]
[TD]Three[/TD]
[/TR]
[TR]
[TD]Build Change [/TD]
[TD]One[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Bursary Students[/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Cambridge Heath Sixth Forms [/TD]
[TD]Two[/TD]
[/TR]
[TR]
[TD]Chailey Heritage Foundation[/TD]
[TD]One[/TD]
[/TR]
[TR]
[TD]Children with Cancer UK[/TD]
[TD]One[/TD]
[/TR]
</tbody>[/TABLE]
TIA!