MODE for Text including Count IF...HELP!

apatheticrory

New Member
Joined
Jul 27, 2017
Messages
6
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
YearQ1April
Busiest TeamA
Most Common NatB
Most Common Nat exc GBR
Most Common Nat (Alpha Team)
Most Common Nat exc GBR (Alpha Team)
Most Common Nat (Bravo Team)
Most Common Nat exc GBR (Bravo Team)
Most Common Nat (Charlie Team)
Most Common Nat exc GBR (Charlie Team)

<tbody>
</tbody>


The Cell in which i have entered A contains the following formula:

Code:
=INDEX(Data!D2:D20,MATCH(MAX(COUNTIF(Data!D2:D20,Data!D2:D20)),COUNTIF(Data!D2:D20,Data!D2:D20),0))

The cell in which i have entered B contains the same but with the Column changed to incorporate the Nationality not the Team.

The data on which this is produced is a simple sheet as follows:

DateQuarterMonthTeamNationality
01/01/201741AlphaGBR
01/04/201714CharlieUSA

<tbody>
</tbody>

</body>Hopefully someone can help me fill in the blank cells in the below table? I am trying to create a sheet to collate application stats for a few teams....


YearQ1April
Busiest TeamA
Most Common NatB
Most Common Nat exc GBR
Most Common Nat (Alpha Team)
Most Common Nat exc GBR (Alpha Team)
Most Common Nat (Bravo Team)
Most Common Nat exc GBR (Bravo Team)
Most Common Nat (Charlie Team)
Most Common Nat exc GBR (Charlie Team)

<tbody>
</tbody>


The Cell in which i have entered A contains the following formula:

Code:
[COLOR=#333333]=INDEX(Data!D2:D20,MATCH(MAX(COUNTIF(Data!D2:D20,Data!D2:D20)),COUNTIF(Data!D2:D20,Data!D2:D20),0))[/COLOR]

The cell in which i have entered B contains the same but with the Column changed to incorporate the Nationality not the Team.


The data on which this is produced is a simple sheet as follows:

DateQuarterMonthTeamNationality
01/01/201741AlphaGBR
01/04/201714CharlieUSA

<tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try to post input which correlates to the output that is desired. Try also to avoid describing the problem to solve by means of Excel formulas.
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,827
Members
449,190
Latest member
rscraig11

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
Back
Top