九色国产,午夜在线视频,新黄色网址,九九色综合,天天做夜夜做久久做狠狠,天天躁夜夜躁狠狠躁2021a,久久不卡一区二区三区

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
Excel教程:公歷日期轉(zhuǎn)農(nóng)歷的6個(gè)公式

有小伙伴在后臺(tái)留言詢(xún)問(wèn),公歷日期如何轉(zhuǎn)為農(nóng)歷日期。

比如,下面的Excel表格,將B列的日期,轉(zhuǎn)成對(duì)應(yīng)的農(nóng)歷。

C2單元格輸入公式:=TEXT(B2,"[$-130000]yyyy-m-d"),下拉即可。
公式解釋?zhuān)?/span>
B2表示要轉(zhuǎn)化的公歷日期;
yyyy-m-d表示輸入日期的格式;
[$-130000]:表示公歷轉(zhuǎn)陰歷的特殊參數(shù)。
除了上面的公式寫(xiě)法,再給大家發(fā)幾個(gè)不同的格式,對(duì)應(yīng)的函數(shù)公式肯定也是不一樣的哈。可以收藏備用。

D列公式:
=IF(--TEXT(B2,"[$-130000]d")<11,TEXT(B2,"[$-130000][dbnum1]m月初d"),SUBSTITUTE(TEXT(B2,"[$-130000][dbnum1]m月d"),IF(--TEXT(B2,"[$-130000]d")>20,"二十",""),"廿"))
E列公式:
=TEXT(B2,"[$-130000]yyyy年m月"&IF(LEN(--TEXT(B2,"[$-130000]dd"))=1,"初","")&"d")
F列公式:
=TEXT(B2," [$-130000][DBNum1]m月d日")
G列公式:
=MID(" 甲乙丙丁戊己庚辛壬癸",MOD(TEXT(B2,"[$-130000]e")-4,10)+1,1)&MID("子丑寅卯辰巳午未申酉 戌亥",MOD(TEXT(B2,"[$-130000]e")-4,12)+1,1)&"年"&IF(TEXT(B2," [$-130000]m")*1=12," 臘",IF(TEXT(B2," [$-130000]m")*1=1," 正",TEXT(B2," [$-130000][DBNum1]m")))&"月"&IF(TEXT(B2," [$-130000]d")-9<=1,"初",IF(TEXT(B2," [$-130000]d")-29>=1,"卅",IF(TEXT(B2," [$-130000]d")-19>=1,"廿","十")))&IF(RIGHT(TEXT(B2," [$-130000]d"),1)*1=0,"",TEXT(RIGHT(TEXT(B2," [$-130000]d"),1)*1,"[DBNum1]d"))&"日"
H列公式:
=IF(TEXT(B2," [$-130000]m")*1=12," 臘",IF(TEXT(B2," [$-130000]m")*1=1," 正",TEXT(B2," [$-130000][DBNum1]m")))&"月"&IF(TEXT(B2," [$-130000]d")-9<=1,"初",IF(TEXT(B2," [$-130000]d")-29>=1,"卅",IF(TEXT(B2," [$-130000]d")-19>=1,"廿","十")))&IF(RIGHT(TEXT(B2," [$-130000]d"),1)*1=0,"",TEXT(RIGHT(TEXT(B2," [$-130000]d"),1)*1,"[DBNum1]d"))&"日"
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶(hù)發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
Excel 2010中將公歷轉(zhuǎn)成農(nóng)歷的方法
使用函數(shù)在Excel2010中將公歷日期轉(zhuǎn)換為農(nóng)歷
在EXCEL中根據(jù)日期自動(dòng)填充為季度的6個(gè)公式,你確定都知道!
EXCEL中的TEXT函數(shù)詳解
如何在Excel中實(shí)現(xiàn)農(nóng)歷日期轉(zhuǎn)化
Excel里的5個(gè)批量轉(zhuǎn)換技巧,一看就會(huì)
更多類(lèi)似文章 >>
生活服務(wù)
熱點(diǎn)新聞
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服