Treat upstands the same as Skirting or Dado rail: That is to say, scribe the internal corners, not mitred. This allows you to cut pieces fitting between walls a fraction under size with no gaps.The exposed ends, cut a reverse mitre 45 deg so your decorative edge is exact length and the cut goes...