How do you apply criteria in order of preference?

  • Thread starter Thread starter DLL
  • Start date Start date
D

DLL

For example:

1.If bad number is submitted
2. If any score is 500
3.If any score is below 100
4. If two column's average 200...

I can do the formula's to give the above information but I do not know how
to apply the above in order of preference as in 1, 2, 3, 4 (above) Thanks for
any help
 
One way;

=IF(NOT(ISNUMBER(TEST)),"Entry error",IF(TEST=500,"SCORE = 500",IF(TEST<100,
"Score is less than 100",IF(AVERAGE(TEST)=200,"Average is 200","Something
Else"))))

*Note that excel has a limit of seven nested statements.
Hope this helps.
DK
 
Hi,

are you writing a formula, creating a criteria for a filter, or creating a
conditional format or data validation? Or maybe you are writing a macro?
What do you mean by order of preference? if bad number is submitted what do
you want to do. And what do you want to do if each of the three other
conditions succeed or fail? What version of Excel are you using?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top