Index and Match

swanbrown

New Member
Joined
Aug 3, 2020
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
Hi, i have this employee spreadsheet where i need to find the performance potential based on several criteria i.e. performance rating, attitude and competency.

NoEmployee NamePerformance RatingAttitudeCompetenciesPerformance Potential
1MARCUS LIMA31?
2ELIZABETH TAYLORA+12
3KEVIN COSTNERA-31
4LIM AH LIMB33
5ABDUL PATAHC+14
6LEE KUAN YEWC-11
7NG CHEE KANGB-24
8SADAM HUSSAINB-43
9MOA TSE TUNGB-44

below is the table reference :

1596509383317.png
 

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.
Welcome to MrExcel.
Please provide how you would determine the Performance Potential for those listed -- what's the criteria?
It would also help if you used XL2BB to show your data.
 
Upvote 0
thank you very much for responding.

I am trying to formulate as per example below:

If Marcus Lim has the following:
Performance Rating - A
Attitude - 3
Competencies - 1

based on the table reference above, his performance potential would be B.

I want to attach the sample excel spreadsheet so that it is clearer but i dont know how to.
 
Upvote 0
Could this be it?

Book3
ABCDEFGHIJ
1EmployeePerf RateAttitudeCompetPerf PotAttitudeCompetPerf RatePerf Pot
2MarcusA31B11A+, A, A-A
3ElizabethA+11A12A+, A, A-A
4KevinA-31B21A+, A, A-A
5LimB33Error22A+, A, A-A
6AbdulC+14Error11B+A
7LeeC-11C31A+, A, A-B
8NgB-24D32A+, A, A-B
9SadamB-43Error11B+B
10MoaB-44Error12B+, BB
1113B+, BB
1221B+, BB
1331B+, BC
1421C+C
1522C+C
1611C, C-, D, D-C
1724B-D
1834C+D
1941C+D
2042C+D
2143C+D
2244C+D
2312C, C-, D, D-D
2444C, C-, D, D-D
Sheet1
Cell Formulas
RangeFormula
F2:F10F2=IFERROR(INDEX($J$2:$J$24,SUM(ISNUMBER(SEARCH(C2&",",$I$2:$I$24&","))*(D2=$G$2:$G$24)*(E2=$H$2:$H$24)*ROW($2:$24))-1,1),"Error")
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0
hi thank you so much.

Row 5 - Lim result for performance potential should be C. perhaps i show you the full table reference as per below:

AttitudeCompetencePerformance Rating
Performance Potential
11A+, A, A-A
12A+, A, A-A
21A+, A, A-A
22A+, A, A-A
11B+A
31A+, A, A-B
32A+, A, A-B
11BB
12B+, BB
13B+, BB
21B+, BB
22B+, BB
23B+, BB
31B+, BB
32B+, BB
12B-B
21B-B
22B-B
33B+, BC
41B+, BC
42B+, BC
13B-C
14B-C
23B-C
31B-C
32B-C
41B-C
42B-C
11C+C
12C+C
13C+C
14C+C
21C+C
22C+C
11C, C-, D, D-C
24B-D
33B-D
34B-D
43B-D
44B-D
23C+D
24C+D
31C+D
32C+D
33C+D
34C+D
41C+D
42C+D
43C+D
44C+D
12C, C-, D, D-D
13C, C-, D, D-D
14C, C-, D, D-D
21C, C-, D, D-D
22C, C-, D, D-D
23C, C-, D, D-D
24C, C-, D, D-D
31C, C-, D, D-D
32C, C-, D, D-D
33C, C-, D, D-D
34C, C-, D, D-D
41C, C-, D, D-D
42C, C-, D, D-D
43C, C-, D, D-D
44C, C-, D, D-D
13A+, A, A-Error
23A+, A, A-Error
11B-Error
14A+, A, A-Error
24A+, A, A-Error
33A+, A, A-Error
41A+, A, A-Error
42A+, A, A-Error
14B+, BError
24B+, BError
34A+, A, A-Error
43A+, A, A-Error
44A+, A, A-Error
34B+, BError
43B+, BError
44B+, BError
 
Upvote 0
With the full table, my array formula returns a C for Lim. Replace (in the F column) the 24 to an 82 when you put in the entire table.
If your table is on another sheet, you'll have to change the reference accordingly.

