What you are asking for is an injective (or even more, bijective) function from $\mathbb{R}^2$ to $\mathbb{R}.$
In general, there are many ones because it can be shown that they have the same cardinality (see Hagen von Eitzen's brilliant answer).
But it can also be shown that there are not continuous ones.
Indeed, consider the unit circle $S^1$ centered in the origin, and the restriction of $f$ to the circle: it is a continuous function on a compact set, so it has a point of maximum, say $M$, such that $f(M)\geq f(x) \ \forall x \in S^1$ and a point of minimum, say $m$. Clearly they're not the same, because otherwise we obtain the whole circle with the same value, against the hypotheses on $f$.
So, because they're different you can joint them with two different arcs of the unit circle. On these arcs, by the intermediate value property, we can surely find two different points $c$ and $c'$ such that $f(c)-f(c')=\frac{f(M)+f(m)}2.$
This goes against the hypothesis of the injective function $f$.
If you're interested in this kind of theorems, you can read the Borsuk-Ulam theorem: it's not really easy to prove but it's great.