{"id":17126,"date":"2025-08-05T11:23:23","date_gmt":"2025-08-05T02:23:23","guid":{"rendered":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/?p=17126"},"modified":"2025-08-05T11:23:23","modified_gmt":"2025-08-05T02:23:23","slug":"%e3%82%a8%e3%82%af%e3%82%bb%e3%83%ab%e3%81%aesign%e9%96%a2%e6%95%b0%e3%81%a7%e7%ac%a6%e5%8f%b7%e5%88%a4%e5%ae%9a%e3%82%92%e8%87%aa%e5%8b%95%e5%8c%96%ef%bc%81%e4%bd%bf%e3%81%84%e6%96%b9%e3%81%a8","status":"publish","type":"post","link":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/17126\/","title":{"rendered":"\u30a8\u30af\u30bb\u30eb\u306eSIGN\u95a2\u6570\u3067\u7b26\u53f7\u5224\u5b9a\u3092\u81ea\u52d5\u5316\uff01\u4f7f\u3044\u65b9\u3068\u6d3b\u7528\u4f8b\u307e\u3068\u3081"},"content":{"rendered":"<p>\u6570\u5024\u306e\u7b26\u53f7\u3092\u5224\u5b9a\u3059\u308b\u306a\u3089\u3001\u30a8\u30af\u30bb\u30eb\u306eSIGN\u95a2\u6570\uff08<strong>\u30b5\u30a4\u30f3\u95a2\u6570<\/strong>\uff09\u304c\u4fbf\u5229\u3067\u3059\u3002\u6307\u5b9a\u3057\u305f\u6570\u5024\u304c\u6b63\u306a\u3089\u300c1\u300d\u3001\u8ca0\u306a\u3089\u300c-1\u300d\u3001\u30bc\u30ed\u306a\u3089\u300c0\u300d\u3092\u8fd4\u3059\u305f\u3081\u3001\u58f2\u4e0a\u306e\u5897\u6e1b\u5224\u5b9a\u3084\u6761\u4ef6\u5206\u5c90\u51e6\u7406\u304c\u7c21\u5358\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001SIGN\u95a2\u6570\u306e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u4f8b\u307e\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<div id=\"post-below-intro\"><\/div><h2>SIGN\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>SIGN\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/b><\/span>\u5f15\u6570\u306b\u7b26\u53f7\u3092\u5224\u5b9a\u3057\u305f\u3044\u6570\u5024\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3001\u7d50\u679c\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u69cb\u6587<\/h3>\n<div class=\"summary-box\">\n<div class=\"summary-box__title\"><span class=\"summary-box__title_tag\"><strong>=SIGN(\u6570\u5024)<\/strong><\/span><\/div>\n<ul class=\"summary-box__list summary-box__list\">\n<li>\u6570\u5024\uff1a\u7b26\u53f7\u3092\u5224\u5b9a\u3057\u305f\u3044\u6570\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u76f4\u63a5\u6570\u5024\u3084\u6570\u5f0f\u3092\u5165\u529b\u3057\u3066\u3082\u826f\u3044\u3067\u3059\u3057\u3001\u6570\u5024\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u30bb\u30eb\u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/div>\n<h3>\u5177\u4f53\u4f8b<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u4ee5\u4e0b\u306e\u8868\u3067\u3001SIGN\u95a2\u6570\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/b><\/span><\/p>\n<table>\n<thead>\n<tr>\n<th>\u6570\u5024<\/th>\n<th>SIGN\u95a2\u6570\u306e\u7d50\u679c\uff08\u7b26\u53f7\uff09<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>100<\/td>\n<td>1<\/td>\n<td style=\"text-align: left;\">\u6b63\u306e\u6570\u306a\u306e\u30671\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>-50<\/td>\n<td>-1<\/td>\n<td style=\"text-align: left;\">\u8ca0\u306e\u6570\u306a\u306e\u3067-1\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td style=\"text-align: left;\">\u30bc\u30ed\u306a\u306e\u30670\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>12.34<\/td>\n<td>1<\/td>\n<td style=\"text-align: left;\">\u6b63\u306e\u5c0f\u6570\u306e\u5834\u5408\u30821\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>-98.76<\/td>\n<td>-1<\/td>\n<td style=\"text-align: left;\">\u8ca0\u306e\u5c0f\u6570\u306e\u5834\u5408\u3082-1\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u30bb\u30eb\u306b\u5165\u529b\u3059\u308b\u5834\u5408<\/strong>\uff1a<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u30bb\u30ebA1\u306b\u300c100\u300d\u3068\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001B1\u306b\u300c=SIGN(A1)\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u300c1\u300d\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\u540c\u69d8\u306b\u3001A1\u306b\u300c-50\u300d\u3068\u5165\u529b\u3059\u308c\u3070\u300c-1\u300d\u3001A1\u306b\u300c0\u300d\u3068\u5165\u529b\u3059\u308c\u3070\u300c0\u300d\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>SIGN\u95a2\u6570\u306e\u5229\u7528\u30b7\u30fc\u30f3<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>SIGN\u95a2\u6570\u306f\u5358\u72ec\u3067\u4f7f\u308f\u308c\u308b\u3088\u308a\u3082\u3001\u4ed6\u306e\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u771f\u4fa1\u3092\u767a\u63ee\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/b><\/span>\u3053\u3053\u3067\u306f\u3001\u5177\u4f53\u7684\u306a\u5229\u7528\u30b7\u30fc\u30f3\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>1. \u6570\u5024\u306e\u5897\u6e1b\u306b\u57fa\u3065\u3044\u305f\u5224\u5b9a<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u58f2\u4e0a\u30c7\u30fc\u30bf\u3084\u6210\u7e3e\u30c7\u30fc\u30bf\u306a\u3069\u3001\u6570\u5024\u306e\u5897\u6e1b\u3092\u628a\u63e1\u3057\u305f\u3044\u5834\u5408\u306bSIGN\u95a2\u6570\u306f\u975e\u5e38\u306b\u6709\u52b9\u3067\u3059\u3002<\/b><\/span><\/p>\n<h4>\u4f8b\uff1a\u58f2\u4e0a\u306e\u524d\u6708\u6bd4\u3092\u8272\u5206\u3051\u8868\u793a\u3059\u308b<\/h4>\n<p>\u524d\u6708\u3068\u4eca\u6708\u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\u304c\u3042\u308a\u3001\u5897\u6e1b\u306b\u5fdc\u3058\u3066\u30bb\u30eb\u306e\u8272\u3092\u5909\u3048\u305f\u3044\u3068\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6708<\/th>\n<th>\u58f2\u4e0a\uff08\u4e07\u5186\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>4\u6708<\/td>\n<td>100<\/td>\n<\/tr>\n<tr>\n<td>5\u6708<\/td>\n<td>120<\/td>\n<\/tr>\n<tr>\n<td>6\u6708<\/td>\n<td>90<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"summary-box\">\n<ol class=\"summary-box__list summary-box__list--number\">\n<li><strong>\u5897\u6e1b\u984d\u306e\u7b97\u51fa<\/strong>\uff1a\u305f\u3068\u3048\u3070\u3001B3\u30bb\u30eb\u306b5\u6708\u306e\u58f2\u4e0a\uff08120\uff09\u3001B2\u30bb\u30eb\u306b4\u6708\u306e\u58f2\u4e0a\uff08100\uff09\u304c\u3042\u308b\u3068\u3057\u3066\u3001C3\u30bb\u30eb\u306b\u300c=B3-B2\u300d\u3068\u5165\u529b\u3057\u3001\u5897\u6e1b\u984d\u3092\u8a08\u7b97\u3057\u307e\u3059\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c20\u300d\uff09\u3002<\/li>\n<li><strong>SIGN\u95a2\u6570\u3067\u7b26\u53f7\u3092\u5224\u5b9a<\/strong>\uff1aC3\u30bb\u30eb\u306e\u5897\u6e1b\u984d\u306b\u5bfe\u3057\u3066\u300c=SIGN(C3)\u300d\u3092\u4f7f\u3046\u3068\u3001\u300c1\u300d\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3068\u7d44\u307f\u5408\u308f\u305b\u308b<\/strong>\uff1a\u3053\u306eSIGN\u95a2\u6570\u306e\u7d50\u679c\u3092\u5229\u7528\u3057\u3066\u3001\u4e0b\u8a18\u306e\u901a\u308a\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u5897\u6e1b\u306b\u5fdc\u3058\u3066\u81ea\u52d5\u7684\u306b\u30bb\u30eb\u306e\u8272\u3092\u5909\u3048\u3089\u308c\u307e\u3059\u3002\n<ul>\n<li>SIGN\u95a2\u6570\u306e\u7d50\u679c\u304c\u300c1\u300d\u306a\u3089\u7dd1\uff08\u5897\u52a0\uff09<\/li>\n<li>SIGN\u95a2\u6570\u306e\u7d50\u679c\u304c\u300c-1\u300d\u306a\u3089\u8d64\uff08\u6e1b\u5c11\uff09<\/li>\n<li>SIGN\u95a2\u6570\u306e\u7d50\u679c\u304c\u300c0\u300d\u306a\u3089\u9ec4\u8272\uff08\u5909\u5316\u306a\u3057\uff09<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/div>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u8996\u899a\u7684\u306b\u30c7\u30fc\u30bf\u306e\u50be\u5411\u3092\u7d20\u65e9\u304f\u628a\u63e1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>2. \u6761\u4ef6\u5206\u5c90\u306e\u7c21\u7d20\u5316<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>IF\u95a2\u6570\u306a\u3069\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u6761\u4ef6\u5206\u5c90\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002<\/b><\/span><\/p>\n<h4>\u4f8b\uff1a\u6210\u7e3e\u306e\u8a55\u4fa1\u3092\u81ea\u52d5\u5316\u3059\u308b<\/h4>\n<p>\u30c6\u30b9\u30c8\u306e\u70b9\u6570\u304c\u3042\u308a\u3001\u524d\u56de\u306e\u30c6\u30b9\u30c8\u306e\u5f97\u70b9\u3092\u57fa\u6e96\u306b\u3001\u4eca\u56de\u306e\u30c6\u30b9\u30c8\u306e\u5f97\u70b9\u304c\u5897\u3048\u3066\u3044\u308b\u304b\u6e1b\u3063\u3066\u3044\u308b\u304b\u3092\u8a55\u4fa1\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>A<\/th>\n<th>B<\/th>\n<th>C<\/th>\n<th>D<\/th>\n<th>E<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u751f\u5f92\u540d<\/td>\n<td>\u524d\u56de\u306e\u5f97\u70b9<\/td>\n<td>\u4eca\u56de\u306e\u5f97\u70b9<\/td>\n<td>\u5dee\u5206<\/td>\n<td>\u8a55\u4fa1<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u7530\u4e2d<\/td>\n<td>65<\/td>\n<td>75<\/td>\n<td>10<\/td>\n<td>\u6210\u9577\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u9234\u6728<\/td>\n<td>98<\/td>\n<td>80<\/td>\n<td>-18<\/td>\n<td>\u4f4e\u4e0b\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>\u4f50\u85e4<\/td>\n<td>74<\/td>\n<td>74<\/td>\n<td>0<\/td>\n<td>\u6a2a\u3070\u3044<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>=IF((C2-B2)=1,&#8221;\u6210\u9577\u4e2d&#8221;,IF(SIGN(C2-B2)=-1,&#8221;\u4f4e\u4e0b\u4e2d&#8221;,&#8221;\u6a2a\u3070\u3044&#8221;))<\/p>\n<p>\u70b9\u6570\u304c\u524d\u56de\u306e\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3088\u308a\u3082\u30d7\u30e9\u30b9\u3067\u3042\u308c\u3070\u300c\u6210\u9577\u4e2d\u300d\u3001\u4e0b\u964d\u3057\u3066\u3044\u308c\u3070\u300c\u4f4e\u4e0b\u4e2d\u300d\u306a\u3069\u3001\u7b26\u53f7\u306b\u57fa\u3065\u304f\u5224\u5b9a\u3092\u52a0\u3048\u305f\u3044\u5834\u5408\u306bSIGN\u95a2\u6570\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>SIGN\u95a2\u6570\u306e\u5fdc\u7528<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>SIGN\u95a2\u6570\u306f\u3001\u4ed6\u306e\u6570\u5b66\u95a2\u6570\u3084\u8ad6\u7406\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3055\u3089\u306b\u8907\u96d1\u306a\u51e6\u7406\u3092\u52b9\u7387\u7684\u306b\u884c\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/b><\/span><\/p>\n<h3>1. \u7d76\u5bfe\u5024\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>SIGN\u95a2\u6570\u3068ABS\u95a2\u6570\uff08\u7d76\u5bfe\u5024\u3092\u8fd4\u3059\u95a2\u6570\uff09\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u6570\u5024\u306e\u7d76\u5bfe\u5024\u3068\u305d\u306e\u7b26\u53f7\u3092\u5225\u3005\u306b\u6271\u3048\u307e\u3059\u3002<\/b><\/span><\/p>\n<h4>\u4f8b\uff1a\u6570\u5024\u306e\u7b26\u53f7\u3092\u4fdd\u6301\u3057\u3064\u3064\u3001\u7d76\u5bfe\u5024\u306e\u8a08\u7b97\u3092\u884c\u3046<\/h4>\n<p>\u305f\u3068\u3048\u3070\u3001\u8a08\u7b97\u7d50\u679c\u306e\u7d76\u5bfe\u5024\u3092\u4f7f\u3044\u305f\u3044\u304c\u3001\u5143\u306e\u6570\u5024\u306e\u7b26\u53f7\u3082\u3069\u3053\u304b\u3067\u8003\u616e\u3057\u305f\u3044\u5834\u5408\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>=SIGN(A1)*ABS(A1) \u306f\u3001\u5143\u306eA1\u306e\u5024\u3092\u305d\u306e\u307e\u307e\u8fd4\u3057\u307e\u3059\u3002\u4e00\u898b\u3059\u308b\u3068\u7121\u99c4\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u8907\u96d1\u306a\u8a08\u7b97\u5f0f\u306e\u4e2d\u3067\u90e8\u5206\u7684\u306b\u7b26\u53f7\u3060\u3051\u3092\u62bd\u51fa\u3057\u3001\u305d\u306e\u5f8c\u306b\u7d76\u5bfe\u5024\u6f14\u7b97\u3092\u9069\u7528\u3059\u308b\u3088\u3046\u306a\u5834\u5408\u306b\u3001\u5f0f\u306e\u53ef\u8aad\u6027\u3092\u9ad8\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<h3>2. \u914d\u5217\u6570\u5f0f\u3067\u306e\u6d3b\u7528<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>Excel\u306e\u4e0a\u7d1a\u8005\u5411\u3051\u306e\u5185\u5bb9\u306b\u306a\u308a\u307e\u3059\u304c\u3001SIGN\u95a2\u6570\u306f\u914d\u5217\u6570\u5f0f\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u8907\u6570\u30bb\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u5ea6\u306b\u51e6\u7406\u3059\u308b\u969b\u306b\u3082\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/b><\/span><\/p>\n<h4>\u4f8b\uff1a\u6761\u4ef6\u306b\u5408\u3046\u30c7\u30fc\u30bf\u306e\u500b\u6570\u3092\u6570\u3048\u308b<\/h4>\n<p>\u7279\u5b9a\u306e\u7bc4\u56f2\u5185\u306e\u6b63\u306e\u6570\u3001\u8ca0\u306e\u6570\u3001\u30bc\u30ed\u306e\u500b\u6570\u3092\u305d\u308c\u305e\u308c\u6570\u3048\u308b\u5834\u5408\u306a\u3069\u306b\u3001SUMPRODUCT\u95a2\u6570\u3084COUNTIFS\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001A1:A10\u306e\u7bc4\u56f2\u306b\u6570\u5024\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u3057\u3066\u3001\u6b63\u306e\u6570\u306e\u500b\u6570\u3092\u6570\u3048\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6570\u5f0f\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>=SUMPRODUCT(&#8211;(SIGN(A1:A10)=1))<\/p>\n<p>\u3053\u306e\u6570\u5f0f\u306f\u3001A1:A10\u306e\u5404\u30bb\u30eb\u306b\u5bfe\u3057\u3066SIGN\u95a2\u6570\u3092\u9069\u7528\u3057\u3001\u7d50\u679c\u304c\u300c1\u300d\u306b\u306a\u308b\u5834\u5408\u306bTRUE\uff08\u771f\uff09\u3001\u305d\u308c\u4ee5\u5916\u306e\u5834\u5408\u306bFALSE\uff08\u507d\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002&#8211;\uff08\u4e8c\u91cd\u8ca0\u6f14\u7b97\u5b50\uff09\u306fTRUE\u30921\u306b\u3001FALSE\u30920\u306b\u5909\u63db\u3059\u308b\u305f\u3081\u3001\u6700\u7d42\u7684\u306b\u6b63\u306e\u6570\u306e\u5408\u8a08\u500b\u6570\u3092\u7b97\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u30de\u30af\u30ed\u3084VBA\u3067\u306e\u5229\u7528<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>Excel VBA\uff08Visual Basic for Applications\uff09\u3067\u3082SIGN\u95a2\u6570\u306f\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/b><\/span>VBA\u30b3\u30fc\u30c9\u5185\u3067\u6570\u5024\u306e\u7b26\u53f7\u306b\u57fa\u3065\u3044\u305f\u51e6\u7406\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<div style=\"padding: 10px; margin-bottom: 10px; border: 1px solid #333333;\">\n<p style=\"text-align: left;\"><strong>Sub CheckSign()<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0Dim myNumber As Double<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0myNumber = Range(&#8220;A1&#8221;).Value &#8216; A1\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0Select Case Sgn(myNumber) &#8216; VBA\u3067\u306fSIGN\u95a2\u6570\u3067\u306f\u306a\u304fSgn\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Case 1<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0MsgBox &#8220;A1\u30bb\u30eb\u306e\u5024\u306f\u6b63\u306e\u6570\u3067\u3059\u3002&#8221;<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Case -1<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0MsgBox &#8220;A1\u30bb\u30eb\u306e\u5024\u306f\u8ca0\u306e\u6570\u3067\u3059\u3002&#8221;<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Case 0<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0MsgBox &#8220;A1\u30bb\u30eb\u306e\u5024\u306f\u30bc\u30ed\u3067\u3059\u3002&#8221;<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>\u00a0\u00a0\u00a0\u00a0End Select<\/strong><\/p>\n<p style=\"text-align: left;\"><strong>End Sub<\/strong><\/p>\n<\/div>\n<p>\u3053\u306eVBA\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30b7\u30fc\u30c8\u4e0a\u306eA1\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\u3057\u3001VBA\u306eSgn\u95a2\u6570\uff08Excel\u306eSIGN\u95a2\u6570\u306b\u76f8\u5f53\uff09\u3092\u4f7f\u3063\u3066\u7b26\u53f7\u3092\u5224\u5b9a\u3057\u3001\u305d\u306e\u7d50\u679c\u306b\u5fdc\u3058\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<h2>SIGN\u95a2\u6570\u306e\u6d3b\u7528\u3067Excel\u306e\u7b26\u53f7\u5224\u5b9a\u3092\u3082\u3063\u3068\u30b9\u30de\u30fc\u30c8\u306b\uff01<\/h2>\n<p>Excel\u306eSIGN\u95a2\u6570\u306f\u3001\u6570\u5024\u306e\u7b26\u53f7\uff08\u6b63\u30fb\u8ca0\u30fb\u30bc\u30ed\uff09\u3092\u77ac\u6642\u306b\u5224\u5b9a\u3067\u304d\u308b\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u5f37\u529b\u306a\u95a2\u6570\u3067\u3059\u3002\u58f2\u4e0a\u306e\u5897\u6e1b\u3084\u6761\u4ef6\u5206\u5c90\u306e\u6574\u7406\u3001\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3067\u306e\u8272\u5206\u3051\u306a\u3069\u3001\u5e45\u5e83\u3044\u7528\u9014\u3067\u6d3b\u8e8d\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001IF\u95a2\u6570\u3084ABS\u95a2\u6570\u3001\u914d\u5217\u6570\u5f0f\u3001VBA\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u51e6\u7406\u3084\u81ea\u52d5\u5316\u306b\u3082\u5bfe\u5fdc\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u4f7f\u3044\u65b9\u3092\u53c2\u8003\u306b\u3001SIGN\u95a2\u6570\u3092\u696d\u52d9\u306b\u53d6\u308a\u5165\u308c\u308c\u3070\u3001Excel\u3067\u306e\u30c7\u30fc\u30bf\u5206\u6790\u304c\u4e00\u6bb5\u3068\u30b9\u30e0\u30fc\u30ba\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u5024\u306e\u7b26\u53f7\u3092\u5224\u5b9a\u3059\u308b\u306a\u3089\u3001\u30a8\u30af\u30bb\u30eb\u306eSIGN\u95a2\u6570\uff08\u30b5\u30a4\u30f3\u95a2\u6570\uff09\u304c\u4fbf\u5229\u3067\u3059\u3002\u6307\u5b9a\u3057\u305f\u6570\u5024\u304c\u6b63\u306a\u3089\u300c1\u300d\u3001\u8ca0\u306a\u3089\u300c-1\u300d\u3001\u30bc\u30ed\u306a\u3089\u300c0\u300d\u3092\u8fd4\u3059\u305f\u3081\u3001\u58f2\u4e0a\u306e\u5897\u6e1b\u5224\u5b9a\u3084\u6761\u4ef6\u5206\u5c90\u51e6\u7406\u304c\u7c21\u5358\u306b\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001SIGN\u95a2\u6570\u306e [&hellip;]<\/p>\n","protected":false},"author":31,"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-17126","post","type-post","status-publish","format-standard","hentry","category-excel"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/17126","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\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/comments?post=17126"}],"version-history":[{"count":7,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/17126\/revisions"}],"predecessor-version":[{"id":17286,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/17126\/revisions\/17286"}],"wp:attachment":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/media?parent=17126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/categories?post=17126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/tags?post=17126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}