I've got a dataset which I'm looking at ISOWEEK NUM and looking to pull back the most common value per week. The only challenge I'm facing is that I want to also exclude certain companies (i've created an additional column for that) but when I add this in it stops working. My current working formula is:
=arrayformula(index('Orders & Revenue'!$I:$I,MODE(if('Orders & Revenue'!$P:$P="No",MATCH('Orders & Revenue'!$I:$I,'Orders & Revenue'!$I:$I,0)))))
What I want to do is and in the and function so that I can lookup another column as well.I tried the below but it didn't work:
=arrayformula(index('Orders & Revenue'!$I:$I,MODE(if(and('Orders & Revenue'!$P:$P="No",'Orders & Revenue'!$N:$N,C$9),MATCH('Orders & Revenue'!$I:$I,'Orders & Revenue'!$I:$I,0)))))
Any thoughts?