=mode(if(and help

chrischilton01

New Member
Joined
Jun 9, 2014
Messages
19
I am trying to calculate the mode of our turn-around times for cases we handle as follows:

In column N, which contains whole numbers, which I want to obtain the mode values of, if:

  • Column A equals the name of a person in my team reference by cell J2
  • if the date in column I was greater than 31/12/12 (referenced J1) and less than 01/01/2013 (referenced by K1)
So far I can get the below to work based only on using greater than 31/12/12 and not with the less than option as follows:

{=MODE(IF([Jan12_May14_Closed_Cases.xlsx]report1401715985583!$A$2:$A$56366=J2,IF([Jan12_May14_Closed_Cases.xlsx]report1401715985583!$I$2:$I$56366<J1,[Jan12_May14_Closed_Cases.xlsx]report1401715985583!$M$2:$M$56366)))}

I have tried adding in a AND statement but cannot seem to get this to work, any ideas?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

chrischilton01

New Member
Joined
Jun 9, 2014
Messages
19

ADVERTISEMENT

Wrap it in code tags. use "[ code ]" and "[ /code]" without the spaces
Ok mmm still struggling this, can you show me an actual example of how you wrap it in code tags please?
 
Last edited:

Dreadknight Nasus

Board Regular
Joined
Jun 3, 2013
Messages
241
*[code*]{=MODE(IF([Jan12_May14_Closed_Cases.xlsx]report1401715985583!$A$2:$A$56366=J2,IF([Jan12_May14_Closed_Cases.xlsx]report1401715985583!$I$2:$I$56366...[*/code]*


Get rid of the red asterisks and finish the line of code
 

chrischilton01

New Member
Joined
Jun 9, 2014
Messages
19

ADVERTISEMENT

*[code*]{=MODE(IF([Jan12_May14_Closed_Cases.xlsx]report1401715985583!$A$2:$A$56366=J2,IF([Jan12_May14_Closed_Cases.xlsx]report1401715985583!$I$2:$I$56366...[*/code]*


Get rid of the red asterisks and finish the line of code

Hope this works, thanks for your help.

*[{=MODE(IF('N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$A$2:$A$56366=J2,IF('N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$I$2:$I$56366<J1,'N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$M$2:$M$56366)))}*]
 

chrischilton01

New Member
Joined
Jun 9, 2014
Messages
19
Dear me, will try share via dropbox instead, what a ball ache trying to paste in to here is...
 
Last edited:

Dreadknight Nasus

Board Regular
Joined
Jun 3, 2013
Messages
241
Nope, it should look like this
Rich (BB code):
{=MODE(IF('N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$A$2:$A$56366=J2,IF('N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$I$2:$I$56366
 

chrischilton01

New Member
Joined
Jun 9, 2014
Messages
19
Code:
[COLOR=#333333]{=MODE(IF('N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$A$2:$A$56366=J2,IF('N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$I$2:$I$56366<J1,'N:\Hotel Contracts\Public\Dynamic Inventory\Chris\Cases\[Jan12_May14_Closed_Cases.xlsx]report1401715985583'!$M$2:$M$56366)))[/COLOR]}code]
 

Forum statistics

Threads
1,140,933
Messages
5,703,239
Members
421,287
Latest member
Ravi bhatia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top