Created
April 16, 2020 16:42
-
-
Save ndthanh/e6e542b32fc6b94e45177a7645393d54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Thiết lập: | |
| A1=2020 | |
| AN1="SUN" hoặc "MON" | |
| Tác giả: T.D.Nguyen | |
| Rút gọn: N.D.Thanh | |
| =ArrayFormula({ | |
| {"\/";TEXT(DATE(A1,ROW(1:12),1),"mmmm")} | |
| ,{ | |
| UPPER(TEXT("1/1/2018"+COLUMN($A$1:$AP$1)-(1+(AN1=TEXT(DATE(2017,1,1),"ddd"))),"DDD")); | |
| TEXT(WORKDAY.INTL(DATE($A$1,row(1:12),1)+1,-1,IF($AN$1=TEXT(DATE(2017,1,1),"ddd"),"1111110","0111111"))-1+COLUMN($A$1:$AP$1),"[<"&DATE($A$1,row(1:12),1)&"];[>"&DATE($A$1,row(1:12)+1,0)&"];DD") | |
| } | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bài này thực hiện không dc