Calculating cells that contain Numbers

G

Guest

Hi

I have 5 groups numbered 1 - 5 respectively, there are over 500 rows with
each row belonging to various groups . I just want to be able to calculate,
say the No. 1 group to find out how many are belonging to it. I know you
could use a filter but I want the total to appear at the end of the sheet for
each individual group.

Example:

Row 1: 5022 Joe Bloggs Position 1
Row 2: 7895 Mary J Position 5
Row 3: 5689 Sarah H Position 1
Row 4: 4589 Jane D Position 4
etc

Total: Group 1 2 Staff
Group 4 1 Staff
Group 5 1 Staff etc
 
G

Guest

Assuming your group numbers are in cells D2:D5000, and that you have the
integers 1-5 in cells E2:E6 - put this formula in F2 & copy it down to F3:F6

COUNTIF($D$2:$D$5000,E2)
 

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