I would rule that a wall of force would stop any spell that had a range or area of effect, I would treat it like a normal wall as far as providing cover.
I disagree, as a normal wall would conceal the target and a wall of force does not. The gist of the cover rules on 196 of the PHB seem to deal more with difficulties seeing and therefore targetting creatures, rather than any physical impediment to striking them whilst they're in direct view of you. A wall of force has no impact on line of sight as written, it just stops any physical effect from passing through it. As mentioned above, a fireball spell would smack straight into it, whereas sacred flame originates elsewhere entirely and would still take effect provided that there was no impediment to vision. An area of effect or ranged strike which physically needs to pass through the wall to reach the target would be impeded, but not one that originates on the target's side.