æ¥éª¤/æ¹æ³
第ä¸æ¥ï¼ç»è¡¨æ ¼
æå¼ä¸å¼ 空ç½çEXCELå·¥ä½è¡¨ï¼å
æä¸å¾æ示ç»åºæ ·åã
å¾ä¸M1:P1æ¯å并åå
æ ¼ï¼ç¨äºå¡«åâå¹´âï¼S1:T1æ¯å并åå
æ ¼ï¼ç¨äºå¡«åâæâï¼ä¸ºäºéç®è®¾ç½®ææµ
èè²åºçº¹ã
第äºæ¥ï¼è®¾ç½®å
¬å¼
为äºè®©ç¬¬äºè¡ä¸çâææâè½èªå¨æ¾ç¤ºï¼éè¦è®¾ç½®å
¬å¼ï¼å¦ä¸ï¼
å¨D2åå
æ ¼ä¸è¾å
¥å
¬å¼ =IF(WEEKDAY(DATE($M$1,$S$1,D3),2)=7,"æ¥",WEEKDAY(DATE($M$1,$S$1,D3),2))
è¿æ¶å°±è½çå°D2åå
æ ¼ä¸åºç°ä¸ä¸ªè¡¨ç¤ºææçâæ¥âåï¼è¿è¯´æ2011å¹´5æ1å·æ¯æææ¥ï¼ã
å
¬å¼å«ä¹ï¼å
ç¨DATEå½æ°æM1æ ¼ä¸çâå¹´âãS1æ ¼ä¸çâæâãD3æ ¼ä¸çâæ¥âç»æä¸ä¸ªçµèè½è¯å«çâæ¥æâï¼åç¨WEEKDAYå½æ°æè¿ä¸ªâæ¥æâåææææ代表çæ°åã
WEEKDAYå½æ°åé¢å äºåæ°â2âï¼æ¯ä¸ºäºè®©ææä¸æ¾ç¤ºä¸ºâ1âï¼è®©ææäºæ¾ç¤ºä¸ºâ2â...让æææ¥æ¾ç¤ºä¸ºâ7âã
ç±äºæ们ä¸ä¹ æ¯ææææ¥å«æâææ7âï¼æ以æåç¨IFå½æ°åå¤æï¼ææ¾ç¤ºä¸ºâ7âçèªå¨æ¹æâæ¥âã
æ示ï¼å½æ°DATEä¸WEEKDAYå¨EXCELèªå¸¦ç帮å©ä¸æ详ç»çç¨æ³ä»ç»ï¼æ³äºè§£å®ä»¬çæåå¯ä»¥åèã
为äºæ¹ä¾¿æ们ä¸å½äººçä¹ æ¯ï¼è¿è¦ææ¾ç¤ºä¸ºé¿æ伯å°åæ°åçææåæä¸ææ°åï¼å³âææ1âåæâææä¸âè¿ç§æ ¼å¼ãè¿å°±éè¦éè¿å®ä¹åå
æ ¼æ ¼å¼æ¥å®ç°ã
éä¸D2åå
æ ¼ï¼æé¼ æ å³é®âåå
æ ¼æ ¼å¼âï¼å¨åºç°çæ ¼å¼çªå£ä¸éâæ°åâé项å¡ï¼å¨å·¦ä¾§çâåç±»âæ¡ä¸éâç¹æ®âï¼å¨å³ä¾§çâç±»åâæ¡ä¸éâä¸æå°åæ°åâï¼æâç¡®å®âéåºã
è¿äºå®æåå°±å¯ä»¥ç¨é¼ æ éä¸D2åå
æ ¼ï¼æä½å®å³ä¸è§çâå¡«å
æâæå¨å¤å¶AH2åå
æ ¼ï¼ææå¦ä¸å¾ï¼
å¨AIåå
æ ¼ä¸å¯ä»¥éè¿å
¬å¼æ¾ç¤ºå½æçæ»å¤©æ°ï¼å
¬å¼ =DAY(DATE(M1,S1+1,1)-1)
å
¬å¼å«ä¹ï¼å
ç±DATEå½æ°âDATE(M1,S1+1,1)âå¾å°æ¬æçä¸ä¸ä¸ªææå1å·çæ¥æãæ¬ä¾ä¸ï¼æ¬ææ¯5æ份ï¼ä¸ä¸æçæåä¸å·å°±æ¯6æ1æ¥ã
åç¨å1å¾å°æ¬ææåä¸å¤©çæ¥æï¼å³5æ31æ¥ï¼æååç±DAYå½æ°ååºè¡¨ç¤ºå½æ天æ°çâ31âã
ä¸é¢å°±æ¯èå¤å½å
¥æ¹é¢äº
第ä¸æ¥ï¼èå¤ç¬¦å·
å
设å®ä¸äºèå¤ç¬¦å·ï¼æ¾å¨ARåä¸ï¼å¦å¾æ示ï¼
è¿äºç¬¦å·å¹¶éç»ä¸è§å®ï¼å¯æ ¹æ®ä¹ æ¯åå好æ¥èªå·±è®¾å®ï¼ä¹å¯ç¨æ±åæ¥ä»£è¡¨ï¼æ»ä¹èªå·±ççä¹ æ¯å°±è¡äºã
æä¹æè¿äºç¬¦å·æ¹ä¾¿å¿«æ·çè¾å
¥å°èå¤è¡¨ä¸D4:AH33åºåä¸å¢ï¼æ们éç¨ä¸ææ¡çæ¹æ³ã
éä¸D4:AH33åºåï¼æä¸é¢å·¥å
·æ ä¸çâæ°æ®-æææ§âï¼å¼¹åºæææ§è®¾ç½®å¯¹è¯æ¡ï¼éâ设置âé项å¡ï¼å¨âå
许âä¸éâåºåâï¼å¨âæ¥æºâä¸ç¹å»å³ç«¯çæå æé®ï¼ç¶åç¨é¼ æ å¨è¡¨æ ¼ä¸éåAR1:AR8åºåï¼å次ç¹å»æå æé®ï¼åå°æææ§è®¾ç½®çªå£ï¼æâç¡®å®âéåºã
å®æåï¼å¨èå¤è¡¨çD4:AH33åºåä¸ä»»æä¸ä¸ªåå
æ ¼éä¸æ¶ï¼é½ä¼åºç°ä¸ä¸ªä¸ææ¡æé®ï¼ç¹å»æé®å°±å¼¹åºä¸ææ¡ï¼å¯ç¨é¼ æ æ¹ä¾¿çéåè¦è¾å
¥çèå¤ç¬¦å·ã
第åæ¥ï¼èå¤ç»è®¡
èå¤å·²ç»å¯ä»¥è¾å
¥äºï¼ææ ·ç»è®¡æ¯ä¸ªäººçåºå¤æ
åµå¢ï¼è¿æ¯éè¿å
¬å¼èªå¨æ¥ç»è®¡ã
å
ååºä¸ååºåæ¥åèå¤ç»è®¡ï¼å¦ä¸å¾çº¢åèå´ï¼
è¿ä¸ªåºåä¸è¦è®¾ç½®å¤ä¸ªå并åå
æ ¼ï¼AK4:AK5æ¯å并çï¼AL4:AL5æ¯å并ç......AP4:AP5æ¯å并çãä¹å°±æ¯æ¯ä¸ä¸ªå§å对åºçä¸ä¸ä¸¤è¡éè¦å并ï¼è¿æ ·æ¹ä¾¿æä¸åä¸ä¸åç»è®¡å¨ä¸ä¸ªæ ¼ä¸ã
åå®AL4:AP5åºåçå并æä½åï¼éä¸åºåå³ä¸è§å¡«å
æï¼æä½é¼ æ å·¦é®åä¸æå¨ï¼ä¸ç´å°AP33åå
æ ¼åæ¾å¼é¼ æ å·¦é®ï¼å°±è½å¿«éçæä¸é¢åå
æ ¼åå«ä¹åæå并ç¶æãï¼å
¶å®å°±æ¯å¤å¶äºAL4:AP5çæ ·å¼ï¼
ç±äºç¬¬ä¸ä¸ªäººçèå¤è®°å½åºåæ¯D4:AH5åºåï¼æ以éè¦å°æ¤åºåä¸çèå¤ç¬¦å·åºç°æ¬¡æ°ç»è®¡åºæ¥ï¼å°±è½ç¥éè¿ä¸ªäººçèå¤æ
åµäºã
å
å¨AK3:AP3ä¸è¾å
¥èå¤ç¬¦å·ï¼ç¶åå¨AK4åå
æ ¼ä¸è¾å
¥å
¬å¼ =COUNTIF($D4:$AH5,AK$3)
å
¬å¼å«ä¹ï¼ä½¿ç¨COUNTIFå½æ°ç»è®¡D4:AH5åºåå
åºç°äºå 次AK3æ ¼ä¸ç符å·ã
ç¨æå¨å¤å¶åè½æè¿ä¸ªå
¬å¼å¤å¶å°AK4:AP4åºåä¸ã
åéä¸AK4:AP4åºåï¼æä½AP4å³ä¸è§çå¡«å
æåä¸æå¨å¤å¶ï¼ä¸ç´å¤å¶å°AP33åå
æ ¼ã
ç°å¨ç»è®¡åºåä¸çæ¯ä¸ªæ ¼é½æå
¬å¼äºï¼ç±äºå
¬å¼ä¸æäºé¨ä»½ä½¿ç¨äºç»å¯¹å¼ç¨ç¬¦å·â$âï¼æ以å¨æå¨å¤å¶ä¸ï¼æ¯ä¸ªåå
æ ¼çå
¬å¼é½æ¯ä¸å¤ªä¸æ ·çã
æ示ï¼å¨è¿ä¸ªèå¤è¡¨ä¸ï¼å¤æ¬¡ä½¿ç¨äºâæå¨å¤å¶âæ¹æ³ï¼å¯ä»¥æ大çç®åè¾å
¥å
¬å¼ä¸è®¾ç½®æ ¼å¼çæä½ï¼èä¸å¨å
¬å¼ä¸çµæ´»ä½¿ç¨ç»å¯¹å¼ç¨ç¬¦å·â$âï¼ä¹è½ææè§å¾ååçå
¬å¼å¿«éè¾å
¥å°åºåä¸ï¼é¿å
äºé个è¾å
¥ç麻ç¦ã
ç°å¨æ们çä¸ä¸æç»è®¡å
¬å¼çææ
å¨ç»è®¡ç»æä¸ï¼ä¼æ许å¤0å¼åºç°ï¼è¡¨ç¤ºå¯¹åºçèå¤ç¬¦å·æªå¨èå¤åºåä¸åºç°ï¼0å¼å¤ªå¤æ¶ä¼æè§å¾âä¹±âï¼æ们éè¿è®¾ç½®æ¥âéèâè¿äº0å¼ã
æå·¥å
·æ ä¸çâå·¥å
·-é项âï¼åºç°é项çªå£ï¼æä¸å¾è®¾ç½®ï¼å»æâé¶å¼âåçå¾ï¼å°±å¯ä½¿è¿äº0å¼ä¸æ¾ç¤ºåºæ¥ã
第äºæ¥ï¼è®¾ç½®æ¡ä»¶æ ¼å¼
å°è¿éï¼èå¤è¡¨åºæ¬ä¸å°±å®æäºãç»å¿çæåä¼åç°ä¸ä¸ªå°é®é¢ï¼å°±æ¯AF3ãAG3ãAH3è¿ä¸ä¸ªæ ¼ä¸å§ç»åºç°29ã30ã31è¿ä¸ä¸ªæ¥æï¼å³ä½¿å¨2æ份åªæ28天çæ
åµä¸ä¹æ¯å¦æ¤ï¼æå°é常ä¸ç½ã
æ们å¯ä»¥ç¨æ¡ä»¶æ ¼å¼çæ¹æ³æ¥è®©å®ä»¬èªå¨æ ¹æ®æ份çååæ¥æ¾ç¤ºæéèï¼å³å°ææ¶AH3æ ¼åæ空ç½ï¼å¤§ææ¶ææ¾ç¤º31ï¼å¨äºæ份æ¶å¦æä¸æ¯é°æï¼å°±ä¸æ¾ç¤ºAF3ãAG3ãAH3æ ¼ä¸çæ°åã
éä¸AF3:AH3åºåï¼æâæ ¼å¼-æ¡ä»¶æ ¼å¼âï¼æä¸å¾è®¾ç½®ï¼
ç¨è¿ç§æ¡ä»¶æ ¼å¼çæ¹æ³è¿è½è®¾ç½®D2:AH2åºåï¼è®©å®ä»¬å¨ææå
ä¸æææ¥æ¶åæä¸åé¢è²ï¼è½æ´ç´è§çæ¾ç¤ºæ¯å¨æ
åµï¼è®¾ç½®æ¹æ³å¤§å®¶å¯ä»¥èªå·±ç¢ç£¨ä¸ä¸ã
温馨提示:答案为网友推荐,仅供参考