This name has been common (in various spellings) throughout the Christian world, and it became very popular in the Middle Ages. Saint Andrew is regarded as the patron of Scotland, Russia, Greece and Romania. The name has been borne by three kings of Hungary, American president Andrew Jackson (1767-1845), and, more recently, English composer Andrew Lloyd Webber (1948-).
A famous bearer of the surname was James Madison (1751-1836), one of the authors of the American constitution who later served as president (and after whom Madison Avenue was named).
Due to the renown of the saint, this name has been widely used in the Christian world. It has been common in England since the 12th century, though it became a bit less popular after the Protestant Reformation. The name has been borne by five popes and two tsars of Russia.
Before 1980, this was an uncommon masculine name in America. During the 1980s and 90s this name steadily increased in popularity for both boys and girls, and from 2003 onwards it has been more common for girls in the United States. Elsewhere in the English-speaking world, such as the United Kingdom and Australia, it has remained largely masculine.
In the United States this name steadily grew in popularity through the 1950s and 60s. It shot up the charts after the release of the 1970 movie Ryan's Daughter. Within a few years it was in the top 20 names, where it would stay for over three decades. Famous bearers include the Canadian actors Ryan Reynolds (1976-) and Ryan Gosling (1980-).