pranamu

Board Regular
Joined
Nov 2, 2011
Messages
56
Hi expertise,

I have 5 different values to be used in multiple cells. if cells contain all the value then, Unsatisfactory to be shown.
if cells contains all value except unsatisfactory then Inconsistent to be shown.
If cells contains all value except Unsatisfactory and Inconsistent then Effective to be shown. so on...

Exceptional
Excellent
Effective
Incosistent
Unsatisfactory

Please can you write a formula with if or any other formula you can suggest would be great help:)

<colgroup><col></colgroup><tbody>
</tbody>
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Is this what you mean?
Formula in A2 copied down

=CHOOSE(COUNTA(B2:F2),"Exceptional","Excellent","Effective","Inconsistent","Unsatisfactory")

Grade is cell A1, data is in columns B:F starting in cell B2

Grade
UnsatisfactoryExceptionalExcellentEffectiveInconsisitentUnsatisfactory
InconsistentExcellentEffectiveInconsisitentUnsatisfactory
EffectiveEffectiveInconsisitentUnsatisfactory
ExcellentInconsisitentUnsatisfactory
ExceptionalUnsatisfactory

<tbody>
</tbody>
 
Last edited:
Upvote 0
Or is it like this?


Book1
ABCDEF
1Grade
2ExceptionalExcellentEffectiveInconsistentUnsatisfactoryUnsatisfactory
3ExceptionalExcellentEffectiveInconsistentExceptionalInconsistent
4ExceptionalExcellentEffectiveEffectiveExcellentEffective
5ExceptionalExcellentExceptionalExcellentExceptionalExcellent
6ExceptionalExceptionalExceptionalExceptionalExceptionalExceptional
Sheet2
Cell Formulas
RangeFormula
F2{=INDEX({"Exceptional","Excellent","Effective","Inconsistent","Unsatisfactory"},MAX(IFERROR(MATCH({"Exceptional","Excellent","Effective","Inconsistent","Unsatisfactory"},$A2:$E2,0),0)))}
Press CTRL+SHIFT+ENTER to enter array formulas.


WBD
 
Upvote 0
Or a non-array formula which returns the same as post above by @wideboydixon

=IF(COUNTA($D2:$F2)=0,"",IF(COUNTIF($D2:$F2,"Unsatisfactory")>0,"Unsatisfactory",IF(COUNTIF($D2:$F2,"Inconsisitent")>0,"Inconsisitent",IF(COUNTIF($D2:$F2,"Effective")>0,"Effective",IF(COUNTIF($D2:$F2,"Excellent")>0,"Excellent","Exceptional"))
 
Upvote 0
Or a non-array formula which returns the same as post above by @wideboydixon

=IF(COUNTA($D2:$F2)=0,"",IF(COUNTIF($D2:$F2,"Unsatisfactory")>0,"Unsatisfactory",IF(COUNTIF($D2:$F2,"Inconsisitent")>0,"Inconsisitent",IF(COUNTIF($D2:$F2,"Effective")>0,"Effective",IF(COUNTIF($D2:$F2,"Excellent")>0,"Excellent","Exceptional"))



This formula worked as expected. Thank you so much for your support, really appreciated much!
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

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