{"id":539,"date":"2023-10-24T02:50:41","date_gmt":"2023-10-24T02:50:41","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/"},"modified":"2023-12-10T11:46:52","modified_gmt":"2023-12-10T11:46:52","slug":"%e5%87%80%e7%8e%b0%e5%80%bc","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528vba npv\u51fd\u6570\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-3703472438\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>VBA NPV \u529f\u80fd\u5217\u5728 VBA \u529f\u80fd\u7684\u91d1\u878d\u7c7b\u522b\u4e2d\u3002\u5f53\u60a8\u5728 VBA \u4ee3\u7801\u4e2d\u4f7f\u7528\u5b83\u65f6\uff0c<strong>\u5b83\u4f1a\u4f7f\u7528\u8d34\u73b0\u7387\u548c\u4e00\u7cfb\u5217\u672a\u6765\u73b0\u91d1\u6d41\u91cf\u6765\u8ba1\u7b97\u6295\u8d44\u7684\u51c0\u73b0\u503c<\/strong>\u3002\u60a8\u53ef\u4ee5\u4ece\u6b64\u5904\u4e86\u89e3\u6709\u5173\u51c0\u73b0\u503c\u7684\u66f4\u591a\u4fe1\u606f\u3002<\/p><h2 class=\"wp-block-heading\">\u53e5\u6cd5<\/h2><p><strong>NPV\uff08\u6bd4\u7387\uff0c\u503c\u6570\u7ec4\uff09<\/strong><\/p><h2 class=\"wp-block-heading\">\u8bba\u70b9<\/h2><ul><li><strong>Rate<\/strong> \uff1a\u4e00\u6bb5\u65f6\u95f4\u5185\u7684\u6298\u6263\u7387\uff08\u5fc5\u987b\u4ee5\u5c0f\u6570\u5f62\u5f0f\u63d0\u4f9b\uff09\u3002<\/li><li> <strong>ValueArray<\/strong> \uff1a\u4ee3\u8868\u4ed8\u6b3e\u548c\u6536\u5165\u7684\u73b0\u91d1\u6d41\u8868\u3002\u4ed8\u6b3e\u5c06\u4e3a\u8d1f\u503c\uff0c\u6536\u5165\u5c06\u4e3a\u6b63\u503c[\u5b83\u5fc5\u987b\u5305\u542b\u81f3\u5c11\u4e00\u4e2a\u8d1f\u503c\u548c\u81f3\u5c11\u4e00\u4e2a\u6b63\u503c]\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">\u4f8b\u5b50<\/h2><p>\u8981\u5b9e\u9645\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA NPV \u51fd\u6570\uff0c\u60a8\u9700\u8981\u67e5\u770b\u4e0b\u9762\u7684\u793a\u4f8b\uff0c\u5176\u4e2d\u6211\u4eec\u4f7f\u7528\u5b83\u7f16\u5199\u4e86 vba \u4ee3\u7801\uff1a <\/p><figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"\u793a\u4f8b-vba-npv-\u51fd\u6570\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png\" sizes=\"auto, \" srcset=\"\" alt=\"example-vba-npv-function\" width=\"840\" height=\"804\"><\/figure><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub example_NPV() Dim cF(0 To 9) As Double Dim dRate As Double cF(0) = -1000 cF(1) = 213.6 cF(2) = 259.22 cF(3) = 314.6 cF(4) = 381.79 cF(5) = 463.34 cF(6) = 562.31 cF(7) = 682.42 cF(8) = 828.19 cF(9) = 1005.09 Range(\"A1\").Value = NPV(dRate, cF) End Sub<\/code><\/pre><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 NPV \u6765\u8ba1\u7b97\u6295\u8d44\u7684\u51c0\u73b0\u503c\u3002\u6211\u4eec\u4f7f\u7528 -1000 \u4f5c\u4e3a\u521d\u59cb\u6295\u8d44\u91d1\u989d\u548c\u4e5d\u7b14\u6536\u6b3e\uff0c\u7ed3\u679c\u8fd4\u56de 3710\u3002<\/p><h2 class=\"wp-block-heading\">\u8bc4\u8bba<\/h2><ul><li>\u5982\u679c\u6211\u4eec\u63d0\u4f9b\u7684\u6570\u7ec4\u6ca1\u6709\u8d1f\u503c\u548c\u6b63\u503c\uff0cVBA \u5c06\u8fd4\u56de\u8fd0\u884c\u65f6\u9519\u8bef 5\u3002 <\/li><\/ul><div class=\"wp-block-group more-tutorials is-layout-flow\"><div class=\"wp-block-group__inner-container\"><h2 class=\"wp-block-heading\">\u66f4\u591a\u6559\u7a0b<\/h2><div class=\"wp-block-columns is-layout-flex wp-container-144\"><div class=\"wp-block-column is-layout-flow\"><ul><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u6570\u636e\u5e93\/\">VBA\u6570\u636e\u5e93<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u529b2\/\">VBA\u97f3\u9891<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/ipmt\/\">IPMT VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5185\u90e8\u6536\u5165\/\">VBA\u8f93\u51fa<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u7c73\u5c14\/\">VBA\u955c\u50cf<\/a><\/li><\/ul><\/div><div class=\"wp-block-column is-layout-flow\"><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-539","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u4f7f\u7528VBA NPV\u51fd\u6570\uff1f \uff08\u8bed\u6cd5+\u793a\u4f8b\uff09<\/title>\n<meta name=\"description\" content=\"\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u8bed\u6cd5\u3001\u53c2\u6570\u548c\u793a\u4f8b\u4ee3\u7801\u4f7f\u7528 VBA NPV \u51fd\u6570\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/cn\/\u51c0\u73b0\u503c\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u4f7f\u7528VBA NPV\u51fd\u6570\uff1f \uff08\u8bed\u6cd5+\u793a\u4f8b\uff09\" \/>\n<meta property=\"og:description\" content=\"\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u8bed\u6cd5\u3001\u53c2\u6570\u548c\u793a\u4f8b\u4ee3\u7801\u4f7f\u7528 VBA NPV \u51fd\u6570\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u51c0\u73b0\u503c\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:46:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/\",\"name\":\"\u5982\u4f55\u4f7f\u7528VBA NPV\u51fd\u6570\uff1f \uff08\u8bed\u6cd5+\u793a\u4f8b\uff09\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png\",\"datePublished\":\"2023-10-24T02:50:41+00:00\",\"dateModified\":\"2023-12-10T11:46:52+00:00\",\"description\":\"\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u8bed\u6cd5\u3001\u53c2\u6570\u548c\u793a\u4f8b\u4ee3\u7801\u4f7f\u7528 VBA NPV \u51fd\u6570\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u4f7f\u7528vba npv\u51fd\u6570\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"name\":\"Excel Advisor\",\"description\":\"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u4f7f\u7528VBA NPV\u51fd\u6570\uff1f \uff08\u8bed\u6cd5+\u793a\u4f8b\uff09","description":"\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u8bed\u6cd5\u3001\u53c2\u6570\u548c\u793a\u4f8b\u4ee3\u7801\u4f7f\u7528 VBA NPV \u51fd\u6570\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/exceladvisor.org\/cn\/\u51c0\u73b0\u503c\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u4f7f\u7528VBA NPV\u51fd\u6570\uff1f \uff08\u8bed\u6cd5+\u793a\u4f8b\uff09","og_description":"\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u8bed\u6cd5\u3001\u53c2\u6570\u548c\u793a\u4f8b\u4ee3\u7801\u4f7f\u7528 VBA NPV \u51fd\u6570\u3002","og_url":"https:\/\/exceladvisor.org\/cn\/\u51c0\u73b0\u503c\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:46:52+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/","url":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/","name":"\u5982\u4f55\u4f7f\u7528VBA NPV\u51fd\u6570\uff1f \uff08\u8bed\u6cd5+\u793a\u4f8b\uff09","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png","datePublished":"2023-10-24T02:50:41+00:00","dateModified":"2023-12-10T11:46:52+00:00","description":"\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u8bed\u6cd5\u3001\u53c2\u6570\u548c\u793a\u4f8b\u4ee3\u7801\u4f7f\u7528 VBA NPV \u51fd\u6570\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-npv.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e5%87%80%e7%8e%b0%e5%80%bc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u4f7f\u7528vba npv\u51fd\u6570\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/cn\/#website","url":"https:\/\/exceladvisor.org\/cn\/","name":"Excel Advisor","description":"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357","publisher":{"@id":"https:\/\/exceladvisor.org\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/cn\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/comments?post=539"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/539\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/539\/revisions\/986"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}