Index/Match to get Count (from Subtotals) into a Table of Names

R

ryguy7272

I have subtotals on the second page of my workbook, counting names of
persons, and a list of persons on the first page. I though, maybe, I could
use Index/Match to get the results of the counts of the persons on the second
page into a table of names on the first page, but that didn't work. I have
this function:
=INDEX(RUBY!$D$2:$D$4500,MATCH(B5,RUBY!$D$2:$D$4500,0))

This matches the names fine, but I really wanted to putt the numbers (the
counts of names) into the table of names.

Please help.

Thanks,
Ryan---
 
S

Spiky

I have subtotals on the second page of my workbook, counting names of
persons, and a list of persons on the first page.  I though, maybe, I could
use Index/Match to get the results of the counts of the persons on the second
page into a table of names on the first page, but that didn't work.  I have
this function:  
=INDEX(RUBY!$D$2:$D$4500,MATCH(B5,RUBY!$D$2:$D$4500,0))

This matches the names fine, but I really wanted to putt the numbers (the
counts of names) into the table of names.

Please help.

Thanks,
Ryan---

If your Subtotals work, why can't you just duplicate them on the first
sheet? Otherwise, you need a counting function, not a lookup. COUNTIF
might be useful.
 
S

Sheeloo

Why not use Sumproduct like the one below
=Sumproduct(--(RUBY!$D$2:$D$4500=B5))

it will tell you how many times the name in B5 occurs in RUBY!$D$2:$D$4500
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top