"up to you" is informal. Can anyone give me a formal expression delivering the same meaning?
We need the context.
It can mean that it's your choice, your responsibility, or possibly something else.
What is the full sentence and/or the situation?
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.