MODE fx in array using multiple criteria

J

Jon Young

I can get SUM, MAX and MIN functions to work in arrays with multiple criteria
like this:

{=MAX(Diameter*(Job=$A6)*(Date>=$A$1)*(Date<=$A$2))}

But, from the example above, I now need to use MODE instead of MAX to return
the most frequently used Diameter within the data subset that meets these
same, multiple criteria. I just get 0.

Thanks in advance for helping.
 
B

Bernie Deitrick

Jon,

Enter using Ctrl-Shift-Enter:

=MODE(IF(Job=$A6,IF(Date>=$A$1,IF(Date<=$A$2,Diameter))))

Just continue with additional nested IFs to add additional criteria.

HTH,
Bernie
MS Excel MVP
 
J

Jon Young

Worked! Thank you.

Bernie Deitrick said:
Jon,

Enter using Ctrl-Shift-Enter:

=MODE(IF(Job=$A6,IF(Date>=$A$1,IF(Date<=$A$2,Diameter))))

Just continue with additional nested IFs to add additional criteria.

HTH,
Bernie
MS Excel MVP
 

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