Breakdown of Sie hat mir leider nicht helfen können, aber ihr Rat war deutlich.
sein
to be
nicht
not
aber
but
können
can
Questions & Answers about Sie hat mir leider nicht helfen können, aber ihr Rat war deutlich.
Is Sie here “she” or formal “you”?
Context decides. Here it’s most likely she, because later we see ihr Rat with a lowercase ihr = “her.” If it were formal “your,” it would be capitalized: Ihr Rat. Note that sentence-initial Sie is always capital, so it alone doesn’t disambiguate.
Why mir and not mich after helfen?
Because helfen governs the dative: jemandem helfen. Hence mir (to me), not mich (me). Other common dative verbs include danken, folgen, glauben, gefallen, passen, vertrauen.
What’s going on with hat … nicht helfen können (double infinitive at the end)?
It’s the Perfekt (present perfect) of a modal verb:
Can I simply say Sie konnte mir leider nicht helfen instead?
Yes. That’s Präteritum (simple past) and is very common—often preferred in speech for modal verbs. Both versions are correct; choose based on style/region/context.