While searching a publication for newspaper death notices for St Monance, Fife I came across the following that may be related to your Allan family:
ALLAN, Miss Agnes: St Monance, March 20, 1848
ALLAN, Andrew: drowned off Peterhead, Sept 1845 (28 years)
ALLAN, Charlotte: St Monance, Feb 21, 1850
I have been doing alot of research into the Latto family that settled and then spread from St Monance.Do you have any Lattos in your tree?I do have a little puzzle with a death record for an Alexander Latto in 1965 that gives 'Kate Allan' as having been his wife.I can't find a trace of this lady.Alexander Latto was born in St Monance in 1883.