P.S. When searching on the ScotlandsPeople website, Use 'Ri' and 'surnames beginning with' so that you pick up both the Ritchie and Richie entries.
Or, dare I suggest, r*c*h*e to avoid getting Riachs, Richardsons, Rickards, Rileys, Rimmers, Riddels, Rigbys .....