Rank IF

noletwin1

New Member
Joined
May 17, 2013
Messages
25
I need to rank employees based on Product % and what their feeling they are in. I want to rank all the happy and only happy or rank all the content.

Employee001002003004007008011012021024026032033037038041042043047049050052053055056058060062064067072074075076077078080081083088089090091099101104106125132133140143155156157159161165172199220221222224245248251252254255256257258259264266267269270273274276277278279281282283285286287288289290291
FeelingHappyHappyHappyHappyContentHappyHappyHappyHappySadHappyContentContentHappyHappyHappyHappyHappyHappyContentHappySadHappyHappySadHappyHappySadHappyHappyHappyHappyHappyHappyContentSadHappyHappyHappyHappyHappyHappyHappySadSadHappyContentSadContentContentContentHappyHappyHappyContentHappyContentSadHappyOtherHappySadContentContentHappySadSadSadContentUpsetUpsetContentUpsetUpsetUpsetUpsetSadUpsetContentUpsetUpsetUpsetUpsetUpsetUpsetUpsetContentUpsetUpsetUpsetUpsetUpsetUpsetUpsetUpset
Product %22%1%2%20%21%2%3%5%13%1%7%5%3%5%7%7%4%1%1%4%3%3%2%11%1%6%3%3%15%12%1%6%4%8%6%4%1%10%5%1%1%11%25%14%3%17%3%0%3%6%8%7%6%10%2%6%17%14%6%19%0%0%1%4%3%3%0%0%30%23%29%15%25%54%10%16%14%15%39%23%24%24%29%17%34%30%30%21%39%23%17%19%15%13%30%
Happy Rank

<colgroup><col><col span="95"></colgroup><tbody>
</tbody>
Content Rank
Sad Rank
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Maybe:

ABCDEFGHIJKLM
1Employee123478111221242632
2FeelingHappyHappyHappyHappyContentHappyHappyHappyHappySadHappyContent
3Product %22%1%2%20%21%2%3%5%13%1%7%5%
4Happy234313312722613
5Content410
6Sad9

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet5

Array Formulas
CellFormula
B4{=IF(B$2=$A4,MIN(IF(B$3=LARGE(IF($B$2:$CS$2=$A4,$B$3:$CS$3,""),ROW(INDIRECT("1:"&COUNTIF($B$2:$CS$2,$A4)))),ROW(INDIRECT("1:"&COUNTIF($B$2:$CS$2,$A4))))),"")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0
Or

Put in A4:A6 just the keywords, Happy, Content and Sad


A
B
4
Happy​
2​
5
Content​
6
Sad​

Formula in B4
=IF(B$2=$A4,COUNTIFS($B$3:$CS$3,">"&B$3,$B$2:$CS$2,$A4)+1,"")

copy across and down

M.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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