thank you?

if someone say ‘condolence’ to you
is it right to say ‘thank you.’
i’m confused with what to reply to those who ‘greeted'(?) us with condolence. (i’m referring to my previous post)
how about peace be with you? kidding.
but really, ‘thank you’ ba ang sakto tubag sa condolence?
just like with happy  birthday.