Share via

modeif function

Anonymous
2012-08-30T17:11:48+00:00

Once again, I could use your help with a formula. I want to calculate the mode of a column of data with conditions from other columns.

For example, I want to know the mode of column C when column A = California and column B = 10.

Is there a way to do that? I am using Excel 2007.

As always, I very much appreciate your help.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2012-08-30T17:29:53+00:00

SanCarlosCyclist wrote:

I want to know the mode of column C when column A = California and column B = 10.

Array-enter the following formula (press ctrl+shift+Enter instead of just Enter):

=MODE(IF(A1:A1000="california",IF(B1:B1000=10,C1:C1000)))

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2012-08-30T17:56:01+00:00

    That worked fine. Thanks so much for your help.

    Was this answer helpful?

    0 comments No comments