* When "yet" is used to mean "but" or "however": In this case, you can use a comma before "yet" to separate the two contrasting ideas.
* Example: "I've been studying hard, yet I still feel unprepared for the exam."
* In a parenthetical phrase: If "yet" is part of a phrase that interrupts the flow of the sentence, you can put commas around it.
* Example: "We're planning to go on vacation, hopefully, in July yet."
However, you do need a comma before "yet" when it's part of a series:
* Example: "We haven't decided on a destination yet, but we're looking at options."
Here are some examples to illustrate the use of commas with "yet":
Comma needed:
* "I'm not finished with my work yet, but I'm making progress."
* "We need to go grocery shopping, yet I'm too tired to go out tonight."
No comma needed:
* "Have you finished your homework yet?"
* "I'm not sure if I'm ready for the exam yet."
Ultimately, the best way to decide whether to use a comma before "yet" is to consider the context and the meaning of the sentence.