ä¸ã让ä¸åç±»åæ°æ®ç¨ä¸åé¢è²æ¾ç¤º
ããå¨å·¥èµè¡¨ä¸ï¼å¦ææ³è®©å¤§äºçäº2000å
çå·¥èµæ»é¢ä»¥â红è²âæ¾ç¤ºï¼å¤§äºçäº1500å
çå·¥èµæ»é¢ä»¥âèè²âæ¾ç¤ºï¼ä½äº1000å
çå·¥èµæ»é¢ä»¥âæ£è²âæ¾ç¤ºï¼å
¶å®ä»¥âé»è²âæ¾ç¤ºï¼æ们å¯ä»¥è¿æ ·è®¾ç½®ã
ãã1.æå¼âå·¥èµè¡¨âå·¥ä½ç°¿ï¼éä¸âå·¥èµæ»é¢âæå¨åï¼æ§è¡âæ ¼å¼âæ¡ä»¶æ ¼å¼âå½ä»¤ï¼æå¼âæ¡ä»¶æ ¼å¼â对è¯æ¡ãåå»ç¬¬äºä¸ªæ¹æ¡å³ä¾§çä¸ææé®ï¼éä¸â大äºæçäºâé项ï¼å¨åé¢çæ¹æ¡ä¸è¾å
¥æ°å¼â2000âãåå»âæ ¼å¼âæé®ï¼æå¼âåå
æ ¼æ ¼å¼â对è¯æ¡ï¼å°âåä½âçâé¢è²â设置为â红è²âã
ãã2.æâæ·»å âæé®ï¼å¹¶ä»¿ç
§ä¸é¢çæä½è®¾ç½®å¥½å
¶å®æ¡ä»¶(大äºçäº1500ï¼åä½è®¾ç½®ä¸ºâèè²âï¼å°äº1000ï¼åä½è®¾ç½®ä¸ºâæ£è²â)ã
ãã3.设置å®æåï¼æä¸âç¡®å®âæé®ã
ããççå·¥èµè¡¨å§ï¼å·¥èµæ»é¢çæ°æ®æ¯ä¸æ¯æä½ çè¦æ±ä»¥ä¸åé¢è²æ¾ç¤ºåºæ¥äºã
äºã建ç«åç±»ä¸æå表填å
项
ããæ们常常è¦å°ä¼ä¸çå称è¾å
¥å°è¡¨æ ¼ä¸ï¼ä¸ºäºä¿æå称çä¸è´æ§ï¼å©ç¨âæ°æ®æææ§âåè½å»ºäºä¸ä¸ªåç±»ä¸æå表填å
项ã
ãã1.å¨Sheet2ä¸ï¼å°ä¼ä¸å称æç±»å«(å¦âå·¥ä¸ä¼ä¸âãâåä¸ä¼ä¸âãâ个ä½ä¼ä¸âç)åå«è¾å
¥ä¸ååä¸ï¼å»ºç«ä¸ä¸ªä¼ä¸å称æ°æ®åºã
ãã2.éä¸Aå(âå·¥ä¸ä¼ä¸âå称æå¨å)ï¼å¨âå称âæ å
ï¼è¾å
¥âå·¥ä¸ä¼ä¸âå符åï¼æâå车âé®è¿è¡ç¡®è®¤ã
ãã仿ç
§ä¸é¢çæä½ï¼å°BãCâ¦â¦ååå«å½å为âåä¸ä¼ä¸âãâ个ä½ä¼ä¸ââ¦â¦
ãã3.åæ¢å°Sheet1ä¸ï¼éä¸éè¦è¾å
¥âä¼ä¸ç±»å«âçå(å¦Cå)ï¼æ§è¡âæ°æ®âæææ§âå½ä»¤ï¼æå¼âæ°æ®æææ§â对è¯æ¡ãå¨â设置âæ ç¾ä¸ï¼åå»âå
许âå³ä¾§çä¸ææé®ï¼éä¸âåºåâé项ï¼å¨ä¸é¢çâæ¥æºâæ¹æ¡ä¸ï¼è¾å
¥âå·¥ä¸ä¼ä¸âï¼âåä¸ä¼ä¸âï¼â个ä½ä¼ä¸ââ¦â¦åºå(åå
ç´ ä¹é´ç¨è±æéå·éå¼)ï¼ç¡®å®éåºã
ããåéä¸éè¦è¾å
¥ä¼ä¸å称çå(å¦Då)ï¼åæå¼âæ°æ®æææ§â对è¯æ¡ï¼éä¸âåºåâé项åï¼å¨âæ¥æºâæ¹æ¡ä¸è¾å
¥å
¬å¼ï¼=INDIRECT(C1)ï¼ç¡®å®éåºã
ãã4.éä¸Cåä»»æåå
æ ¼(å¦C4)ï¼åå»å³ä¾§ä¸ææé®ï¼éæ©ç¸åºçâä¼ä¸ç±»å«âå¡«å
¥åå
æ ¼ä¸ãç¶åéä¸è¯¥åå
æ ¼å¯¹åºçDååå
æ ¼(å¦D4)ï¼åå»ä¸ææé®ï¼å³å¯ä»ç¸åºç±»å«çä¼ä¸å称å表ä¸éæ©éè¦çä¼ä¸å称填å
¥è¯¥åå
æ ¼ä¸ã
ããæ示ï¼å¨ä»¥åæå°æ¥è¡¨æ¶ï¼å¦æä¸éè¦æå°âä¼ä¸ç±»å«âåï¼å¯ä»¥éä¸è¯¥åï¼å³å»é¼ æ ï¼éâéèâé项ï¼å°è¯¥åéèèµ·æ¥å³å¯ã
ããä¸ã建ç«â常ç¨ææ¡£âæ°èå
ããå¨èåæ ä¸æ°å»ºä¸ä¸ªâ常ç¨ææ¡£âèåï¼å°å¸¸ç¨çå·¥ä½ç°¿æ档添å å°å
¶ä¸ï¼æ¹ä¾¿éæ¶è°ç¨ã
ãã1.å¨å·¥å
·æ 空ç½å¤å³å»é¼ æ ï¼éâèªå®ä¹âé项ï¼æå¼âèªå®ä¹â对è¯æ¡ãå¨âå½ä»¤âæ ç¾ä¸ï¼éä¸âç±»å«âä¸çâæ°èåâ项ï¼åå°âå½ä»¤âä¸é¢çâæ°èåâæå°èåæ ã
ããæâæ´æ¹æéå
容âæé®ï¼å¨å¼¹åºèåçâå½åâæ¡ä¸è¾å
¥ä¸ä¸ªå称(å¦â常ç¨ææ¡£â)ã
ãã2.åå¨âç±»å«âä¸é¢ä»»éä¸é¡¹(å¦âæå
¥âé项)ï¼å¨å³è¾¹âå½ä»¤âä¸é¢ä»»éä¸é¡¹(å¦âè¶
é¾æ¥âé项)ï¼å°å®æå°æ°èå(常ç¨ææ¡£)ä¸ï¼å¹¶ä»¿ç
§ä¸é¢çæä½å¯¹å®è¿è¡å½å(å¦âå·¥èµè¡¨âç)ï¼å»ºç«ç¬¬ä¸ä¸ªå·¥ä½ç°¿ææ¡£å表å称ã
ããéå¤ä¸é¢çæä½ï¼å¤æ·»å å 个ææ¡£å表å称ã
ãã3.éä¸â常ç¨ææ¡£âèåä¸æ个èå项(å¦âå·¥èµè¡¨âç)ï¼å³å»é¼ æ ï¼å¨å¼¹åºçå¿«æ·èåä¸ï¼éâåé
è¶
é¾æ¥âæå¼âé项ï¼æå¼âåé
è¶
é¾æ¥â对è¯æ¡ãéè¿æâæ¥æ¾èå´âå³ä¾§çä¸ææé®ï¼å®ä½å°ç¸åºçå·¥ä½ç°¿(å¦âå·¥èµ.xlsâç)æ件夹ï¼å¹¶éä¸è¯¥å·¥ä½ç°¿ææ¡£ã
ããéå¤ä¸é¢çæä½ï¼å°èå项åä¸å®å¯¹åºçå·¥ä½ç°¿ææ¡£è¶
é¾æ¥èµ·æ¥ã
ãã4.以åéè¦æå¼â常ç¨ææ¡£âèåä¸çæ个工ä½ç°¿ææ¡£æ¶ï¼åªè¦å±å¼â常ç¨ææ¡£âèåï¼åå»å
¶ä¸çç¸åºé项å³å¯ã
ããæ示ï¼å°½ç®¡æ们å°âè¶
é¾æ¥âé项æå°äºâ常ç¨ææ¡£âèåä¸ï¼ä½å¹¶ä¸å½±åâæå
¥âèåä¸âè¶
é¾æ¥âèå项åâ常ç¨âå·¥å
·æ ä¸çâæå
¥è¶
é¾æ¥âæé®çåè½ã
ããåãå¶ä½âä¸ä¸ç¬¦å·âå·¥å
·æ
ããå¨ç¼è¾ä¸ä¸è¡¨æ ¼æ¶ï¼å¸¸å¸¸éè¦è¾å
¥ä¸äºç¹æ®çä¸ä¸ç¬¦å·ï¼ä¸ºäºæ¹ä¾¿è¾å
¥ï¼æ们å¯ä»¥å¶ä½ä¸ä¸ªå±äºèªå·±çâä¸ä¸ç¬¦å·âå·¥å
·æ ã
ãã1.æ§è¡âå·¥å
·âå®âå½å¶æ°å®âå½ä»¤ï¼æå¼âå½å¶æ°å®â对è¯æ¡ï¼è¾å
¥å®å?å¦âfuhao1â?并å°å®ä¿åå¨â个人å®å·¥ä½ç°¿âä¸ï¼ç¶åâç¡®å®âå¼å§å½å¶ãéä¸âå½å¶å®âå·¥å
·æ ä¸çâç¸å¯¹å¼ç¨âæé®ï¼ç¶åå°éè¦çç¹æ®ç¬¦å·è¾å
¥å°æ个åå
æ ¼ä¸ï¼ååå»âå½å¶å®âå·¥å
·æ ä¸çâåæ¢âæé®ï¼å®æå®çå½å¶ã
ãã仿ç
§ä¸é¢çæä½ï¼ä¸ä¸å½å¶å¥½å
¶å®ç¹æ®ç¬¦å·çè¾å
¥âå®âã
ãã2.æå¼âèªå®ä¹â对è¯æ¡ï¼å¨âå·¥å
·æ âæ ç¾ä¸ï¼åå»âæ°å»ºâæé®ï¼å¼¹åºâæ°å»ºå·¥å
·æ â对è¯æ¡ï¼è¾å
¥å称âââä¸ä¸ç¬¦å·âï¼ç¡®å®åï¼å³å¨å·¥ä½åºä¸åºç°ä¸ä¸ªå·¥å
·æ¡ã
ããåæ¢å°âå½ä»¤âæ ç¾ä¸ï¼éä¸âç±»å«âä¸é¢çâå®âï¼å°âå½ä»¤âä¸é¢çâèªå®ä¹æé®â项æå°âä¸ä¸ç¬¦å·âæ ä¸(æå¤å°ä¸ªç¹æ®ç¬¦å·å°±æå¤å°ä¸ªæé®)ã
ãã3.éä¸å
¶ä¸ä¸ä¸ªâèªå®ä¹æé®âï¼ä»¿ç
§ç¬¬2个ç§æç第1ç¹å¯¹å®ä»¬è¿è¡å½åã
ãã4.å³å»æ个å½ååçæé®ï¼å¨éåå¼¹åºçå¿«æ·èåä¸ï¼éâæå®å®âé项ï¼æå¼âæå®å®â对è¯æ¡ï¼éä¸ç¸åºçå®(å¦fuhao1ç)ï¼ç¡®å®éåºã
ããéå¤æ¤æ¥æä½ï¼å°æé®ä¸ç¸åºçå®é¾æ¥èµ·æ¥ã
ãã5.å
³éâèªå®ä¹â对è¯æ¡ï¼ä»¥åå¯ä»¥å使ç¨æ®éå·¥å
·æ ä¸æ ·ï¼ä½¿ç¨âä¸ä¸ç¬¦å·âå·¥å
·æ ï¼ååå
æ ¼ä¸å¿«éè¾å
¥ä¸ä¸ç¬¦å·äºã
ããäºãç¨âè§é¢ç®¡çå¨âä¿åå¤ä¸ªæå°é¡µé¢
ããæçå·¥ä½è¡¨ï¼ç»å¸¸éè¦æå°å
¶ä¸ä¸åçåºåï¼ç¨âè§é¢ç®¡çå¨âå§ã
ãã1.æå¼éè¦æå°çå·¥ä½è¡¨ï¼ç¨é¼ æ å¨ä¸éè¦æå°çè¡(æå)æ ä¸ææï¼éä¸å®ä»¬åå³å»é¼ æ ï¼å¨éååºç°çå¿«æ·èåä¸ï¼éâéèâé项ï¼å°ä¸éè¦æå°çè¡(æå)éèèµ·æ¥ã
ãã2.æ§è¡âè§å¾âè§é¢ç®¡çå¨âå½ä»¤ï¼æå¼âè§é¢ç®¡çå¨â对è¯æ¡ï¼åå»âæ·»å âæé®ï¼å¼¹åºâæ·»å è§é¢â对è¯æ¡ï¼è¾å
¥ä¸ä¸ªå称(å¦âä¸æ¥è¡¨â)åï¼åå»âç¡®å®âæé®ã
ãã3.å°éèçè¡(æå)æ¾ç¤ºåºæ¥ï¼å¹¶éå¤ä¸è¿°æä½ï¼âæ·»å â好å
¶å®çæå°è§é¢ã
ãã4.以åéè¦æå°æç§è¡¨æ ¼æ¶ï¼æå¼âè§é¢ç®¡çå¨âï¼éä¸éè¦æå°çè¡¨æ ¼å称ï¼åå»âæ¾ç¤ºâæé®ï¼å·¥ä½è¡¨å³å»æäºå
设å®å¥½ççé¢æ¾ç¤ºåºæ¥ï¼ç®å设置ãæçä¸ä¸ï¼æä¸å·¥å
·æ ä¸çâæå°âæé®ï¼ä¸åå°±OKäºã
ããå
ã让æ°æ®æéæåº
ããå¦æä½ è¦å°åå·¥æå
¶æå¨çé¨é¨è¿è¡æåºï¼è¿äºé¨é¨å称æ¢çæå
³ä¿¡æ¯ä¸æ¯ææ¼é³é¡ºåºï¼ä¹ä¸æ¯æç¬ç»é¡ºåºï¼æä¹å?å¯éç¨èªå®ä¹åºåæ¥æåºã
ãã1.æ§è¡âæ ¼å¼âé项âå½ä»¤ï¼æå¼âé项â对è¯æ¡ï¼è¿å
¥âèªå®ä¹åºåâæ ç¾ä¸ï¼å¨âè¾å
¥åºåâä¸é¢çæ¹æ¡ä¸è¾å
¥é¨é¨æåºçåºå(å¦âæºå
³,车é,ä¸è½¦é´,äºè½¦é´,ä¸è½¦é´âç)ï¼åå»âæ·»å âåâç¡®å®âæé®éåºã
ãã2.éä¸âé¨é¨âåä¸ä»»æä¸ä¸ªåå
æ ¼ï¼æ§è¡âæ°æ®âæåºâå½ä»¤ï¼æå¼âæåºâ对è¯æ¡ï¼åå»âé项âæé®ï¼å¼¹åºâæåºé项â对è¯æ¡ï¼æå
¶ä¸çä¸ææé®ï¼éä¸åæèªå®ä¹çåºåï¼æ两次âç¡®å®âæé®è¿åï¼æææ°æ®å°±æè¦æ±è¿è¡äºæåºã
ãã
ããä¸ãææ°æ®å½»åºéèèµ·æ¥
ããå·¥ä½è¡¨é¨ååå
æ ¼ä¸çå
容ä¸æ³è®©æµè§è
æ¥é
ï¼åªå¥½å°å®éèèµ·æ¥äºã
ãã1.éä¸éè¦éèå
容çåå
æ ¼(åºå)ï¼æ§è¡âæ ¼å¼âåå
æ ¼âå½ä»¤ï¼æå¼âåå
æ ¼æ ¼å¼â对è¯æ¡ï¼å¨âæ°åâæ ç¾çâåç±»âä¸é¢éä¸âèªå®ä¹âé项ï¼ç¶åå¨å³è¾¹âç±»åâä¸é¢çæ¹æ¡ä¸è¾å
¥âï¼ï¼ï¼â(ä¸ä¸ªè±æç¶æä¸çåå·)ã
ãã2.ååæ¢å°âä¿æ¤âæ ç¾ä¸ï¼éä¸å
¶ä¸çâéèâé项ï¼æâç¡®å®âæé®éåºã
ãã3.æ§è¡âå·¥å
·âä¿æ¤âä¿æ¤å·¥ä½è¡¨âå½ä»¤ï¼æå¼âä¿æ¤å·¥ä½è¡¨â对è¯æ¡ï¼è®¾ç½®å¥½å¯ç åï¼âç¡®å®âè¿åã
ããç»è¿è¿æ ·ç设置以åï¼ä¸è¿°åå
æ ¼ä¸çå
容ä¸åæ¾ç¤ºåºæ¥ï¼å°±æ¯ä½¿ç¨Excelçéæåè½ä¹ä¸è½è®©å
¶ç°å½¢ã
ããæ示ï¼å¨âä¿æ¤âæ ç¾ä¸ï¼è¯·ä¸è¦æ¸
é¤âéå®âåé¢å¤éæ¡ä¸çââ¨âå·ï¼è¿æ ·å¯ä»¥é²æ¢å«äººå é¤ä½ éèèµ·æ¥çæ°æ®ã
ããå
«ã让ä¸ãè±æè¾å
¥æ³æºè½åå°åºç°
ããå¨ç¼è¾è¡¨æ ¼æ¶ï¼æçåå
æ ¼ä¸è¦è¾å
¥è±æï¼æçåå
æ ¼ä¸è¦è¾å
¥ä¸æï¼åå¤åæ¢è¾å
¥æ³å®å¨ä¸æ¹ä¾¿ï¼ä½ä¸è®¾ç½®ä¸ä¸ï¼è®©è¾å
¥æ³æºè½åå°è°æ´å¢?
ããéä¸éè¦è¾å
¥ä¸æçåå
æ ¼åºåï¼æ§è¡âæ°æ®âæææ§âå½ä»¤ï¼æå¼âæ°æ®æææ§â对è¯æ¡ï¼åæ¢å°âè¾å
¥æ³æ¨¡å¼âæ ç¾ä¸ï¼æâ模å¼âå³ä¾§çä¸ææé®ï¼éä¸âæå¼âé项åï¼âç¡®å®âéåºã
ãã以åå½éä¸éè¦è¾å
¥ä¸æçåå
æ ¼åºåä¸ä»»æä¸ä¸ªåå
æ ¼æ¶ï¼ä¸æè¾å
¥æ³(è¾å
¥æ³å表ä¸ç第1个ä¸æè¾å
¥æ³)èªå¨æå¼ï¼å½éä¸å
¶å®åå
æ ¼æ¶ï¼ä¸æè¾å
¥æ³èªå¨å
³éã
ããä¹ã让âèªå¨æ´æ£âè¾å
¥ç»ä¸çææ¬
ããä½ æ¯ä¸æ¯ç»å¸¸ä¸ºè¾å
¥æäºåºå®çææ¬ï¼å¦ãçµèæ¥ãèç¦æ¼å¢?é£å°±å¾ä¸çå§ã
ãã1.æ§è¡âå·¥å
·âèªå¨æ´æ£âå½ä»¤ï¼æå¼âèªå¨æ´æ£â对è¯æ¡ã
ãã2.å¨âæ¿æ¢âä¸é¢çæ¹æ¡ä¸è¾å
¥âpcwâ(ä¹å¯ä»¥æ¯å
¶ä»å符ï¼âpcwâç¨å°å)ï¼å¨âæ¿æ¢ä¸ºâä¸é¢çæ¹æ¡ä¸è¾å
¥âãçµèæ¥ãâï¼ååå»âæ·»å âåâç¡®å®âæé®ã
ãã3.以åå¦æéè¦è¾å
¥ä¸è¿°ææ¬æ¶ï¼åªè¦è¾å
¥âpcwâå符?æ¤æ¶å¯ä»¥ä¸èèâpcwâç大å°å?ï¼ç¶å确认ä¸ä¸å°±æäºã
ããåãå¨Excelä¸èªå®ä¹å½æ°
ããExcelå½æ°è½ç¶ä¸°å¯ï¼ä½å¹¶ä¸è½æ»¡è¶³æ们çææéè¦ãæ们å¯ä»¥èªå®ä¹ä¸ä¸ªå½æ°ï¼æ¥å®æä¸äºç¹å®çè¿ç®ãä¸é¢ï¼æ们就æ¥èªå®ä¹ä¸ä¸ªè®¡ç®æ¢¯å½¢é¢ç§¯çå½æ°ï¼
ãã1.æ§è¡âå·¥å
·âå®âVisual Basicç¼è¾å¨âèåå½ä»¤(ææâAlt+F11âå¿«æ·é®)ï¼æå¼Visual Basicç¼è¾çªå£ã
ãã2.å¨çªå£ä¸ï¼æ§è¡âæå
¥â模åâèåå½ä»¤ï¼æå
¥ä¸ä¸ªæ°ç模åââ模å1ã
ãã3.å¨å³è¾¹çâ代ç çªå£âä¸è¾å
¥ä»¥ä¸ä»£ç ï¼
ããFunction V(a,b,h)V = h*(a+b)/2End Function
ãã4.å
³éçªå£ï¼èªå®ä¹å½æ°å®æã
ãã以åå¯ä»¥å使ç¨å
ç½®å½æ°ä¸æ ·ä½¿ç¨èªå®ä¹å½æ°ã
ããæ示ï¼ç¨ä¸é¢æ¹æ³èªå®ä¹çå½æ°é常åªè½å¨ç¸åºçå·¥ä½ç°¿ä¸ä½¿ç¨ã
ããåä¸ã表头ä¸é¢è¡¬å¼ å¾ç
ãã为工ä½è¡¨æ·»å çèæ¯ï¼æ¯è¡¬å¨æ´ä¸ªå·¥ä½è¡¨ä¸é¢çï¼è½ä¸è½åªè¡¬å¨è¡¨å¤´ä¸é¢å¢?
ãã1.æ§è¡âæ ¼å¼âå·¥ä½è¡¨âèæ¯âå½ä»¤ï¼æå¼âå·¥ä½è¡¨èæ¯â对è¯æ¡ï¼éä¸éè¦ä½ä¸ºèæ¯çå¾çåï¼æä¸âæå
¥âæé®ï¼å°å¾ç衬äºæ´ä¸ªå·¥ä½è¡¨ä¸é¢ã
ãã2.å¨æä½Ctrlé®çåæ¶ï¼ç¨é¼ æ å¨ä¸éè¦è¡¬å¾ççåå
æ ¼(åºå)ä¸ææï¼åæ¶éä¸è¿äºåå
æ ¼(åºå)ã
ãã3.æâæ ¼å¼âå·¥å
·æ ä¸çâå¡«å
é¢è²âå³ä¾§çä¸ææé®ï¼å¨éååºç°çâè°è²æ¿âä¸ï¼éä¸âç½è²âãç»è¿è¿æ ·ç设置以åï¼çä¸çåå
æ ¼ä¸é¢è¡¬ä¸äºå¾çï¼èä¸è¿°éä¸çåå
æ ¼(åºå)ä¸é¢å°±æ²¡æ衬å¾çäº(å
¶å®ï¼æ¯å¾ç被âç½è²âé®çäº)ã
ããæ示?衬å¨åå
æ ¼ä¸é¢çå¾çæ¯ä¸æ¯ææå°çã
ããåäºãç¨è¿å符â&âæ¥å并ææ¬
ããå¦ææ们æ³å°å¤åçå
容å并å°ä¸åä¸ï¼ä¸éè¦å©ç¨å½æ°ï¼ä¸ä¸ªå°å°çè¿å符â&âå°±è½å°å®æå®(æ¤å¤åå®å°BãCãDåå并å°ä¸åä¸)ã
ãã1.å¨Dååé¢æå
¥ä¸¤ä¸ªç©ºå(EãFå)ï¼ç¶åå¨D1åå
æ ¼ä¸è¾å
¥å
¬å¼ï¼=B1&C1&D1ã
ãã2.å次éä¸D1åå
æ ¼ï¼ç¨âå¡«å
æâå°ä¸è¿°å
¬å¼å¤å¶å°Dåä¸é¢çåå
æ ¼ä¸ï¼BãCãDåçå
容å³è¢«å并å°Eå对åºçåå
æ ¼ä¸ã
ãã3.éä¸Eåï¼æ§è¡âå¤å¶âæä½ï¼ç¶åéä¸Fåï¼æ§è¡âç¼è¾âéæ©æ§ç²è´´âå½ä»¤ï¼æå¼âéæ©æ§ç²è´´â对è¯æ¡ï¼éä¸å
¶ä¸çâæ°å¼âé项ï¼æä¸âç¡®å®âæé®ï¼Eåçå
容(ä¸æ¯å
¬å¼)å³è¢«å¤å¶å°Fåä¸ã
ãã4.å°BãCãDãEåå é¤ï¼å®æå并工ä½ã
ããæ示ï¼å®æ第1ã2æ¥çæä½ï¼å并ææå·²ç»å®ç°ï¼ä½æ¤æ¶å¦æå é¤BãCãDåï¼å
¬å¼ä¼åºç°é误ãæ
é¡»è¿è¡ç¬¬3æ¥æä½ï¼å°å
¬å¼è½¬æ¢ä¸ºä¸åçâå¼âã
ãã
ããçæ绩æ¡
ãã常ææåé®âå¦ä½æå°æ绩æ¡âè¿æ ·çé®é¢ï¼æä¸å°äººéåå½å¶å®æVBAçæ¹æ³æ¥å®ç°ï¼è¿å¯¹äºåå¦è
æ¥è¯´æä¸å®é¾åº¦ãåºäºæ¤ç§èèï¼æå¨è¿éç»åºä¸ç§ç¨å½æ°å®ç°çç®ä¾¿æ¹æ³ã
ããæ¤å¤åå®å¦çæ绩ä¿åå¨Sheet1å·¥ä½è¡¨çA1è³G64åå
æ ¼åºåä¸ï¼å
¶ä¸ç¬¬1è¡ä¸ºæ é¢ï¼ç¬¬2è¡ä¸ºå¦ç§å称ã
ãã1.åæ¢å°Sheet2å·¥ä½è¡¨ä¸ï¼éä¸A1åå
æ ¼ï¼è¾å
¥å
¬å¼ï¼=IF(MOD(ROW()ï¼3)=0ï¼â³â³ï¼IF(0MOD?ROW()ï¼3(=1ï¼sheet1ï¼AÅ«ï¼INDEX(sheet1ï¼$Aï¼$Gï¼INT(((ROW()+4)/3)+1)ï¼COLUMN())))ã
ãã2.å次éä¸A1åå
æ ¼ï¼ç¨âå¡«å
æâå°ä¸è¿°å
¬å¼å¤å¶å°B1è³G1åå
æ ¼ä¸ï¼ç¶åï¼ååæ¶éä¸A1è³G1åå
æ ¼åºåï¼ç¨âå¡«å
æâå°ä¸è¿°å
¬å¼å¤å¶å°A2è³G185åå
æ ¼ä¸ã
ããè³æ¤ï¼æ绩æ¡åºæ¬æåï¼ä¸é¢ç®å修饰ä¸ä¸ã
ãã3.è°æ´å¥½è¡é«åå宽åï¼åæ¶éä¸A1è³G2åå
æ ¼åºå(第1ä½å¦ççæ绩æ¡åºå)ï¼æâæ ¼å¼âå·¥å
·æ âè¾¹æ¡âå³ä¾§çä¸ææé®ï¼å¨éååºç°çè¾¹æ¡å表ä¸ï¼éä¸âæææ¡çº¿âé项ï¼ä¸ºéä¸çåºåæ·»å è¾¹æ¡(å¦æä¸éè¦è¾¹æ¡ï¼å¯ä»¥ä¸è¿è¡æ¤æ¥åä¸é¢çæä½)ã
ãã4.åæ¶éä¸A1è³G3åå
æ ¼åºåï¼ç¹å»â常ç¨âå·¥å
·æ ä¸çâæ ¼å¼å·âæé®ï¼ç¶åæä½é¼ æ å·¦é®ï¼èªA4ææè³G186åå
æ ¼åºåï¼ä¸ºææçæ绩æ¡æ·»å è¾¹æ¡ã
ããæâæå°âæé®ï¼å³å¯å°æ绩æ¡æå°åºæ¥ã
ããååãExcelå¸®ä½ éå½æ°
ããå¨ç¨å½æ°å¤çæ°æ®æ¶ï¼å¸¸å¸¸ä¸ç¥é使ç¨ä»ä¹å½æ°æ¯è¾åéãExcelçâæç´¢å½æ°âåè½å¯ä»¥å¸®ä½ 缩å°èå´ï¼æéåºåéçå½æ°ã
ããæ§è¡âæå
¥âå½æ°âå½ä»¤ï¼æå¼âæå
¥å½æ°â对è¯æ¡ï¼å¨âæç´¢å½æ°âä¸é¢çæ¹æ¡ä¸è¾å
¥è¦æ±(å¦â计æ°â)ï¼ç¶ååå»â转å°âæé®ï¼ç³»ç»å³å»å°ä¸â计æ°âæå
³çå½æ°æéåºæ¥ï¼å¹¶æ¾ç¤ºå¨âéæ©å½æ°âä¸é¢çå表æ¡ä¸ãåç»åæ¥çç¸å
³ç帮å©æ件ï¼å³å¯å¿«éç¡®å®æéè¦çå½æ°ã
ããåäºãåæ¶æ¥çä¸åå·¥ä½è¡¨ä¸å¤ä¸ªåå
æ ¼å
çæ°æ®
ããææ¶ï¼æ们ç¼è¾æ个工ä½è¡¨(Sheet1)æ¶ï¼éè¦æ¥çå
¶å®å·¥ä½è¡¨ä¸(Sheet2ãSheet3â¦â¦)æ个åå
æ ¼çå
容ï¼å¯ä»¥å©ç¨Excelçâçè§çªå£âåè½æ¥å®ç°ã
ããæ§è¡âè§å¾âå·¥å
·æ âçè§çªå£âå½ä»¤ï¼æå¼âçè§çªå£âï¼åå»å
¶ä¸çâæ·»å çè§âæé®ï¼å±å¼âæ·»å çè§ç¹â对è¯æ¡ï¼ç¨é¼ æ éä¸éè¦æ¥ççåå
æ ¼åï¼ååå»âæ·»å âæé®ãéå¤åè¿°æä½ï¼æ·»å å
¶å®âçè§ç¹âã
ãã以åï¼æ 论å¨åªä¸ªå·¥ä½è¡¨ä¸ï¼åªè¦æå¼âçè§çªå£âï¼å³å¯æ¥çææ被çè§ç¹åå
æ ¼å
çæ°æ®åç¸å
³ä¿¡æ¯ã
ããåå
ã为åå
æ ¼å¿«éç»è¾¹æ¡
ããå¨Excel 2002以åççæ¬ä¸ï¼ä¸ºåå
æ ¼åºåæ·»å è¾¹æ¡çæä½æ¯è¾éº»ç¦ï¼Excel 2002对æ¤åè½è¿è¡äºå
¨æ°çæå±ã
ããåå»âæ ¼å¼âå·¥å
·æ ä¸âè¾¹æ¡âå³ä¾§çä¸ææé®ï¼å¨éåå¼¹åºçä¸æå表ä¸ï¼éâç»å¾è¾¹æ¡âé项ï¼æè
æ§è¡âè§å¾âå·¥å
·æ âè¾¹æ¡âå½ä»¤ï¼å±å¼âè¾¹æ¡âå·¥å
·æ ã
ããåå»å·¥å
·æ æ左侧çä¸ææé®ï¼éä¸ä¸ç§è¾¹æ¡æ ·å¼ï¼ç¶åå¨éè¦æ·»å è¾¹æ¡çåå
æ ¼åºåä¸ææï¼å³å¯ä¸ºç¸åºçåå
æ ¼åºåå¿«éç»ä¸è¾¹æ¡ã
ããæ示ï¼â å¦æç»éäºè¾¹æ¡ï¼æ²¡å
³ç³»ï¼éä¸å·¥å
·æ ä¸çâæ¦é¤è¾¹æ¡âæé®ï¼ç¶åå¨é误çè¾¹æ¡ä¸ææä¸ä¸ï¼å°±å¯ä»¥æ¸
é¤æé误çè¾¹æ¡ãâ¡å¦æéè¦ç»åºä¸åé¢è²çè¾¹æ¡ï¼å¯ä»¥å
æå·¥å
·æ å³ä¾§çâ线æ¡é¢è²âæé®ï¼å¨éåå¼¹åºçè°è²æ¿ä¸éä¸éè¦çé¢è²åï¼åç»è¾¹æ¡å³å¯ãâ¢è¿ä¸åè½è¿å¯ä»¥å¨åå
æ ¼ä¸ç»ä¸å¯¹è§çæ线ã
ãã
ããåä¸ãæ§å¶ç¹å®åå
æ ¼è¾å
¥ææ¬çé¿åº¦
ããä½ è½æ³è±¡å½ä½ å¨è¯¥è¾å
¥åä½æ°çåå
æ ¼ä¸å´å¡«å
¥äºä¸ä¸ªä¸¤ä½æ°ï¼æè
å¨è¯¥è¾å
¥æåçåå
æ ¼ä¸ä½ å´è¾å
¥äºæ°åçæ¶åï¼Excelå°±è½èªå¨å¤æãå³æ¶åæ并弹åºè¦åï¼é£è¯¥å¤å¥½å!è¦å®ç°è¿ä¸åè½ï¼å¯¹Excelæ¥è¯´ï¼ä¹å¹¶ä¸é¾ã
ããä¾å¦æ们å°å
æ å®ä½å°ä¸ä¸ªç»è®°â年份âçåå
æ ¼ä¸ï¼ä¸ºäºè¾å
¥çç»ä¸å计ç®çæ¹ä¾¿ï¼æ们å¸æâ年份âé½ç¨ä¸ä¸ªåä½æ°æ¥è¡¨ç¤ºãæ以ï¼æ们å¯ä»¥åå»âæ°æ®âèåçâæææ§âé项ãå¨â设置âå¡çâæææ§æ¡ä»¶âçâå
许âä¸æèåä¸éæ©âææ¬é¿åº¦âãç¶åå¨âæ°æ®âä¸æèåä¸éæ©âçäºâï¼ä¸âé¿åº¦â为â4âãåæ¶ï¼æ们åæ¥å°âåºéè¦åâå¡çä¸ï¼å°âè¾å
¥æ ææ°æ®æ¶æ¾ç¤ºçåºéè¦åâ设为âåæ¢âï¼å¹¶å¨âæ é¢âåâé误信æ¯âæ ä¸åå«å¡«å
¥âè¾å
¥ææ¬éæ³!âåâ请è¾å
¥åä½æ°å¹´ä»½ãâåæ ·ã
ããå¾æ¾ç¶ï¼å½å¦ææ人å¨è¯¥åå
æ ¼ä¸è¾å
¥çä¸æ¯ä¸ä¸ªåä½æ°æ¶ï¼Excelå°±ä¼å¼¹åºç¤ºçè¦å对è¯æ¡ï¼åè¯ä½ åºéåå ï¼å¹¶ç´å°ä½ è¾å
¥äºæ£ç¡®âæ ·å¼âçæ°å¼åæ¹å¯ç»§ç»å½å
¥ãç¥å¥å§?å
¶å®ï¼å¨Excelçâæ°æ®æææ§âå¤æä¸ï¼è¿æ许å¤ç¹æ®ç±»åçæ°æ®æ ¼å¼å¯éï¼æ¯å¦âææ¬ç±»åâåï¼âåºå大å°âåï¼âæ¶é´è¿è¿âåï¼å¦ä½ æå
´è¶£ï¼ä½ä¸èªä½ä¸»å¼ ï¼èªå·±è®¾è®¡ä¸ç§æ£æµæ åï¼è®©ä½ çExcelå±ç¤ºåºä¸ä¼ä¸åçå
彩å¢ã
ããåå
«ãæç»å¡«å
å¤å¼ è¡¨æ ¼çåºå®åå
æ ¼
ããæ们ç¥éæ¯æ¬¡æå¼Excelï¼è½¯ä»¶æ»æ¯é»è®¤æå¼å¤å¼ å·¥ä½è¡¨ãç±æ¤å°±å¯çåºExcelé¤äºæ¥æ强大çåå¼ è¡¨æ ¼çå¤çè½åï¼æ´éåå¨å¤å¼ ç¸äºå
³èçè¡¨æ ¼ä¸åè°å·¥ä½ãè¦åè°å
³èï¼å½ç¶é¦å
å°±éè¦åæ¥è¾å
¥ãå æ¤ï¼å¨å¾å¤æ
åµä¸ï¼é½ä¼éè¦åæ¶å¨å¤å¼ è¡¨æ ¼çç¸ååå
æ ¼ä¸è¾å
¥åæ ·çå
容ã
ããé£ä¹å¦ä½å¯¹è¡¨æ ¼è¿è¡æç»ç¼è¾å¢?é¦å
æ们åå»ç¬¬ä¸ä¸ªå·¥ä½è¡¨çæ ç¾åâSheet1âï¼ç¶åæä½Shifté®ï¼åå»æåä¸å¼ è¡¨æ ¼çæ ç¾åâSheet3â(å¦ææ们æ³å
³èçè¡¨æ ¼ä¸å¨ä¸èµ·ï¼å¯ä»¥æä½Ctrlé®è¿è¡ç¹é)ãæ¤æ¶ï¼æ们çå°Excelçæ é¢æ ä¸çå称åºç°äºâå·¥ä½ç»âåæ ·ï¼æ们就å¯ä»¥è¿è¡å¯¹å·¥ä½ç»çç¼è¾å·¥ä½äºãå¨éè¦ä¸æ¬¡è¾å
¥å¤å¼ è¡¨æ ¼å
容çåå
æ ¼ä¸é便åç¹ä»ä¹ï¼æ们åç°ï¼âå·¥ä½ç»âä¸ææè¡¨æ ¼çåä¸ä½ç½®é½æ¾ç¤ºåºç¸åºå
容äºã
ããä½æ¯ï¼ä»
ä»
åæ¥è¾å
¥æ¯è¿è¿ä¸å¤çãæ¯å¦ï¼æ们éè¦å°å¤å¼ è¡¨æ ¼ä¸ç¸åä½ç½®çæ°æ®ç»ä¸æ¹åæ ¼å¼è¯¥æä¹åå¢?é¦å
ï¼æ们å¾æ¹å第ä¸å¼ è¡¨æ ¼çæ°æ®æ ¼å¼ï¼ååå»âç¼è¾âèåçâå¡«å
âé项ï¼ç¶åå¨å
¶åèåä¸éæ©âè³åç»å·¥ä½è¡¨âãè¿æ¶ï¼Excelä¼å¼¹åºâå¡«å
æç»å·¥ä½è¡¨âç对è¯æ¡ï¼å¨è¿éæ们éæ©âæ ¼å¼âä¸é¡¹ï¼ç¹âç¡®å®âåï¼åç»ä¸ææè¡¨æ ¼è¯¥ä½ç½®çæ°æ®æ ¼å¼é½æ¹åäºã
ããåä¹ãæ¹åææ¬ç大å°å
ããå¨Excelä¸ï¼ä¸ºè¡¨æ ¼å¤çåæ°æ®è¿ç®æä¾æ强大æ¯æçä¸æ¯å
¬å¼ï¼ä¹ä¸æ¯æ°æ®åºï¼èæ¯å½æ°ãä¸è¦ä»¥ä¸ºExcelä¸çå½æ°åªæ¯é对æ°åï¼å
¶å®åªè¦æ¯åè¿è¡¨æ ¼ä¸çå
容ï¼Excelé½æ对å®ç¼è¾çç¹æ®å½æ°ãä¾å¦æ¹åææ¬ç大å°åã
ããå¨Excel 2002ä¸ï¼è³å°æä¾äºä¸ç§æå
³ææ¬å¤§å°å转æ¢çå½æ°ãå®ä»¬åå«æ¯ï¼â=UPPER(æºæ°æ®æ ¼)âï¼å°ææ¬å
¨é¨è½¬æ¢ä¸ºå¤§åï¼â=LOWER(æºæ°æ®æ ¼)âï¼å°ææ¬å
¨é¨è½¬æ¢æå°åï¼â=PROPER(æºæ°æ®æ ¼)âï¼å°ææ¬è½¬æ¢æâéå½âç大å°åï¼å¦è®©æ¯ä¸ªåè¯çé¦åæ¯ä¸ºå¤§åçãä¾å¦ï¼æ们å¨ä¸å¼ è¡¨æ ¼çA1åå
æ ¼ä¸è¾å
¥å°åçâexcelâï¼ç¶åå¨ç®æ åå
æ ¼ä¸è¾å
¥â=UPPER(A1)âï¼å车åå¾å°çç»æå°ä¼æ¯âEXCELâãåæ ·ï¼å¦ææ们å¨A3åå
æ ¼ä¸è¾å
¥âmr.weiweiâï¼ç¶åæ们å¨ç®æ åå
æ ¼ä¸è¾å
¥â=PROPER(A3)âï¼é£ä¹æ们å¾å°çç»æå°±å°æ¯âMr.Weiweiâäºã
ããäºåãæåå符串ä¸çç¹å®å符
ããé¤äºç´æ¥è¾å
¥å¤ï¼ä»å·²åå¨çåå
æ ¼å
容ä¸æåç¹å®å符è¾å
¥ï¼ç»å¯¹æ¯ä¸ç§çæ¶åçäºçæ¹æ³ï¼ç¹å«æ¯å¯¹ä¸äºæ ·å¼é·åçä¿¡æ¯æ´æ¯å¦æ¤ï¼æ¯å¦åå·¥ååãç±è´¯çä¿¡æ¯ã
ããå¦ææ们æ³å¿«éä»A4åå
æ ¼ä¸æå称è°çè¯ï¼æ好使ç¨â=RIGHT(æºæ°æ®æ ¼ï¼æåçå符æ°)âå½æ°ï¼å®è¡¨ç¤ºâä»A4åå
æ ¼æå³ä¾§çå符å¼å§æå2个å符âè¾å
¥å°æ¤ä½ç½®ãå½ç¶ï¼å¦æä½ æ³æåå§åçè¯ï¼åè¦ä½¿ç¨â=LEFT(æºæ°æ®æ ¼ï¼æåçå符æ°)âå½æ°äºãè¿æä¸ç§æ
åµï¼æ们ä¸ä»å·¦å³ä¸¤ç«¯å¼å§ï¼èæ¯ç´æ¥ä»æ°æ®ä¸é´æåå 个å符ãæ¯å¦æ们è¦æ³ä»A5åå
æ ¼ä¸æåâæ¦æ±â两个åæ¶ï¼å°±åªé¡»å¨ç®æ åå
æ ¼ä¸è¾å
¥â=MID(A5,4,2)âå°±å¯ä»¥äºãæææ¯ï¼å¨A5åå
æ ¼ä¸æå第4个å符åç两个å符ï¼ä¹å°±æ¯ç¬¬4å第5两个åã
ãã
äºåä¸ãæåºæ°è¯è½¬æ¢æåºæ°è¯ããå°è±æçåºæ°è¯è½¬æ¢æåºæ°è¯æ¯ä¸ä¸ªæ¯è¾å¤æçé®é¢ãå 为å®æ²¡æä¸ä¸ªåååºå®ç模å¼ï¼å¤§å¤æ°çæ°åå¨åæåºæ°è¯é½æ¯ä½¿ç¨çâthâåç¼ï¼ä½å¤§å¡æ¯ä»¥â1âãâ2âãâ3âç»å°¾çæ°åå´åå«æ¯ä»¥âstâãândâåârdâç»å°¾çãèä¸ï¼â11âãâ12âãâ13âè¿3个æ°ååä¸ä¸æ ·ï¼å®ä»¬å´ä»ç¶æ¯ä»¥âthâç»å°¾çãå æ¤ï¼å®ç°èµ·æ¥ä¼¼ä¹å¾å¤æãå
¶å®ï¼åªè¦æ们çæ¸
æè·¯ï¼æ¾åå½æ°ï¼åªé¡»ç¼åä¸ä¸ªå
¬å¼ï¼å°±å¯è½»æ¾è½¬æ¢äºãä¸ä¿¡ï¼è¯·çï¼â=A2&IF(OR(VALUE(RIGHT(A2,2))={11,12,13}),â³thâ³,IF(OR(VALUE(RIGHT(A2))={1,2,3,},CHOOSE(RIGHT(A2),â³stâ³,â³ndâ³,â³rdâ³),â³thâ³))âã该å
¬å¼å°½ç®¡ä¸é¿ä¸²ï¼ä¸è¿å«ä¹å´å¾æç¡®ï¼â å¦ææ°åæ¯ä»¥â11âãâ12âãâ13âç»å°¾çï¼åå ä¸âthâåç¼ï¼â¡å¦æ第1ååæ æï¼åæ£æ¥æåä¸ä¸ªæ°åï¼ä»¥â1âç»å°¾ä½¿ç¨âstâã以â2âç»å°¾ä½¿ç¨ândâã以â3âç»å°¾ä½¿ç¨ârdâï¼â¢å¦æ第1ã2ååé½æ æï¼é£ä¹å°±ç¨âthâãå æ¤ï¼åºæ°è¯ååºæ°è¯ç转æ¢å®ç°å¾å¦æ¤è½»æ¾åå¿«æ·ã
ããäºåäºãç¨ç¹æ®ç¬¦å·è¡¥é½ä½æ°
ããåè´¢å¡æè¿äº¤éç人é½ç¥éï¼å¨è´¦é¢å¡«å
æ¶æä¸ç§çº¦å®ä¿æçâå®å
¨å¡«åæ³âï¼é£å°±æ¯å°éé¢ä¸ç空ä½è¡¥é½ï¼æè
å¨æ¬¾é¡¹æ°æ®çåé¢å ä¸â$âä¹ç±»ç符å·ãå
¶å®ï¼å¨Excelä¸ä¹æ类似çè¾å
¥æ¹æ³ï¼é£å°±æ¯âREPTâå½æ°ãå®çåºæ¬æ ¼å¼æ¯â=REPT(âç¹æ®ç¬¦å·âï¼å¡«å
ä½æ°)âã
ããæ¯å¦ï¼æ们è¦å¨ä¸A2åå
æ ¼éçæ°åç»å°¾å¤ç¨â#âå·å¡«å
è³16ä½ï¼å°±åªé¡»å°å
¬å¼æ¹ä¸ºâ=(A2&REPT(â³#â³,16-LEN(A2)))âå³å¯ï¼å¦ææ们è¦å°A3åå
æ ¼ä¸çæ°åä»å·¦ä¾§ç¨â#âå·å¡«å
è³16ä½ï¼å°±è¦æ¹ä¸ºâ=REPT(â³#â³,16-LEN(A3)))&A3âï¼å¦å¤ï¼å¦ææ们æ³ç¨â#âå·å°A4ä¸çæ°å¼ä»ä¸¤ä¾§å¡«å
ï¼åéè¦æ¹ä¸ºâ=REPT(â³#â³,8-LEN(A4)/2)&A4&REPT(â³#â³)8-LEN(A4)/2)âï¼å¦æä½ è¿å«ä¸å¤ä¸ä¸ï¼è¦å¨A5åå
æ ¼æ°åç顶头å ä¸â$â符å·çè¯ï¼é£å°±æ¹ä¸ºï¼â=(TEXT(A5,â³$#,##0.00â³(&REPT(â³#â³,16-LEN(TEXT(A5,â³$#,##0.00â³))))âï¼ä¸å®è½æ»¡è¶³ä½ çè¦æ±ã
ããäºåä¸ãå建ææ¬ç´æ¹å¾
ããé¤äºéå¤è¾å
¥ä¹å¤ï¼âREPTâå½æ°å¦ä¸é¡¹è¡çåºç¨å°±æ¯å¯ä»¥ç´æ¥å¨å·¥ä½è¡¨ä¸å建ç±çº¯ææ¬ç»æçç´æ¹å¾ãå®çåçä¹å¾ç®åï¼å°±æ¯å©ç¨ç¹æ®ç¬¦å·çæºè½éå¤ï¼æç
§æå®åå
æ ¼ä¸ç计ç®ç»æ表ç°åºé¿çä¸ä¸çæ¯è¾ææã
ããæ¯å¦æ们é¦å
å¶ä½ä¸å¼ 年度æ¶æ¯å¹³è¡¡è¡¨ï¼ç¶åå°âEåâä½ä¸ºç´æ¹å¾ä¸âé¢ç®å
âæ份çæ¾ç¤ºåºï¼å°âGåâåä½ä¸ºç´æ¹å¾ä¸âè¶
é¢ç®âçæ¾ç¤ºåºãç¶åæ ¹æ®è¡¨ä¸å·²æç»æâDåâçæ°å¼ï¼ç¨âWingdingsâåä½çâNâå符表ç°åºæ¥ãå
·ä½æ¥éª¤å¦ä¸ï¼
ããå¨E3åå
æ ¼ä¸åå
¥å
¬å¼â=IF(D30,REPT(â³nâ³,ROUND(D3*100,0)),â³â³)âï¼ä¹æå¨å¡«å
æè³G14ãæ们çå°ï¼ä¸ä¸ªæ²¡æå¨ç¨Excelå¾è¡¨åè½ç纯ææ¬ç´æ¹å¾å·²å±ç°ç¼åï¼æ¹ä¾¿ç´è§ï¼ç®åæäºã
ããäºååã计ç®åå
æ ¼ä¸çæ»åæ°
ããææ¶åï¼æ们å¯è½å¯¹æ个åå
æ ¼ä¸å符çæ°éæå
´è¶£ï¼éè¦è®¡ç®åå
æ ¼ä¸çæ»åæ°ãè¦è§£å³è¿ä¸ªé®é¢ï¼é¤äºå©ç¨å°âSUBSTITUTEâå½æ°çèæ计ç®å¤ï¼è¿è¦å¨ç¨âTRIMâå½æ°æ¥å é¤ç©ºæ ¼ãæ¯å¦ç°å¨A1åå
æ ¼ä¸è¾å
¥æâhow many words?âåæ ·ï¼é£ä¹æ们就å¯ä»¥ç¨å¦ä¸ç表达å¼æ¥å¸®å¿ï¼
ããâ=IF(LEN(A1)=0,0,LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1),â³,â³,â³â³))+1)â
ãã该å¼çå«ä¹æ¯å
ç¨âSUBSTITUTEâå½æ°å建ä¸ä¸ªæ°å符串ï¼å¹¶ä¸å©ç¨âTRIMâå½æ°å é¤å
¶ä¸å符é´çç©ºæ ¼ï¼ç¶å计ç®æ¤å符串ååå符串çæ°ä½å·®ï¼ä»èå¾åºâç©ºæ ¼âçæ°éï¼æåå°ç©ºæ ¼æ°+1ï¼å°±å¾åºåå
æ ¼ä¸å符çæ°éäºã
ããäºåäºãå
³äºæ¬§å
ç转æ¢
ããè¿æ¯Excel 2002ä¸çæ°å·¥å
·ãå¦æä½ å¨å®è£
Excel 2002æ¶éæ©çæ¯é»è®¤æ¹å¼ï¼é£ä¹å¾å¯è½ä¸è½å¨âå·¥å
·âèåä¸æ¾å°å®ãä¸è¿ï¼æ们å¯ä»¥å
éæ©âå·¥å
·âèåä¸çâå è½½å®âï¼ç¶åå¨å¼¹åºçªå£ä¸å¾éâ欧å
å·¥å
·âé项ï¼âç¡®å®âåExcel 2002å°±ä¼èªè¡å®è£
äºã
ããå®æåæ们å次æå¼âå·¥å
·âèåï¼åå»â欧å
转æ¢âï¼ä¸ä¸ªç¬ç«çä¸é¨ç¨äºæ¬§å
å欧çæåå½è´§å¸è½¬æ¢ççªå£å°±åºç°äºãä¸Excelçå
¶ä»å½æ°çªå£ä¸æ ·ï¼æ们å¯ä»¥éè¿é¼ æ 设置货å¸è½¬æ¢çâæºåºåâåâç®æ åºåâï¼ç¶ååéæ©è½¬æ¢ååçä¸åå¸ç§å³å¯ãæ示çå°±æ¯â100欧å
âåå«è½¬æ¢æ欧çæåå½å
¶ä»è´§å¸çæ¯ä»·ä¸è§è¡¨ãå½ç¶ï¼ä¸ºäºä½¿æ¬§å
çæ¾ç¤ºæ´æ¾ä¸ä¸ï¼æ们è¿å¯ä»¥ç¹å»Excelå·¥å
·æ ä¸çâ欧å
âæé®ï¼è¿æ ·ææ转æ¢åçè´§å¸æ°å¼é½æ¯æ¬§å
çæ ·å¼äºã
温馨提示:内容为网友见解,仅供参考