"Ganz gut soweit und dir selbst" would be the reply to the question "Wie gehts" or "Wie geht es dir?".
"Wie gehts" or "Wie geht es dir" translates as "How are you" (informal).
"Ganz gut soweit und dir selbst" translates as "fine thank you and how are you".
So the dialogue would be:
Informal:
"Wie geht`s?" "Ganz gut soweit und dir (selbst)?" (the word "selbst" is not necessary but not wrong though)
Formal:
"Wie geht es Ihnen?" "Ganz gut soweit und Ihnen?" (the word "selbst" would sound a little bit strange here).