Forum Discussion

Reg_B1944's avatar
Reg_B1944
Copper Contributor
Feb 01, 2024
Solved

Countif cell = "something" and related cell (same row) = "something else"

Hello,   Trying to calculate the gender balance in our organization based on column containing M or F but only for those who have paid their fees, indicated by an "X" in another column   So conce...
  • HansVogelaar's avatar
    Feb 01, 2024

    Reg_B1944 

    Use COUNTIFS:

     

    =COUNTIFS(gender_range, "M", paid_range, "X")

     

    So for example

     

    =COUNTIFS(gender_range, "M", paid_range, "X")&"/"&COUNTIFS(gender_range, "M", paid_range, "M")