An investor has acquired a nearly 3,500-square-foot office and retail building in downtown Montclair, under a transaction arranged by NAI James E. Hanson.