{"id":17894,"date":"2025-08-25T17:46:53","date_gmt":"2025-08-25T08:46:53","guid":{"rendered":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/?p=17894"},"modified":"2025-08-25T17:46:53","modified_gmt":"2025-08-25T08:46:53","slug":"code%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%ef%bc%9a%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/17894\/","title":{"rendered":"CODE\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff1a\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>CODE \u95a2\u6570\u306f\u3001\u6307\u5b9a\u3057\u305f\u6587\u5b57\u306e\u6570\u5024\u30b3\u30fc\u30c9\u3092\u8fd4\u3059\u30c6\u30ad\u30b9\u30c8\u95a2\u6570\u3067\u3059\u3002Windows \u3067\u306f ANSI\uff08\u73fe\u5728\u306e\u30b3\u30fc\u30c9\u30da\u30fc\u30b8\uff09\u3001Mac \u3067\u306f Macintosh \u6587\u5b57\u30bb\u30c3\u30c8\u306e\u30b3\u30fc\u30c9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0\u3001\u6587\u5b57\u306e\u7a2e\u985e\u5224\u5b9a\u3001\u30bd\u30fc\u30c8\u9806\u306e\u78ba\u8a8d\u3001\u7279\u6b8a\u6587\u5b57\u306e\u691c\u51fa\u3001\u6587\u5b57\u5217\u306e\u6697\u53f7\u5316\u306a\u3069\u3001\u6587\u5b57\u30ec\u30d9\u30eb\u3067\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306a\u5834\u9762\u3067\u6d3b\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5168\u89d2\u30fb\u534a\u89d2\u306e\u5224\u5b9a\u3001\u5236\u5fa1\u6587\u5b57\u306e\u691c\u51fa\u3001\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u8b58\u5225\u3001\u7279\u6b8a\u8a18\u53f7\u306e\u9664\u53bb\u306a\u3069\u3092\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u57fa\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001CODE\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u65b9\u6cd5\u3001\u4ed6\u306e\u95a2\u6570\u3068\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\u307e\u3067\u3001\u521d\u5fc3\u8005\u3067\u3082\u5b9f\u52d9\u306b\u6d3b\u304b\u305b\u308b\u3088\u3046\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div id=\"post-below-intro\"><\/div><h2>CODE\u95a2\u6570\u3068\u306f<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>CODE\u95a2\u6570\u306f\u3001\u6587\u5b57\u5217\u306e\u6700\u521d\u306e\u6587\u5b57\u306b\u5bfe\u5fdc\u3059\u308b\u6570\u5024\u30b3\u30fc\u30c9\u3092\u8fd4\u3059\u30c6\u30ad\u30b9\u30c8\u95a2\u6570\u3067\u3059\u3002<\/b><\/span>\u82f1\u6570\u5b57\u3001\u65e5\u672c\u8a9e\u3001\u8a18\u53f7\u306a\u3069\u3001\u3042\u3089\u3086\u308b\u6587\u5b57\u306b\u306f\u56fa\u6709\u306e\u6570\u5024\u30b3\u30fc\u30c9\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u304a\u308a\u3001CODE\u95a2\u6570\u3067\u305d\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002Windows \u74b0\u5883\u3067\u306f Unicode \u3067\u306f\u306a\u304f\u3001\u73fe\u5728\u306e\u30b3\u30fc\u30c9\u30da\u30fc\u30b8\uff08\u4f8b: Windows-1252 \u306a\u3069\uff09\u306b\u57fa\u3065\u304f ANSI \u30b3\u30fc\u30c9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u95a2\u6570\u306e\u91cd\u8981\u306a\u7279\u5fb4\u306f\u3001\u898b\u305f\u76ee\u3067\u306f\u5224\u5225\u3057\u306b\u304f\u3044\u6587\u5b57\u306e\u9055\u3044\u3092\u6570\u5024\u3068\u3057\u3066\u660e\u78ba\u306b\u8b58\u5225\u3067\u304d\u308b\u3053\u3068\u3067\u3059\u3002\u30b9\u30da\u30fc\u30b9\u3068\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u3001\u30cf\u30a4\u30d5\u30f3\u3068\u30c0\u30c3\u30b7\u30e5\u306a\u3069\u3001\u4f3c\u305f\u6587\u5b57\u3092\u78ba\u5b9f\u306b\u533a\u5225\u3067\u304d\u3001\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u3092\u4fdd\u3064\u3046\u3048\u3067\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>CODE\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>\u95a2\u6570\u306e\u69cb\u6587\u3092\u7406\u89e3\u3059\u308b<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>CODE\u95a2\u6570\u306e\u69cb\u6587\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/b><\/span><\/p>\n<p>=CODE(\u6587\u5b57\u5217)<\/p>\n<p>\u6587\u5b57\u5217\u306b\u306f\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3057\u305f\u3044\u6587\u5b57\u307e\u305f\u306f\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6587\u5b57\u5217\u306e\u5834\u5408\u306f\u6700\u521d\u306e\u6587\u5b57\u306e\u30b3\u30fc\u30c9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u7684\u306a\u4f7f\u7528\u4f8b<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/b><\/span><\/p>\n<p><strong>\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u6587\u5b57\u30b3\u30fc\u30c9\uff1a<\/strong><\/p>\n<p>=CODE(&#8220;A&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a65<\/p>\n<p>=CODE(&#8220;a&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a97<\/p>\n<p>=CODE(&#8220;Z&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a90<\/p>\n<p><strong>\u6570\u5b57\u3068\u8a18\u53f7\u306e\u4f8b\uff1a<\/strong><\/p>\n<p>=CODE(&#8220;0&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a48<\/p>\n<p>=CODE(&#8220;9&#8243;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a57<\/p>\n<p>=CODE(&#8221; &#8220;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a32\uff08\u534a\u89d2\u30b9\u30da\u30fc\u30b9\uff09<\/p>\n<p>=CODE(&#8220;\u3000&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a8481\u00a0 \uff08\u5168\u89d2\u30b9\u30da\u30fc\u30b9\uff09<\/p>\n<h3>\u65e5\u672c\u8a9e\u6587\u5b57\u306e\u6587\u5b57\u30b3\u30fc\u30c9<\/h3>\n<p><strong>\u3072\u3089\u304c\u306a\u3001\u30ab\u30bf\u30ab\u30ca\u3001\u6f22\u5b57\u306e\u4f8b\uff1a<\/strong><\/p>\n<p>=CODE(&#8220;\u3042&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a9250\u00a0 \uff08\u3072\u3089\u304c\u306a\u300c\u3042\u300d\uff09<\/p>\n<p>=CODE(&#8220;\u30a2&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a9506\u00a0 \uff08\u30ab\u30bf\u30ab\u30ca\u300c\u30a2\u300d\uff09<\/p>\n<p>=CODE(&#8220;\u4e9c&#8221;)\u00a0 \u00a0 &#8216; \u7d50\u679c\uff1a12321 \uff08\u6f22\u5b57\u300c\u4e9c\u300d\uff09<\/p>\n<h2>CODE\u95a2\u6570\u306e\u5b9f\u8df5\u7684\u306a\u5229\u7528\u30b7\u30fc\u30f3<\/h2>\n<h3>\u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0\u3067\u306e\u6d3b\u7528<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u4f01\u696d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306f\u3001\u898b\u305f\u76ee\u304c\u540c\u3058\u3067\u3082\u7570\u306a\u308b\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u6587\u5b57\u304c\u6df7\u5728\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/b><\/span>CODE\u95a2\u6570\u3092\u4f7f\u3063\u3066\u3001\u534a\u89d2\u30fb\u5168\u89d2\u306e\u7d71\u4e00\u3001\u985e\u4f3c\u6587\u5b57\u306e\u691c\u51fa\u3001\u4e0d\u53ef\u8996\u6587\u5b57\u306e\u767a\u898b\u306a\u3069\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u9867\u5ba2\u540d\u7c3f\u3067\u300c-\u300d\uff08\u534a\u89d2\u30cf\u30a4\u30d5\u30f3\uff09\u3001\u300c\uff0d\u300d\uff08\u5168\u89d2\u30cf\u30a4\u30d5\u30f3\uff09\u3001\u300c\u2015\u300d\uff08\u30c0\u30c3\u30b7\u30e5\uff09\u304c\u6df7\u5728\u3057\u3066\u3044\u308b\u5834\u5408\u3001CODE\u95a2\u6570\u3067\u8b58\u5225\u3057\u3001\u7d71\u4e00\u51e6\u7406\u3092\u884c\u3048\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u691c\u7d22\u3084\u7167\u5408\u306e\u30df\u30b9\u3092\u9632\u304e\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u5165\u529b\u691c\u8a3c\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u30d5\u30a9\u30fc\u30e0\u5165\u529b\u3084\u30c7\u30fc\u30bf\u30a4\u30f3\u30dd\u30fc\u30c8\u6642\u306e\u691c\u8a3c\u3067\u3001\u8a31\u53ef\u3055\u308c\u305f\u6587\u5b57\u306e\u307f\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/b><\/span>\u4f8b\u3048\u3070\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u4f7f\u7528\u53ef\u80fd\u306a\u6587\u5b57\u306e\u7bc4\u56f2\u3092\u6587\u5b57\u30b3\u30fc\u30c9\u3067\u5b9a\u7fa9\u3057\u3001\u4e0d\u6b63\u306a\u6587\u5b57\u3092\u691c\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u88fd\u54c1\u30b3\u30fc\u30c9\u3084\u4f1a\u54e1ID\u306a\u3069\u3001\u7279\u5b9a\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u8981\u6c42\u3055\u308c\u308b\u9805\u76ee\u3067\u3001\u4f7f\u7528\u53ef\u80fd\u306a\u6587\u5b57\u7a2e\u3092\u53b3\u5bc6\u306b\u7ba1\u7406\u3059\u308b\u969b\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n<h3>\u6587\u5b57\u5217\u306e\u30bd\u30fc\u30c8\u9806\u5e8f\u306e\u7406\u89e3<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>Excel \u306e\u4e26\u3079\u66ff\u3048\u306f\u3001\u73fe\u5728\u306e\u5730\u57df\u8a2d\u5b9a\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u7167\u5408\u9806\u5e8f\uff08\u30b3\u30e9\u30c6\u30fc\u30b7\u30e7\u30f3\uff09\u306b\u5f93\u3063\u3066\u884c\u308f\u308c\u307e\u3059\u3002<\/b><\/span>\u5358\u306a\u308b\u6587\u5b57\u30b3\u30fc\u30c9\u9806\u3067\u306f\u306a\u304f\u3001\u8a00\u8a9e\u3054\u3068\u306e\u30eb\u30fc\u30eb\uff08\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u6271\u3044\u3001\u30a2\u30af\u30bb\u30f3\u30c8\u4ed8\u304d\u6587\u5b57\u306e\u4e26\u3073\u3001\u8a18\u53f7\u30fb\u7a7a\u767d\u306e\u512a\u5148\u5ea6\u306a\u3069\uff09\u3092\u8003\u616e\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u4e26\u3073\u9806\u3092\u8abf\u3079\u308b\u969b\u306f\u3001CODE \u95a2\u6570\u306e\u6570\u5024\u3060\u3051\u3067\u306a\u304f\u30ed\u30b1\u30fc\u30eb\u56fa\u6709\u306e\u7167\u5408\u898f\u5247\u3082\u610f\u8b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3082\u3057\u7d14\u7c8b\u306b\u300c\u30b3\u30fc\u30c9\u5024\u306e\u5927\u5c0f\u300d\u3067\u4e26\u3079\u66ff\u3048\u305f\u3044\u5834\u5408\u306f\u3001\u88dc\u52a9\u5217\u306b<\/p>\n<p>=CODE(LEFT(A1,1))<\/p>\n<p>\u306a\u3069\u3067\u6570\u5024\u3092\u51fa\u529b\u3057\u3001\u305d\u306e\u5217\u3092\u6570\u5024\u3068\u3057\u3066\u30bd\u30fc\u30c8\u3059\u308b\u65b9\u6cd5\u304c\u78ba\u5b9f\u3067\u3059\u3002<\/p>\n<h2>CODE\u95a2\u6570\u306e\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af<\/h2>\n<h3>\u6587\u5b57\u7a2e\u306e\u5224\u5b9a<\/h3>\n<p><strong>\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u5224\u5b9a\uff1a<\/strong><\/p>\n<p>=IF(AND(CODE(A1)&gt;=65, CODE(A1)&lt;=90), &#8220;\u5927\u6587\u5b57&#8221;,<\/p>\n<p>IF(AND(CODE(A1)&gt;=97, CODE(A1)&lt;=122), &#8220;\u5c0f\u6587\u5b57&#8221;, &#8220;\u305d\u306e\u4ed6&#8221;))<\/p>\n<h3>\u5236\u5fa1\u6587\u5b57\u306e\u691c\u51fa<\/h3>\n<p><strong>\u5370\u5237\u3067\u304d\u306a\u3044\u5236\u5fa1\u6587\u5b57\u306e\u691c\u51fa\u4f8b\uff1a<\/strong><\/p>\n<p>=IF(CODE(A1)&lt;32, &#8220;\u5236\u5fa1\u6587\u5b57\uff08\u30b3\u30fc\u30c9: &#8221; &amp; CODE(A1) &amp; &#8220;\uff09&#8221;, &#8220;\u901a\u5e38\u6587\u5b57&#8221;)<\/p>\n<h3>\u6587\u5b57\u306e\u5909\u63db<\/h3>\n<p><strong>\u5927\u6587\u5b57\u3092\u5c0f\u6587\u5b57\u306b\u5909\u63db\uff08\u30b3\u30fc\u30c9\u30ec\u30d9\u30eb\uff09\uff1a<\/strong><\/p>\n<p>=IF(AND(CODE(A1)&gt;=65, CODE(A1)&lt;=90), CHAR (CODE(A1)+32), A1)<\/p>\n<h2>\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u3068\u5bfe\u7b56<\/h2>\n<h3>#VALUE!\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u51e6<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u7a7a\u767d\u30bb\u30eb\u3084\u6570\u5024\u3092\u53c2\u7167\u3057\u305f\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/b><\/span><\/p>\n<p><strong>\u57fa\u672c\u7684\u306a\u30a8\u30e9\u30fc\u51e6\u7406\uff1a<\/strong><\/p>\n<p>=IFERROR(CODE(A1), &#8220;\u6587\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044&#8221;)<\/p>\n<p><strong>\u8a73\u7d30\u306a\u5165\u529b\u30c1\u30a7\u30c3\u30af\uff1a<\/strong><\/p>\n<p>=IF(LEN(A1)=0, &#8220;\u7a7a\u767d\u3067\u3059&#8221;,<\/p>\n<p>IF(ISNUMBER(A1), CODE(TEXT(A1, &#8220;@&#8221;)),<\/p>\n<p>CODE(A1)))<\/p>\n<p>CODE\u95a2\u6570\u306f\u6587\u5b57\u5217\u3092\u671f\u5f85\u3059\u308b\u305f\u3081\u3001\u6570\u5024\u3084\u7a7a\u767d\u30bb\u30eb\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002TEXT\u95a2\u6570\u3067\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u304b\u3001\u4e8b\u524d\u306b\u30c7\u30fc\u30bf\u578b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3067\u304d\u307e\u3059\u3002\u7279\u306b\u3001\u8a08\u7b97\u7d50\u679c\u306e\u30bb\u30eb\u3092\u53c2\u7167\u3059\u308b\u5834\u5408\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h3>\u6587\u5b57\u5217\u306e\u6700\u521d\u306e\u6587\u5b57\u306e\u307f<\/h3>\n<p><strong>\u8907\u6570\u6587\u5b57\u306e\u6587\u5b57\u5217\u3067\u306e\u52d5\u4f5c\uff1a<\/strong><\/p>\n<p>=CODE(&#8220;ABC&#8221;)\u00a0 &#8216; \u7d50\u679c\uff1a65\uff08&#8221;A&#8221;\u306e\u30b3\u30fc\u30c9\uff09<\/p>\n<p><strong>\u5168\u6587\u5b57\u306e\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff1a\uff08Excel<\/strong> <strong>365 \u4f8b\uff09:<\/strong><\/p>\n<p>=TEXTJOIN(&#8220;, &#8220;, TRUE,<\/p>\n<p>MAP(SEQUENCE(LEN(A1)),<\/p>\n<p>LAMBDA(i, MID(A1, i, 1) &amp; &#8220;: &#8221; &amp; CODE(MID(A1, i, 1)))))<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>SEQUENCE \u3067 1\uff5eLEN(A1) \u306e\u9023\u756a\u3092\u4f5c\u308a\u3001MAP \u3067 1 \u6587\u5b57\u305a\u3064 CODE \u3092\u9069\u7528\u3057\u3066\u300c\u6587\u5b57: \u30b3\u30fc\u30c9\u300d\u306e\u4e00\u89a7\u3092\u9023\u7d50\u3057\u307e\u3059\u3002<\/b><\/span>\u52d5\u7684\u914d\u5217\u306b\u672a\u5bfe\u5fdc\u306e\u74b0\u5883\u3067\u306f\u3001ROW(INDIRECT(&#8220;1:&#8221;&amp;LEN($A$1))) \u3092\u4f7f\u3063\u305f\u914d\u5217\u6570\u5f0f\u3067\u4ee3\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u898b\u3048\u306a\u3044\u6587\u5b57\u306e\u51e6\u7406<\/h3>\n<p><strong>\u6539\u884c\u3084\u30bf\u30d6\u306a\u3069\u306e\u7279\u6b8a\u6587\u5b57\uff1a<\/strong><\/p>\n<p>=SWITCH(CODE(A1),<\/p>\n<p>9, &#8220;\u30bf\u30d6&#8221;,<\/p>\n<p>10, &#8220;\u6539\u884c(LF)&#8221;,<\/p>\n<p>13, &#8220;\u6539\u884c(CR)&#8221;,<\/p>\n<p>32, &#8220;\u30b9\u30da\u30fc\u30b9&#8221;,<\/p>\n<p>&#8220;\u305d\u306e\u4ed6: &#8221; &amp; CODE(A1))<\/p>\n<p><strong>\u4e0d\u53ef\u8996\u6587\u5b57\u306e\u53ef\u8996\u5316\uff1a<\/strong><\/p>\n<p>=IF(CODE(A1)&lt;32, &#8220;[\u5236\u5fa1\u6587\u5b57:&#8221; &amp; CODE(A1) &amp; &#8220;]&#8221;, A1)<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3084\u30b3\u30d4\u30fc&amp;\u30da\u30fc\u30b9\u30c8\u3067\u3001\u898b\u3048\u306a\u3044\u5236\u5fa1\u6587\u5b57\u304c\u542b\u307e\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/b><\/span>CODE\u95a2\u6570\u3067\u691c\u51fa\u3057\u3001\u9069\u5207\u306b\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h2>CODE\u95a2\u6570\u3068\u4ed6\u306e\u95a2\u6570\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h2>\n<h3>CHAR\u95a2\u6570\u3067\u306e\u76f8\u4e92\u5909\u63db<\/h3>\n<p><strong>\u6587\u5b57\u30b3\u30fc\u30c9\u304b\u3089\u6587\u5b57\u3078\u306e\u5909\u63db\u3068\u691c\u8a3c\uff1a<\/strong><\/p>\n<p>&#8216;&#8212; ASCII\/ANSI \u7bc4\u56f2\uff081\u301c255\uff09\u306e\u307f\u4fdd\u8a3c &#8212;<\/p>\n<p>=IFERROR(CHAR (CODE(A1)), &#8220;#VALUE!&#8221;)<\/p>\n<p>&#8216;\u5143\u306e\u6587\u5b57\u306b\u623b\u308b\u304b\u30c1\u30a7\u30c3\u30af\uff081\u301c255 \u306e\u5834\u5408\u306e\u307f\uff09<\/p>\n<p>=IF(AND(CODE(A1)&lt;=255, A1=CHAR (CODE(A1))), &#8220;\u6b63\u5e38&#8221;, &#8220;\u5909\u63db\u4e0d\u53ef&#8221;)<\/p>\n<p>&#8216;&#8212; Unicode \u3082\u542b\u3081\u3066\u78ba\u5b9f\u306b\u623b\u3059\u4f8b\uff08Excel 2013 \u4ee5\u964d\uff09 &#8212;<\/p>\n<p>=UNICHAR (UNICODE(A1))\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &#8216; \u5e38\u306b\u5143\u306e\u6587\u5b57\u306b\u623b\u308b<\/p>\n<p>=IF(A1=UNICHAR (UNICODE(A1)), &#8220;\u6b63\u5e38&#8221;, &#8220;\u5909\u63db\u30a8\u30e9\u30fc&#8221;)<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>CODE\u95a2\u6570\u3068CHAR\u95a2\u6570\u306f\u9006\u306e\u6a5f\u80fd\u3092\u6301\u3061\u3001\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u6587\u5b57\u3068\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u76f8\u4e92\u5909\u63db\u304c\u53ef\u80fd\u3067\u3059\u3002<\/b><\/span>\u30c7\u30fc\u30bf\u306e\u6697\u53f7\u5316\u30fb\u5fa9\u53f7\u5316\u306e\u57fa\u790e\u3068\u3057\u3066\u4f7f\u7528\u3057\u305f\u308a\u3001\u6587\u5b57\u306e\u6b63\u898f\u5316\u51e6\u7406\u306b\u6d3b\u7528\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u7279\u6b8a\u6587\u5b57\u306e\u7f6e\u63db\u51e6\u7406\u3067\u3082\u6709\u52b9\u3067\u3059\u3002<\/p>\n<h3>IF\u95a2\u6570\u3067\u306e\u6587\u5b57\u7a2e\u5225\u5206\u985e<\/h3>\n<p><strong>\u8a73\u7d30\u306a\u6587\u5b57\u5206\u985e\u30b7\u30b9\u30c6\u30e0\uff1a<\/strong><\/p>\n<p>=IF(CODE(A1)&lt;=31, &#8220;\u5236\u5fa1\u6587\u5b57&#8221;,<\/p>\n<p>IF(CODE(A1)&lt;=47, &#8220;\u8a18\u53f7&#8221;,<\/p>\n<p>IF(CODE(A1)&lt;=57, &#8220;\u6570\u5b57&#8221;,<\/p>\n<p>IF(CODE(A1)&lt;=64, &#8220;\u8a18\u53f7&#8221;,<\/p>\n<p>IF(CODE(A1)&lt;=90, &#8220;\u5927\u6587\u5b57&#8221;,<\/p>\n<p>IF(CODE(A1)&lt;=96, &#8220;\u8a18\u53f7&#8221;,<\/p>\n<p>IF(CODE(A1)&lt;=122, &#8220;\u5c0f\u6587\u5b57&#8221;, &#8220;\u305d\u306e\u4ed6&#8221;)))))))<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>\u6587\u5b57\u306e\u7a2e\u985e\u3092\u81ea\u52d5\u5224\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u5165\u529b\u691c\u8a3c\u3084\u30c7\u30fc\u30bf\u5206\u985e\u304c\u52b9\u7387\u5316\u3055\u308c\u307e\u3059\u3002<\/b><\/span>\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8907\u96d1\u6027\u30c1\u30a7\u30c3\u30af\u3084\u3001\u30c7\u30fc\u30bf\u5f62\u5f0f\u306e\u59a5\u5f53\u6027\u78ba\u8a8d\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002\u591a\u8a00\u8a9e\u5bfe\u5fdc\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u3088\u308a\u8a73\u7d30\u306a\u7bc4\u56f2\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h3>SUMPRODUCT\u95a2\u6570\u3067\u306e\u7279\u5b9a\u6587\u5b57\u306e\u30ab\u30a6\u30f3\u30c8<\/h3>\n<p><strong>\u6587\u5b57\u30b3\u30fc\u30c9\u7bc4\u56f2\u3067\u306e\u96c6\u8a08\uff1a<\/strong><\/p>\n<p>=SUMPRODUCT((CODE(MID(A1,ROW(INDIRECT(&#8220;1:&#8221;&amp;LEN(A1))),1))&gt;=48)*<\/p>\n<p>(CODE(MID(A1,ROW(INDIRECT(&#8220;1:&#8221;&amp;LEN(A1))),1))&lt;=57))<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>\u4e0a\u5f0f\u306f\u30bb\u30eb A1 \u5185\u306e \u534a\u89d2\u6570\u5b57 \u306e\u500b\u6570\u3092\u6c42\u3081\u308b\u4f8b\u3067\u3059\u3002<\/b><\/span>\u5168\u89d2\u6570\u5b57\u3082\u30ab\u30a6\u30f3\u30c8\u3057\u305f\u3044\u5834\u5408\u306f\u3001CODE \u306e\u623b\u308a\u5024\u3067 \u5168\u89d2\u201c\uff10\u201d (65296) \u301c \u201c\uff19\u201d (65305) \u306e\u7bc4\u56f2\u3092\u6761\u4ef6\u306b\u8ffd\u52a0\u3059\u308b\u304b\u3001`UNICODE` \u95a2\u6570\u3092\u7528\u3044\u3066 Unicode \u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u5224\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5ea6\u8a55\u4fa1\u3084\u3001\u30c7\u30fc\u30bf\u5f62\u5f0f\u306e\u691c\u8a3c\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u540c\u69d8\u306e\u65b9\u6cd5\u3067\u3001\u5927\u6587\u5b57\u3001\u5c0f\u6587\u5b57\u3001\u8a18\u53f7\u306e\u6570\u3082\u96c6\u8a08\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>SUBSTITUTE\u95a2\u6570\u3067\u306e\u6587\u5b57\u7f6e\u63db<\/h3>\n<p><strong>\u7279\u5b9a\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u7bc4\u56f2\u306e\u6587\u5b57\u3092\u7f6e\u63db\uff1a<\/strong><\/p>\n<p>=IF(AND(CODE(LEFT(A1,1))&gt;=65, CODE(LEFT(A1,1))&lt;=90),<\/p>\n<p>SUBSTITUTE(A1, LEFT(A1,1), CHAR (CODE(LEFT(A1,1))+32)), A1)<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u57fa\u6e96\u306b\u3057\u305f\u6761\u4ef6\u4ed8\u304d\u7f6e\u63db\u304c\u53ef\u80fd\u3067\u3059\u3002<\/b><\/span>\u5168\u89d2\u30fb\u534a\u89d2\u306e\u7d71\u4e00\u3001\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306e\u5909\u63db\u3001\u7279\u6b8a\u6587\u5b57\u306e\u9664\u53bb\u306a\u3069\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002\u3088\u308a\u8907\u96d1\u306a\u5909\u63db\u30eb\u30fc\u30eb\u3082\u5b9f\u88c5\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>LEN\u95a2\u6570\u3067\u306e\u6587\u5b57\u6570\u3068\u30d0\u30a4\u30c8\u6570\u306e\u6bd4\u8f03<\/h3>\n<p><strong>\u5168\u89d2\u30fb\u534a\u89d2\u306e\u5224\u5b9a\uff1a<\/strong><\/p>\n<p>=IF(CODE(A1)&gt;255, &#8220;\u5168\u89d2\u6587\u5b57&#8221;, &#8220;\u534a\u89d2\u6587\u5b57&#8221;)<\/p>\n<p>=IF(LENB(A1)&gt;LEN(A1), &#8220;\u5168\u89d2\u3092\u542b\u3080&#8221;, &#8220;\u534a\u89d2\u306e\u307f&#8221;)<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>\u6587\u5b57\u30b3\u30fc\u30c9\u3068\u30d0\u30a4\u30c8\u6570\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u6587\u5b57\u306e\u7a2e\u985e\u3092\u3088\u308a\u6b63\u78ba\u306b\u5224\u5b9a\u3067\u304d\u307e\u3059\u3002<\/b><\/span>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u767b\u9332\u524d\u306e\u30c1\u30a7\u30c3\u30af\u3084\u3001\u8868\u793a\u5e45\u306e\u8a08\u7b97\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n<h3>UNICODE\u95a2\u6570\u3068\u306e\u6bd4\u8f03\uff08Excel 2013\u4ee5\u964d\uff09<\/h3>\n<p><strong>\u3088\u308a\u8a73\u7d30\u306a\u6587\u5b57\u30b3\u30fc\u30c9\u53d6\u5f97\uff1a<\/strong><\/p>\n<p>=IF(CODE(A1)=UNICODE(A1), &#8220;\u57fa\u672cASCII&#8221;, &#8220;\u62e1\u5f35\u6587\u5b57&#8221;)<\/p>\n<p>=&#8221;CODE: &#8221; &amp; CODE(A1) &amp; &#8221; \/ UNICODE: &#8221; &amp; UNICODE(A1)<\/p>\n<p><span style=\"background-color: #ffff99;\"><b>UNICODE\u95a2\u6570\u306f\u3088\u308a\u5e83\u7bc4\u56f2\u306e\u6587\u5b57\u306b\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u7d75\u6587\u5b57\u3084\u30b5\u30ed\u30b2\u30fc\u30c8\u30da\u30a2\u6587\u5b57\u3082\u6b63\u78ba\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/b><\/span>\u7528\u9014\u306b\u5fdc\u3058\u3066\u4f7f\u3044\u5206\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h2>CODE\u95a2\u6570\u3067\u6587\u5b57\u3092\u6570\u5024\u306b\u5909\u63db\u3057\u9055\u3044\u3092\u898b\u5206\u3051\u308b<\/h2>\n<p>CODE\u95a2\u6570\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u6587\u5b57\u5217\u5185\u306e\u5148\u982d\u6587\u5b57\u306e\u6570\u5024\u30b3\u30fc\u30c9\u3092\u8fd4\u3059\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>\u5168\u89d2\u3068\u534a\u89d2\u3001\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3001\u5236\u5fa1\u6587\u5b57\u3068\u8868\u793a\u6587\u5b57\u306a\u3069\u3092\u6570\u5024\u3067\u533a\u5225\u3067\u304d\u308b\u305f\u3081\u3001\u5165\u529b\u30c1\u30a7\u30c3\u30af\u3084\u30c7\u30fc\u30bf\u6574\u5f62\u306e\u5224\u65ad\u6750\u6599\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>IF\u95a2\u6570\u3084CHAR\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u6587\u5b57\u306e\u5224\u5b9a\u3084\u5909\u63db\u3092\u884c\u3046\u51e6\u7406\u3082\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u898b\u305f\u76ee\u304c\u4f3c\u3066\u3044\u308b\u7570\u306a\u308b\u6587\u5b57\u304c\u6df7\u5728\u3059\u308b\u5834\u5408\u3084\u3001\u6587\u5b57\u7a2e\u3054\u3068\u306b\u51e6\u7406\u3092\u5206\u3051\u305f\u3044\u5834\u9762\u3067\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>CODE\u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001Excel\u4e0a\u306e\u6587\u5b57\u51e6\u7406\u3092\u5b89\u5b9a\u3055\u305b\u3001\u8aa4\u5224\u5b9a\u3084\u7167\u5408\u30df\u30b9\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CODE \u95a2\u6570\u306f\u3001\u6307\u5b9a\u3057\u305f\u6587\u5b57\u306e\u6570\u5024\u30b3\u30fc\u30c9\u3092\u8fd4\u3059\u30c6\u30ad\u30b9\u30c8\u95a2\u6570\u3067\u3059\u3002Windows \u3067\u306f ANSI\uff08\u73fe\u5728\u306e\u30b3\u30fc\u30c9\u30da\u30fc\u30b8\uff09\u3001Mac \u3067\u306f Macintosh \u6587\u5b57\u30bb\u30c3\u30c8\u306e\u30b3\u30fc\u30c9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0\u3001\u6587\u5b57\u306e\u7a2e\u985e\u5224\u5b9a [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-17894","post","type-post","status-publish","format-standard","hentry","category-excel"],"acf":{"pdf-dlbox-url":"","templatesbox-title":"\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8","templatesbox-img1-url":"","templatesbox-img1-title":"","templatesbox-img2-url":"","templatesbox-img2-title":"","templatesbox-desc":"\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7121\u6599\u3067\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u305c\u3072\u3054\u81ea\u7531\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002","templatesbox-btn-text":"\u7121\u6599\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","templatesbox-link":""},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/17894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/comments?post=17894"}],"version-history":[{"count":9,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/17894\/revisions"}],"predecessor-version":[{"id":18524,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/17894\/revisions\/18524"}],"wp:attachment":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/media?parent=17894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/categories?post=17894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/tags?post=17894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}