Hi Maggie,
I can't easily find Robert in 1871, but this looks like him for the other years:
1881
Reg district: 738
Edrom Village, Berwickshire
Allanbank
Robert Spence 37 Gen Labourer, b Eccles
Mary Spence 36 b Coulton, Lanarkshire
Elisabeth Spence 3 MO b Coulton, Lanarkshire
------------------
1891
Reg District: 738 Edrom, Berwickshire
Allanbank
Robert Spence 47 b. Eccles Gen. Labourer
Mary Spence 46 b. Coulter, Lanark.
Elizabeth Spence 10
Alexander Spence 8
William Spence 6
children all born Coulter, Lanark.
----------------------
1901
Reg District: 738 Edrom, Berwickshire
Allanbank House Mansion
Robert Spence 56 Gas Manager b. Kelso, Roxburghshire
Mary Spence 55 b. Coulter, Lanark.
Elizabeth Spence 20 Dressmaker b. Coulter, Lanark
Alexander Spence 18 b. Coulter, Lanark
William G Spence 16 Joiners Apprentice, b. Coulter, Lanark
brigau