Ramsay was minister of Greyfriars Kirk in Edinburgh.
Ramsay twice served as Rector of the University of Edinburgh, 1620–26 and 1646–48. In 1620, the university separated the posts of Principal and Rector: the advocate Patrick Sands was appointed the university's first non-theologian Principal, and Ramsay was appointed Professor of Divinity and Rector. He resigned in March 1626. Reappointed as Rector in 1646, he was deposed for his refusal to preach against the Engagers, the Covenanters who had agreed a secret treaty with Charles I.
- "Rector (office of)". University of Edinburgh: Our History. Retrieved 4 July 2019.
- "Separation of Roles of Principal and Professor of Divinity, 1620". University of Edinburgh: Our History. Retrieved 4 July 2019.
- "Andrew Ramsay (1574–1659)". University of Edinburgh: Our History. Retrieved 4 July 2019.