Can someone get this formula to work?

Status
Not open for further replies.

mrmcleod6772

New Member
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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the \$ sign).
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.

Status
Not open for further replies.

Replies
1
Views
99
Replies
2
Views
349
Replies
3
Views
482
Replies
0
Views
583
Replies
2
Views
456

1,218,560
Messages
6,143,202
Members
450,469
Latest member
brent3162

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.

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

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