Here's a breakdown:
"Whoever" as subject:
* Whoever wants to go on the trip can sign up here. ("Whoever" is the subject of the verb "wants")
"Whomever" as object:
* I will give the prize to whomever wins the competition. ("Whomever" is the object of the preposition "to")
How to determine subject vs. object:
* Subject: The person or thing performing the action.
* Object: The person or thing receiving the action.
Here are some helpful tips:
* Try substituting "he/she" or "him/her": If you can use "him" or "her," use "whomever." If you can use "he" or "she," use "whoever."
* Look for prepositions: Words like "to," "for," "with," "by," "from" often indicate the object of the preposition.
Example:
* Incorrect: "Give the award to whomever deserves it." (Incorrect because "whomever" is the subject of the verb "deserves")
* Correct: "Give the award to whoever deserves it." ("Whoever" is the subject of the verb "deserves")
Let me know if you have any other grammar questions!