Creating a matrix to display data according to scoring

susom

Board Regular
Joined
Aug 3, 2011
Messages
55
Office Version
  1. 365
Platform
  1. Windows
I have a list of items and data that I need to map into a 3 by 3 cell matrix, and I am struggling to find a way to do this so that the items and data can be changed and matrix would be updated based on the new items/data.

Here is the sample of what I am looking to accomplish. I would want the matrix of Rating by Durability to be populated by the Units listed under the Item colum according to each item's Rating and Durability. How might I go about doing this?

Book1
BCDE
2StrongModerateWeak
3BestUnit 1Unit 4
4BetterUnit 5Unit 2Unit 6
5GoodUnit 7 Unit 8Unit 3 Unit 9
6
7ItemRatingDurability
8Unit 1BestStrong
9Unit 2BetterModerate
10Unit 3GoodWeak
11Unit 4BestModerate
12Unit 5BetterStrong
13Unit 6BetterWeak
14Unit 7GoodModerate
15Unit 8GoodModerate
16Unit 9GoodWeak
Sheet1
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
(edit: I just realized you seek multiple entries, i've deleted by suggestion.

What version of excel do you have. Please update your profile so it appears on your button and forum doesn't need to ask you every time.
The reason is that versions of excels may have features unavailable to other people.
 
Upvote 0
This gets multiple entries, although there is an extra line after every duplicate record.

Book1
ABCDEFGHIJKL
1StrongModerateWeak
2BestUnit 1Unit 4
3BetterUnit 5Unit 2Unit 6
4GoodUnit 7 Unit 8Unit 3 Unit 9
5
6ItemRatingDurabilityStrongModerateWeak
7Unit 1BestStrongBestUnit 1 Unit 4  
8Unit 2BetterModerateBetterUnit 5 Unit 2 Unit 6
9Unit 3GoodWeakGood Unit 7 Unit 8 Unit 3 Unit 9
10Unit 4BestModerate
11Unit 5BetterStrong
12Unit 6BetterWeak
13Unit 7GoodModerate
14Unit 8GoodModerate
15Unit 9GoodWeak
Sheet4
Cell Formulas
RangeFormula
G7:I9G7=CONCAT(IFERROR(INDEX($B$7:$B$15, IFERROR((1/($C$7:$C$15=$F7)/($D$7:$D$15=G$6)),"")*(ROW($B$7:$B$15)-ROW($B$7)+1),1)&CHAR(10),""))
 
Upvote 0
Solution
Thank you so much for this! I was thinking some combo of concatenate and index might do it. I will analyze this to make sure I understand how it's working. FWIW, I have a subscription to Office 365, and will try to figure out how to update that in my profile.
 
Upvote 0
Well, i get pretty much the same using TEXTSPLIT(TEXTJOIN())
I guess you could use either.

I could not get FILTER function to group the multiple items in one cell. Maybe someone will add that. But you have some working formulas, I think.


Book1
FGHI
6StrongModerateWeak
7BestUnit 1 Unit 4  
8BetterUnit 5 Unit 2 Unit 6
9Good Unit 7 Unit 8 Unit 3 Unit 9
Sheet4
Cell Formulas
RangeFormula
G7:I9G7=TEXTJOIN(,TRUE,(IFERROR(INDEX($B$7:$B$15, IFERROR((1/($C$7:$C$15=$F7)/($D$7:$D$15=G$6)),"")*(ROW($B$7:$B$15)-ROW($B$7)+1),1)&CHAR(10),"")))
 
Upvote 0
I have a follow on question to this solution. How might I go about using the CHAR(10) twice to create a larger blank space between the Units? I've been experimenting, but what I have tried has either resulted in the cell going blank, or an error in the formula...
 
Upvote 0
Never mind; I got it--an extra &CHAR(10) did the trick.

=TEXTJOIN(,TRUE,(IFERROR(INDEX($B$7:$B$15,
IFERROR((1/($C$7:$C$15=$F7)/($D$7:$D$15=G$6)),"")*(ROW($B$7:$B$15)-ROW($B$7)+1),1)&CHAR(10)&CHAR(10),"")))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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