#### generaleddie

##### New Member

- Joined
- Feb 12, 2019

- Messages
- 2

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")))

C | F |

Organisation | Charities |

Action Duchenne Limited | One |

Army Family Federation | Three |

Build Change | One |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Bursary Students | Two |

Cambridge Heath Sixth Forms | Two |

Chailey Heritage Foundation | One |

Children with Cancer UK | One |

<tbody>

</tbody>

TIA!