All,
I have struggling with a formula to use IF and AND. I have 3 columns in a table, Chain of Command 1, Chain of Command 2 and a Full Time/Part Time column. This list will be added to each week, so it will continue to grow.
Based on a preselected Leader I have been able to get a count of on many times a leader shows up in the list, but I haven't been able to determine how I only use this leader and determine how many are FT employees. This number can only be equal to or less than the count - which makes sense. So listed below I have the correct count formula, but struggling on getting the count of FT based on the leader (including my 40th attempt to get this to work!!!). Any help is appreciated
<tbody>
</tbody>
I have struggling with a formula to use IF and AND. I have 3 columns in a table, Chain of Command 1, Chain of Command 2 and a Full Time/Part Time column. This list will be added to each week, so it will continue to grow.
Based on a preselected Leader I have been able to get a count of on many times a leader shows up in the list, but I haven't been able to determine how I only use this leader and determine how many are FT employees. This number can only be equal to or less than the count - which makes sense. So listed below I have the correct count formula, but struggling on getting the count of FT based on the leader (including my 40th attempt to get this to work!!!). Any help is appreciated
Which Leader? | Count | ||||
LEADER 1 | =COUNTIF(A5:B24,A2) | =COUNTIF(AND((A5:B24,A2), C5:C24="FT"),COUNTIF( C5:C24="FT"),"") | |||
CHAIN OF COMMAND 1 | CHAIN OF COMMAND 2 | PT/FT | |||
LEADER 1 | LEADER 19 | FT | |||
LEADER 1 | LEADER 20 | FT | |||
LEADER 1 | LEADER 21 | PT | |||
LEADER 2 | LEADER 22 | FT | |||
LEADER 3 | LEADER 23 | FT | |||
LEADER 4 | LEADER 24 | FT | |||
LEADER 5 | LEADER 25 | FT | |||
LEADER 6 | LEADER 26 | FT | |||
LEADER 7 | LEADER 27 | FT | |||
LEADER 8 | LEADER 28 | FT | |||
LEADER 9 | LEADER 29 | FT | |||
LEADER 10 | LEADER 30 | FT | |||
LEADER 11 | LEADER 31 | FT | |||
LEADER 12 | LEADER 32 | FT | |||
LEADER 13 | LEADER 33 | FT | |||
LEADER 14 | LEADER 34 | FT | |||
LEADER 15 | LEADER 35 | FT | |||
LEADER 16 | LEADER 36 | FT | |||
LEADER 17 | LEADER 37 | FT | |||
LEADER 18 | LEADER 38 | FT |
<tbody>
</tbody>