Designation of various cells

wizardmagu

Board Regular
Joined
Dec 27, 2012
Messages
58
Office Version
  1. 365
Platform
  1. Windows
Based on data in many cells I will be designating the columns into the following categories:
*Type 1
*Type 2
*Type 3
*Type 4
A single row in excel will have multiple columns of various designations of the above types and I want to pick designate the entire row to the lowest Type from list above.

For example if Row 1 has:
A B C D
Row 1 Type 1 Type 1 Type 3 Type 2 Then the final output of this row of data will be Type 3 (in column/row E1) because that is the lowest type available from the 4 types available.

I am trying to come up with a way to give a "Final" designation. Hope this explanation makes sense.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Do you mean something like this?

ABCDE
1Scores
2Nil
3Low
4Medium
5High
6
7Criterion
81234Overall
9NilNilMediumNilMedium
10LowLowMediumHighHigh
11LowLowLowNilLow
12MediumNilLowNilMedium
Sheet1
Cell Formulas
RangeFormula
E9:E12E9=INDEX(Criteria,MAX(MATCH(A9:D9,Criteria,)))
Named Ranges
NameRefers ToCells
Criteria=Sheet6!$A$2:$A$5E9:E12

You may need to array-enter this formula (i.e. CTRL-SHIFT-ENTER) depending on your version of Excel.

I suggest you update your Account details so we know what version of Excel you're using - the best solution often depending on Excel version.
 
Upvote 0
Yes, this is exactly what I was looking for. I would have not figured this out on my own...

I updated my details for version of Excel.

Thanks again
 
Upvote 0
That's great, I'm glad we could help.

And thanks for updating your account details.
 
Upvote 0
So I ran into a problem if one of the cells in the data section blank because of the if(error(vlookup formula i have there.... Is there a way to add to the formula so it would omit blanks and still use the Scores criteria on the remaining?
 
Last edited:
Upvote 0
Try:

ABCDE
1Scores
2Nil
3Low
4Medium
5High
6
7Criterion
81234Overall
9NilNilMediumMedium
10LowLowMediumHighHigh
11n/a
12MediumMedium
Sheet1
Cell Formulas
RangeFormula
E9:E12E9=IF(COUNTA(A9:D9),INDEX(Criteria,MAX(IFERROR(MATCH(A9:D9,Criteria,),0))),"n/a")
Named Ranges
NameRefers ToCells
Criteria=Sheet5!$A$2:$A$5E9:E12
 
Upvote 0
Solution

Forum statistics

Threads
1,215,497
Messages
6,125,157
Members
449,208
Latest member
emmac

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