What is the meaning of 看在 and 分上?
看在
ABC

2 be for the sake of ...
看在你爸的面子上, 我原谅你。
Kànzài nǐ bà de miànzi shàng, wǒ yuánliàng nǐ.
For the sake of your father's face, I forgive you.

份上
Guifan

2 名 情分; 情面
看在老人的份上, 我不再跟他计较。
(口语中也说份儿上。)

Which basically translates to feelings, sensibilities, affections.
for the sake of, for sb.'s/sth.'s sake
ABC ENGLISH

wèile ( ... de lìyì) 为了(…的利益) ; kànzài ... de fèn shang 看在…的份上
We must do this for the sake of the children.
为了孩子,我们必须做这件事。
Wèile háizi, wǒmen bìxū zuò zhè jiàn shì.

So now we have our 看在…的份上 construct meaning roughly the equivalent of &quot;for the sake of, for sb.'s/sth.'s sake&quot; where 看在 means &quot;for the sake&quot; and &quot;份上&quot; means feelings or sensibilities.
You can stick anything in the middle for the &quot;who's&quot; sake/sensibilities/feelings/etc.
Some examples: (from Oxford)

for God's sake
看在上帝的分上



for Pete's sake!
看在老天的份上！



for heaven's sake
看在上帝的份上