Book3
BCDEF
1EmployeePerf RateAttitudeCompetPerf Pot
2MarcusA31B
3ElizabethA+11A
4KevinA-31B
5LimB33C
6AbdulC+14C
7LeeC-11C
8NgB-24D
9SadamB-43D
10MoaB-44D
11TestC+43D
12Test2D12D
13Test3D11C
14Test4B+31B
15Test5A13Error
Sheet1
Cell Formulas
RangeFormula
F2:F15F2=IFERROR(INDEX($J$2:$J$82,SUM(ISNUMBER(SEARCH(C2&",",$I$2:$I$82&","))*(D2=$G$2:$G$82)*(E2=$H$2:$H$82)*ROW($2:$82))-1,1),"Error")
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Last edited:
Upvote 0
oh my god... thank you soooo much. this really helps. i have been trying to solve this for weeks. had migraines too. i am sooo thankful.
 
Upvote 0
i am sorry to have to bother you again. i copied your formula and data into my excel. but the results for Perf Pot does not return as expected. below is the exact sheet

AttitudeCompetencePerformance Rating
Performance Potential
EmployeePerf RateAttitudeCompetPerf Pot11A+, A, A-A
MarcusA31Error12A+, A, A-A
ElizabethA+11Error21A+, A, A-A
KevinA-31Error22A+, A, A-A
LimB33Error11B+A
AbdulC+14Error31A+, A, A-B
LeeC-11Error32A+, A, A-B
NgB-24Error11BB
SadamB-43Error12B+, BB
MoaB-44Error13B+, BB
TestC+43Error21B+, BB
Test2D12Error22B+, BB
Test3D11Error23B+, BB
Test4B+31A31B+, BB
Test5A13Error32B+, BB
12B-B
this is the formula i keyed for perf pot=IFERROR(INDEX($J$2:$J$82,SUM(ISNUMBER(SEARCH(C3&",",$I$2:$I$82&","))*(D3=$G$2:$G$82)*(E2=$H$2:$H$82)*ROW($2:$82))-1,1),"Error")21B-B
22B-B
33B+, BC
41B+, BC
42B+, BC
13B-C
14B-C
23B-C
31B-C
32B-C
41B-C
42B-C
11C+C
12C+C
13C+C
14C+C
21C+C
22C+C
11C, C-, D, D-C
24B-D
33B-D
34B-D
43B-D
44B-D
23C+D
24C+D
31C+D
32C+D
33C+D
34C+D
41C+D
42C+D
43C+D
44C+D
12C, C-, D, D-D
13C, C-, D, D-D
14C, C-, D, D-D
21C, C-, D, D-D
22C, C-, D, D-D
23C, C-, D, D-D
24C, C-, D, D-D
31C, C-, D, D-D
32C, C-, D, D-D
33C, C-, D, D-D
34C, C-, D, D-D
41C, C-, D, D-D
42C, C-, D, D-D
43C, C-, D, D-D
44C, C-, D, D-D
13A+, A, A-Error
23A+, A, A-Error
11B-Error
14A+, A, A-Error
24A+, A, A-Error
33A+, A, A-Error
41A+, A, A-Error
42A+, A, A-Error
14B+, BError
24B+, BError
34A+, A, A-Error
43A+, A, A-Error
44A+, A, A-Error
34B+, BError
43B+, BError
44B+, BError
 
Upvote 0
i managed to download XL2BB. below is the sheet

