Median of character values

MartinL

Well-known Member
Joined
Oct 16, 2008
Messages
1,141
Office Version
  1. 365
Platform
  1. Windows
I have a sheet where I need to find the average score over time for a category
the only scores available are "D", "P", "L" & "M"

In order to take anomalies out of the equation I think I need to count all scores and display only the Score that has the highest count, I'm not sure what I will do with any duplicate highest scores yet :confused:

Can anyone point me in the right direction....

Sheet1

*ABCDEFGH
Student NameTerm 1Term 2Term 3Term 4Term 5Term 6Expected Answer
Student 1PDDPDD

<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]

</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Re: Mode of character values

I have a sheet where I need to find the average score over time for a category
the only scores available are "D", "P", "L" & "M"
Actually I think this is Mode not Median :banghead:
 
Last edited:
Upvote 0
Re: Mode of character values

[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD]
[TD]
B
[/TD]
[TD]
C
[/TD]
[TD]
D
[/TD]
[TD]
E
[/TD]
[TD]
F
[/TD]
[TD]
G
[/TD]
[TD]
H
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]Student Name[/TD]
[TD]Term 1[/TD]
[TD]Term 2[/TD]
[TD]Term 3[/TD]
[TD]Term 4[/TD]
[TD]Term 5[/TD]
[TD]Term 6[/TD]
[TD]Expected Answer[/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]Student 1[/TD]
[TD]P[/TD]
[TD]D[/TD]
[TD]D[/TD]
[TD]P[/TD]
[TD]D[/TD]
[TD][/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]


h2=INDEX(B2:G2,MODE(IF(ISTEXT(B2:G2),MATCH(B2:G2,B2:G2,0)))) control+shift+enter
 
Upvote 0
Re: Mode of character values

Ohhhhh, that's cool..... Thanks MARZIOTULLIO
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

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