Can you say

Como Le va to mean what's going on with you the formal way?

I prefer "¿Qué pasa?", but I don't know if that would be formal.

You might try "¿Cómo lo pasa Vd?"

saying ''que pasa'' to a person older than you can be taken as rude. In the vase they are in trouble you can ask ''que pasa''

but Como le va is correct.

To say "What's going on with you?" in a formal way in Spanish, you can use the phrase "¿Cómo le va?" Here is the explanation of each component:

1. "¿Cómo" - This means "how."
2. "le" - This is the formal indirect object pronoun for "you."
3. "va" - It is the third-person singular form of the verb "ir," which means "to go" in this context.

To form the question, you combine these components into the phrase "¿Cómo le va?" This phrase is commonly used to address someone formally and ask about their well-being or what is happening with them.