I need to add one more criteria to this function

G

Gina

=MAX(IF((Data!A2:A2500=2008)*(Data!G2:G2500="U & E"),Data!C2:C2500))

I would like to add a filter (Data!A2:A2500=2008)*(Data!G2:G2500="U & E")
and Data!J2:J2500 does not equal "FA" to the above function. I'm not sure
how to do this.

Gina
 
P

Pete_UK

Gina,

All the conditions come before the comma, and are joined by the
asterisk (which means AND), so you can do this:

=MAX(IF((Data!A2:A2500=2008)*(Data!G2:G2500="U & E")*(Data!
J2:J2500<>"FA"),Data!C2:C2500))

Don't forget to use CSE to commit it.

Hope this helps.

Pete
 
I

Infinitogool

Hi Gina
Try
=MAX(IF((Data!A2:A2500=2008)*(Data!G2:G2500="U &
E")*(Data!J2:J2500<>"FA",Data!C2:C2500))

Regards,
Pedro J.
 
G

Gina

Thank you so much. This works great. You guys are a godsend for someone who
hasn't done much work in excel for the last 3 years, and suddenly has more
projects in Excel than thought possible.

Gina
 

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