上年 is more formal than
去年 (qùnián, 'last year') and is the standard term in financial reports, accounting, and statistics — phrases like
上年同期 ('same period last year') and
上年度 ('previous fiscal year') are everywhere in business writing. In casual speech, just say
去年.