There are two answers to this. The first is if we ignore special relativity.
The Andromeda Galaxy is 2.5 million light years or about 14.8 sextillion miles away. So an object would have to travel at 14.8 quintillion miles per hour or 22 billion times the speed of light to get there in an hour. It is, of course, impossible to travel faster than the speed of light and therefore impossible to go to the Andromeda galaxy in less than 2.5 million years.
Now let's consider special relativity. The idea of a 2.5 million year trip only considers an outside observer. Time, however, slows down for an object approaching the speed of light so the time that goes by for the traveling object will be shorter. In order for the 2.5 million years to pass in an hour for the ship, it would have to travel at less than 1 inch per minute slower than the speed of light.
The Andromeda Galaxy is about 24 000 000 000 000 000 000 km away from Earth.
About 2.5 million light years from Earth, but since the Earth and Sun are only 8 light minutes apart, there isn't that much of a difference in how far the Andromeda Galaxy is from the Sun or Earth. So the Andromeda Galaxy is about 2.5 million light years from the Sun and Earth.
Earth, Sun, Andromeda galaxy and then the universe. increasing size------------------------->
No.
The Andromeda Galaxy is at a distance of about 2.5 million light-years from Earth; or from the Milky Way.
The Sun, then Neptune and then the Andromeda galaxy.
The Andromeda Galaxy is about 24 000 000 000 000 000 000 km away from Earth.
Andromeda Galaxy
About 2.5 million light years from Earth, but since the Earth and Sun are only 8 light minutes apart, there isn't that much of a difference in how far the Andromeda Galaxy is from the Sun or Earth. So the Andromeda Galaxy is about 2.5 million light years from the Sun and Earth.
The Andromeda galaxy is about 2.5 million light years away from the earth.
Earth, Sun, Andromeda galaxy and then the universe. increasing size------------------------->
No.
The Andromeda Galaxy is at a distance of about 2.5 million light-years from Earth; or from the Milky Way.
I assume you mean M31, the Andromeda Galaxy. It is approximately 2.5 million light-years from us; that means that it takes light 2.5 million years to travel from there to here (or from here to there).
495940 miles Away
Sorry, Andromeda and earth are moving away from each other, not towards each other.
No scale was specified. However, if the Earth was one inch, the Andromeda Galaxy would be 29,300,000,000 miles away.