need help.xlsx
ABCDEFGHIJ
1AttitudeCompetencePerformance RatingPerformance Potential
2EmployeePerf RateAttitudeCompetPerf Pot11A+, A, A-A
3MarcusA31Error12A+, A, A-A
4ElizabethA+11Error21A+, A, A-A
5KevinA-31Error22A+, A, A-A
6LimB33Error11B+A
7AbdulC+14Error31A+, A, A-B
8LeeC-11Error32A+, A, A-B
9NgB-24Error11BB
10SadamB-43Error12B+, BB
11MoaB-44Error13B+, BB
12TestC+43Error21B+, BB
13Test2D12Error22B+, BB
14Test3D11Error23B+, BB
15Test4B+31A31B+, BB
16Test5A13Error32B+, BB
1712B-B
1821B-B
1922B-B
2033B+, BC
2141B+, BC
2242B+, BC
2313B-C
2414B-C
2523B-C
2631B-C
2732B-C
2841B-C
2942B-C
3011C+C
3112C+C
3213C+C
3314C+C
3421C+C
3522C+C
3611C, C-, D, D-C
3724B-D
3833B-D
3934B-D
4043B-D
4144B-D
4223C+D
4324C+D
4431C+D
4532C+D
4633C+D
4734C+D
4841C+D
4942C+D
5043C+D
5144C+D
5212C, C-, D, D-D
5313C, C-, D, D-D
5414C, C-, D, D-D
5521C, C-, D, D-D
5622C, C-, D, D-D
5723C, C-, D, D-D
5824C, C-, D, D-D
5931C, C-, D, D-D
6032C, C-, D, D-D
6133C, C-, D, D-D
6234C, C-, D, D-D
6341C, C-, D, D-D
6442C, C-, D, D-D
6543C, C-, D, D-D
6644C, C-, D, D-D
6713A+, A, A-Error
6823A+, A, A-Error
6911B-Error
7014A+, A, A-Error
7124A+, A, A-Error
7233A+, A, A-Error
7341A+, A, A-Error
7442A+, A, A-Error
7514B+, BError
7624B+, BError
7734A+, A, A-Error
7843A+, A, A-Error
7944A+, A, A-Error
8034B+, BError
8143B+, BError
8244B+, BError
Sheet2
Cell Formulas
RangeFormula
F3:F16F3=IFERROR(INDEX($J$2:$J$82,SUM(ISNUMBER(SEARCH(C3&",",$I$2:$I$82&","))*(D3=$G$2:$G$82)*(E2=$H$2:$H$82)*ROW($2:$82))-1,1),"Error")


what am i doing wrong here please.
 
Upvote 0
26Aug19.xlsx
BCDEFGHIJK
1EmployeePerf RateAttitudeCompetPerf PotAttitudeCompetencePerformance RatingPerformance Potential
2MarcusA31B11A+, A, A-A
3ElizabethA+11A12A+, A, A-A
4KevinA-31B21A+, A, A-A
5LimB33C22A+, A, A-A
6AbdulC+14C11B+A
7LeeC-11C31A+, A, A-B
8NgB-24D32A+, A, A-B
9SadamB-43D11BB
10MoaB-44D12B+, BB
11TestC+43D13B+, BB
12Test2D12D21B+, BB
13Test3D11C22B+, BB
14Test4B+31B23B+, BB
15Test5A13Error31B+, BB
1632B+, BB
1712B-B
1821B-B
1922B-B
2033B+, BC
2141B+, BC
2242B+, BC
2313B-C
2414B-C
2523B-C
2631B-C
2732B-C
2841B-C
2942B-C
3011C+C
3112C+C
3213C+C
3314C+C
3421C+C
3522C+C
3611C, C-, D, D-C
3724B-D
3833B-D
3934B-D
4043B-D
4144B-D
4223C+D
4324C+D
4431C+D
4532C+D
4633C+D
4734C+D
4841C+D
4942C+D
5043C+D
5144C+D
5212C, C-, D, D-D
5313C, C-, D, D-D
5414C, C-, D, D-D
5521C, C-, D, D-D
5622C, C-, D, D-D
5723C, C-, D, D-D
5824C, C-, D, D-D
5931C, C-, D, D-D
6032C, C-, D, D-D
6133C, C-, D, D-D
6234C, C-, D, D-D
6341C, C-, D, D-D
6442C, C-, D, D-D
6543C, C-, D, D-D
6644C, C-, D, D-D
6713A+, A, A-Error
6823A+, A, A-Error
6911B-Error
7014A+, A, A-Error
7124A+, A, A-Error
7233A+, A, A-Error
7341A+, A, A-Error
7442A+, A, A-Error
7514B+, BError
7624B+, BError
7734A+, A, A-Error
7843A+, A, A-Error
7944A+, A, A-Error
8034B+, BError
8143B+, BError
8244B+, BError
Sheet3
Cell Formulas
RangeFormula
F2:F15F2=INDEX(K$2:K$82,AGGREGATE(15,6,(ROW(K$2:K$82)-ROW(K$2)+1)/(ISNUMBER(SEARCH(C2&",",J$2:J$82&","))*(D2=H$2:H$82)*(E2=I$2:I$82)),1))
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,592
Members
449,089
Latest member
Motoracer88

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