Hello,
Looking to calculate age ranges of people in an excel list, but it should only count the non-duplicated names. So for the example below, it should only count "Same Person" and "Other Same Person" once so that it does not give me a false record of people in that age range.
I would like to accomplish this with a formula and not a pivot table, and no helping columns/calculations. I've tried using some variations of sumproduct and countif, but to no avail.
[TABLE="width: 411"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Age[/TD]
[TD][/TD]
[TD]Age Range[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]Same Person[/TD]
[TD]75[/TD]
[TD][/TD]
[TD]20-30[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Other Same Person[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]31-40[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Same Person[/TD]
[TD]75[/TD]
[TD][/TD]
[TD]41-50[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Same Person[/TD]
[TD]75[/TD]
[TD][/TD]
[TD]51-60[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]50[/TD]
[TD][/TD]
[TD]61+[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Elaine Smith[/TD]
[TD]23[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Wendy Troupe[/TD]
[TD]50[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Levi Smith[/TD]
[TD]25[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Other Same Person[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Looking to calculate age ranges of people in an excel list, but it should only count the non-duplicated names. So for the example below, it should only count "Same Person" and "Other Same Person" once so that it does not give me a false record of people in that age range.
I would like to accomplish this with a formula and not a pivot table, and no helping columns/calculations. I've tried using some variations of sumproduct and countif, but to no avail.
[TABLE="width: 411"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Age[/TD]
[TD][/TD]
[TD]Age Range[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]Same Person[/TD]
[TD]75[/TD]
[TD][/TD]
[TD]20-30[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Other Same Person[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]31-40[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Same Person[/TD]
[TD]75[/TD]
[TD][/TD]
[TD]41-50[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Same Person[/TD]
[TD]75[/TD]
[TD][/TD]
[TD]51-60[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]50[/TD]
[TD][/TD]
[TD]61+[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Elaine Smith[/TD]
[TD]23[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Wendy Troupe[/TD]
[TD]50[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Levi Smith[/TD]
[TD]25[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Other Same Person[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: