YOU SAID:
I was overcome with joy when you told me that you were sad
INTO JAPANESE
あなたが悲しいと言ってくれたとき、私は喜びに打ちひしがれました
BACK INTO ENGLISH
When you said you were sad, I was overwhelmed with joy
INTO JAPANESE
あなたが悲しいと言ったら、私は喜びに圧倒されました
BACK INTO ENGLISH
When you said you were sad, I was overwhelmed with joy
That didn't even make that much sense in English.