• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Distributing data on a matrix

Eyas Hawashin

New Member
Hi, I will appreciate all the help I can get on the attached file. Thanks in advance.

Eyas
 

Attachments

  • Distributing Data on a Matrix.xlsx
    13.3 KB · Views: 11
... but how about a job that got 5 complexity and 4 effect for example, will it be placed in box 5 or 6?

I'm going to make this a bit easier (or maybe harder!) for you: if YOU can't work out what the results should be, you won't be able to programme Excel to do it for you. It doesn't do fuzzy logic, so you are going to need to give it rules by which it can determine where those entries should go.

Here's another bit of help: using phrases like "it is clear" is not advisable, as it may not be at all clear to those trying to help you. You have to explain WHY it is clear so that others understand your thought processes.
I need excel to place them in the 9 box matrix using a scientifc approach.

Precisely!

I hope this helps. :)
 
Excel can do the math

But

You need to define the rules!

I'd suggest a helper Column

D2: =(1+INT((B2-1)/3))*(1+INT((C2-1)/3)) copy down

That will tell you which box each goes into according to your matrix
 
Then add columns for X and Y values
then chart them
upload_2018-2-17_22-13-28.png
I have added random numbers to the X & Y values so they aren't all on top of each other
Even though a Job will shift it stays in the same 1 - 9 box


But hey I don't have any rules to tell me what not to do!
 

Attachments

  • Distributing Data on a Matrix.xlsx
    25.6 KB · Views: 9
Excel can do the math

But

You need to define the rules!

I'd suggest a helper Column

D2: =(1+INT((B2-1)/3))*(1+INT((C2-1)/3)) copy down

That will tell you which box each goes into according to your matrix
Thanks a lot, I tried your formula, the result exceeded 9, the maximum box number should be 9. Please try on the sheet to see. Can you please explain your formula?
 
upload_2018-2-18_7-45-28.png

1] Adopt Hui's box's number formula from post #.4 in Col D

2] See attached file with 2 helper columns in Col D and Col E of which are hidden by custom format together with distributing data inside 9 boxes

Regards
Bosco
 

Attachments

  • Distributing Data on a Matrix(1).xlsx
    15.6 KB · Views: 18
Last edited:
Haha, Bosco's formulas are often out there. But the one in D is by Hui's hand.
That will tell you which box each goes into according to your matrix
I know too little of even simple maths like this to come up with such things myself, but using the formula Evaluate function in Excel helps me in decoding. You could try that yourself.

The vlookup by Bosco in E is a joy...
Vlookup only returns the 1st value found for a matching search value. This vlookup is used in the 9 boxes to make the "chart".
So... in E the very first time the matrix value shows up, E must already contain all matching job positions. Therefore he looks up the same matrix value in the rest of column E. See this relative reference A2 & IFERROR(", "&VLOOKUP(H2,H3:I$52,2,0),"")
To make the result string it is concatenated "&" with the job position reference in A2.
Iferror is used to replace "N/A" values which vlookup returns when there is no exact match. The replace value is nothing. In fact this vlookup is calculated "bottom up".
 
Haha, Bosco's formulas are often out there. But the one in D is by Hui's hand.

I know too little of even simple maths like this to come up with such things myself, but using the formula Evaluate function in Excel helps me in decoding. You could try that yourself.

The vlookup by Bosco in E is a joy...
Vlookup only returns the 1st value found for a matching search value. This vlookup is used in the 9 boxes to make the "chart".
So... in E the very first time the matrix value shows up, E must already contain all matching job positions. Therefore he looks up the same matrix value in the rest of column E. See this relative reference A2 & IFERROR(", "&VLOOKUP(H2,H3:I$52,2,0),"")
To make the result string it is concatenated "&" with the job position reference in A2.
Iferror is used to replace "N/A" values which vlookup returns when there is no exact match. The replace value is nothing. In fact this vlookup is calculated "bottom up".
OMG. Thanks so much for both of you. Okay, I created a new and fresh sheet and defined the rules. Can you please enter the right formulas so that I understand the thing. The new sheet is simple, I am sure it will be a 5 minutes job of your valuable time. Thanks a lot.
 

Attachments

  • Book2.xlsx
    468.7 KB · Views: 6
@Eyas Hawashin

I have adopted the excellent VLOOKUP by @bosco_yip to create this. I have not bothered filling the last sheet. This is easily achieved by another set of lookups. May be you should take this up as a learning task and write the formulas.

All said and done, I think this is a lousy way to present such data. Given the fact that half of the matrix is empty and few cells are over-crowded, a simple table with color coding and sorting could do a better job of explaining how tricky each position is.
 

Attachments

  • Book2 (1).xlsx
    923.2 KB · Views: 10
Haha, Bosco's formulas are often out there. But the one in D is by Hui's hand.

I know too little of even simple maths like this to come up with such things myself, but using the formula Evaluate function in Excel helps me in decoding. You could try that yourself.

The vlookup by Bosco in E is a joy...
Vlookup only returns the 1st value found for a matching search value. This vlookup is used in the 9 boxes to make the "chart".
So... in E the very first time the matrix value shows up, E must already contain all matching job positions. Therefore he looks up the same matrix value in the rest of column E. See this relative reference A2 & IFERROR(", "&VLOOKUP(H2,H3:I$52,2,0),"")
To make the result string it is concatenated "&" with the job position reference in A2.
Iferror is used to replace "N/A" values which vlookup returns when there is no exact match. The replace value is nothing. In fact this vlookup is calculated "bottom up".
Haha, Bosco's formulas are often out there. But the one in D is by Hui's hand.

I know too little of even simple maths like this to come up with such things myself, but using the formula Evaluate function in Excel helps me in decoding. You could try that yourself.

The vlookup by Bosco in E is a joy...
Vlookup only returns the 1st value found for a matching search value. This vlookup is used in the 9 boxes to make the "chart".
So... in E the very first time the matrix value shows up, E must already contain all matching job positions. Therefore he looks up the same matrix value in the rest of column E. See this relative reference A2 & IFERROR(", "&VLOOKUP(H2,H3:I$52,2,0),"")
To make the result string it is concatenated "&" with the job position reference in A2.
Iferror is used to replace "N/A" values which vlookup returns when there is no exact match. The replace value is nothing. In fact this vlookup is calculated "bottom up".
Thanks so much to you and to Bosco :)
 
Back
Top