Can someone get this formula to work?

Status
Not open for further replies.

mrmcleod6772

New Member
Joined
Feb 12, 2019
Messages
1
Hello...My name is Nathan, and I am trying to get the following formula to work. I simply want to assign full credit(2 points), partial credit credit(1 point) and no credit(0 points) for the given criteria:

=IF(L4="","",IF(AND(ISNUMBER(SEARCH("minimum",L4)),ISNUMBER(SEARCH("maximum",L4)),ISNUMBER(SEARCH("range",L4)),ISNUMBER(SEARCH({"mean","median","mean absolute deviation","interquartile range"},L4)),1,IF(AND(ISNUMBER(SEARCH("minimum",L4)),ISNUMBER(SEARCH("maximum",L4)),ISNUMBER(SEARCH("range",L4)),NOT(ISNUMBER(SEARCH({"mean","median","mean absolute deviation","interquartile range"},L4)))),2,0))
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Welcome to the MrExcel Board.

It might be easier if you could explain what you're trying to do without showing a formula that doesn't work. It appears that you want to give partial credit if all of certain terms are found in L4. And you want to give full credit if certain terms are included, but certain other terms are excluded?

This looks like it might be for a stats class. But you have to be careful - you can have some unintended consequences. If you want to exclude "mean", but someone writes "this means I need to use the median", your results could be wrong.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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