If/then/and statement with job titles

Mrs. T

Board Regular
Joined
May 24, 2007
Messages
107
Office Version
  1. 365
Platform
  1. MacOS
Grrr, I'm getting caught up on a formula and I'm not sure what I'm doing wrong.

In columns B, C & D, I want the totals of the title based on the lists in H & I.

So basically it should say 1 girl and 1 leader for group 55494 all the rest on the row for 55494 should be 0.

I'd then copy the formula for the rows below.

Screen Shot 2020-10-19 at 7.04.42 PM.png
Screen Shot 2020-10-19 at 7.05.18 PM.png
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Mrs. T, good evening.

Try to use this formula:

B2 --> =COUNTIFS($H$1:$H$8; $A2; $I$1:$I$8; B$1)

Drag the formula to D10

Is this what are you looking for?

I hope I've helped.
Have a nice day!
 
Upvote 0
Solution
Mrs. T, Good afternoon.

I feel glad to have helped you.
Thanks for the feedback.

Have a nice day!
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,245
Members
448,555
Latest member
RobertJones1986

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top