This equation vs focal axis parallel to -axis, is only modified in that and have their roles interchanged, and therefore, they will have the coefficients in the denominator interchanged.
Let's see the demonstration:
The focal axis is now parallel to the axis, and therefore the foci are at points and .
Applying now the general definition we obtain
We move one of the roots to the other side and we square both sides:
Simplifying both sides, we obtain:
We clear the square root and we square the whole expression:
Then divide by to obtain 1 on the right:
By definition we have , and thus can be replaced and we obtain:
.

Example
Determine the equation of an ellipse with center at the point and with a focus at the point . We also know that it goes through the point .
First, we must think about in which axis the foci of the ellipse are. Since the center is and a focus is in , we realize that the first component remains at 1, that is to say, the straight line that unites the center with the focus is the straight line .
So we already know that the foci are on a straight line parallel to the y-axis . If the ellipse goes through point , the distance from this point (which is also the straight line and therefore it is the major axis) to the center is the difference of its components.
That is: .
In the same way we can argue that the value of which is the distance from the focus to the center is the subtraction of its component, which is: .
Since we already have the values of and , thanks to the relation , we obtain: .
Substituting in the equation: