if(month(today())=1,FORMAT(MONTHDELTA(today(),-1),"yyyy-MM"),FORMAT(today(),"yyyy-MM"))
--------
公式写这(PS:FORMAT(today(),"yyyy-MM") 改成你的非1月值 )