This question already has an answer here:
I say that "whoever" is the correct grammatical choice in the following sentence:
Give the raise to the hardest-working employee, whoever/whomever that may be.
I say "whoever" is correct. The reason is that, when we isolate the "whoever/whomever" clause ("whomever that may be"), the phrase converts to "It may be he". "It may be he who is the hardest-working employee", not "It may be him who is the hardest-working employee". Thus, I believe "whoever" is the correct choice here. Am I right? And is my explanation in determining "whoever" on point?
This question is different because the "whoever" clause is at the end of the sentence.