Fetching details from the dictionary...
way; destination; reason
途方とほうに暮れくれてしまった。
I was at a complete loss.
途方とほうもない金額きんがくを請求せいきゅうされた。
I was charged an outrageous amount.
引っ越しひっこし先さきが見つからみつからず途方とほうに暮れくれて友人ゆうじんに相談そうだんした。
Unable to find a new place, I was at a loss and consulted a friend.