〜ようによっては
depending on how (you look at it / do it)
Verb ます-stem + ようによっては
Sign up free to review this point on a spaced schedule.
ようによっては means "depending on how": 考えようによっては、これはチャンスだ, "depending on how you look at it, this is a chance". よう is "way, manner", the same as in ようがない (N2).
It attaches to a ます-stem: 考えよう, 見よう, 言いよう, やりよう, 使いよう. The second half is a possibility that opens up if you approach it the right way.
It's often used to reframe things positively, or to warn that something can come across badly: 言いようによっては、失礼に聞こえる, "depending on how you put it, it can sound rude".
The set phrase 物は考えよう means "it all depends on how you look at it".
Examples
考えようによっては、これはチャンスだ。
Depending on how you look at it, this is a chance.
見ようによっては、猫の顔に見える。
Looked at a certain way, it looks like a cat's face.
言いようによっては、失礼に聞こえる。
Depending on how you put it, it can sound rude.
やりようによっては、一日で終わる。
Done the right way, it could be finished in a day.
使いようによっては、便利な道具だ。
Used the right way, it's a handy tool.