The Andromeda Galaxy is approaching the Milky Way at about 100 to 140 kilometers per second(400 light years every million years), making it one of the few blueshifted galaxies. The Andromeda Galaxy and the Milky Way are thus expected to collide in about 4.5 billion years, although the details are uncertain since Andromeda's tangential velocity with respect to the Milky Way is only known to within about a factor of two. A likely outcome of the collision is that the galaxies will merge to form a giant elliptical galaxy. Such events are frequent among the galaxies in galaxy groups. The fate of the Earth and the Solar System in the event of a collision are currently unknown. If the galaxies do not merge, there is a small chance that the Solar System could be ejected from the Milky Way or join M31. ( cited from “Wikipedia”)
「アンドロメダ銀河は、約秒速100kmから秒速140km(100万年毎に400光年)で銀河系に接近しつつあり、これはアンドロメダ銀河を数少ない青方偏移の銀河の一つにしている。アンドロメダ銀河の銀河系に関する接線速度は2つの要素のうちの1つについてのみの中でだけ知られているので、詳細は不明であるけれども、アンドロメダ銀河と銀河系は、このようにして約45億年以内に衝突すると予想される。この衝突のあり得る結果は、2つの銀河が併合され1つの巨大な楕円銀河を形成することである。このような事象は、銀河団の銀河間では頻繁にある。衝突の場合における地球と太陽系の運命は、現在は不明である。仮に2つの銀河が併合しないのであれば、太陽系は、銀河系からはじき出され、アンドロメダ銀河(M31)に合流するわずかな可能性がある。(英文と写真はウィキペディアより引用)」(日本語訳は筆者による)二枚目の写真はハッブル望遠鏡が提供している衝突銀河の写真ですが、この写真から理解できるように大宇宙では銀河同士の衝突は珍しい事象ではありません。

(http://sankei.jp.msn.com/science/news/120603/scn12060309150001-n1.htm) NASAの「アンドロメダ銀河と銀河系の40億年後の衝突に関する発表」