I wrote:

In my case with the same problem the following solution worked!

Is it correct to use "with" for "in my case"? I am trying to say:

I had the same problem and in my case, the following solution worked.

But I am actually looking for a shorter way to say this sentence. or

In my case, having the same problem the following solution worked!

  • 1
    I don't understand completely what you're trying to say. Do you mean, "I had the same kind of problem as this. The following solution worked for me."?
    – stangdon
    Nov 12 '15 at 12:37
  • 2
    Perhaps "with" is not the best preposition to use. "In my case of the same problem", or "When I was solving/faced with the same problem...", or even "In my case, for the same problem..." Nov 12 '15 at 13:35
  • Set off the "In my case" with a comma. Then if the rest by itself makes sense it should be OK. Meaning if you write "With the same problem the following solution worked!", is it grammatical?
    – user3169
    Nov 12 '15 at 17:31
  • @stangdon yes, I modified my question to say that.
    – Ahmad
    Nov 12 '15 at 18:14
  • 1
    Your longer sentence is fine (the one after "I am trying to say..."), your shorter one, not. You could say "In a similar situation, the following worked for me..." Nov 12 '15 at 21:46

In my case is generally used to refer to some situation that has been mentioned in previous sentences (see because of the mentioned situation), so you don't need to repeat the the same problem.

Person A: Have you ever had this problem?
Person B: Yes, and this solution worked in my case.

If you want to explicitly say that you had the same problem and that this solution worked, all in the same sentence, it would be better to drop in my case and express it like this:

I had the same problem and the following solution worked for me.


Yes, "with" has been used in the correct context within the sentence you have used. but it's rare in written language based on Webster, but of course we can use it a lot in speaking language.

  • Welcome to ELL, Armin. We expect answers to be backed up by references. "rare in written language"... do you have any evidence for this? Here is an Ngram that shows that "with the same problem" is pretty common. books.google.com/ngrams/…
    – JavaLatte
    Sep 9 '16 at 12:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .