{"id":21288,"date":"2025-12-02T11:34:53","date_gmt":"2025-12-02T02:34:53","guid":{"rendered":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/?p=21288"},"modified":"2026-03-18T16:04:00","modified_gmt":"2026-03-18T07:04:00","slug":"%e3%82%b9%e3%83%97%e3%83%ac%e3%83%83%e3%83%89%e3%82%b7%e3%83%bc%e3%83%88%e3%81%a7%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%a8%e3%81%af%ef%bc%9f2%e3%81%a4%e3%81%ae%e3%82%b7%e3%83%bc","status":"publish","type":"post","link":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/21288\/","title":{"rendered":"\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u3068\u306f\uff1f2\u3064\u306e\u30b7\u30fc\u30c8\u306e\u5dee\u5206\u3092\u52b9\u7387\u7684\u306b\u898b\u3064\u3051\u308b\u5b9f\u8df5\u30c6\u30af\u30cb\u30c3\u30af"},"content":{"rendered":"<p>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\uff08Google Sheets\uff09\u3067\u8907\u6570\u306e\u30b7\u30fc\u30c8\u3084\u30c7\u30fc\u30bf\u3092\u6bd4\u8f03\u3059\u308b\u3053\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u5909\u66f4\u5c65\u6b74\u3092\u8ffd\u8de1\u3057\u3001\u30df\u30b9\u3092\u767a\u898b\u3057\u3001\u60c5\u5831\u306e\u6574\u5408\u6027\u3092\u78ba\u8a8d\u3059\u308b\u4e0a\u3067\u6b20\u304b\u305b\u306a\u3044\u4f5c\u696d\u3067\u3059\u3002\u7279\u306b\u5b9a\u671f\u7684\u306b\u66f4\u65b0\u3055\u308c\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u3001\u8907\u6570\u4eba\u3067\u7de8\u96c6\u3059\u308b\u6587\u66f8\u3067\u306f\u3001\u5909\u66f4\u7b87\u6240\u3092\u6b63\u78ba\u306b\u628a\u63e1\u3059\u308b\u3053\u3068\u304c\u696d\u52d9\u52b9\u7387\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u30672\u3064\u306e\u30b7\u30fc\u30c8\u306e\u5dee\u5206\u3092\u6bd4\u8f03\u3059\u308b\u69d8\u3005\u306a\u65b9\u6cd5\u304b\u3089\u3001\u95a2\u6570\u3092\u4f7f\u3063\u305f\u81ea\u52d5\u5316\u3001\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u306b\u3088\u308b\u8996\u899a\u5316\u307e\u3067\u3001\u5b9f\u8df5\u7684\u306a\u6bd4\u8f03\u30c6\u30af\u30cb\u30c3\u30af\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<div id=\"post-below-intro\"><\/div><h2>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u30672\u3064\u306e\u30b7\u30fc\u30c8\u3092\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>2\u3064\u306e\u30b7\u30fc\u30c8\u306e\u5dee\u5206\u3092\u6bd4\u8f03\u3059\u308b\u6700\u3082\u57fa\u672c\u7684\u306a\u65b9\u6cd5\u306f\u3001IF\u95a2\u6570\u3084EXACT\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u5bfe\u5fdc\u3059\u308b\u30bb\u30eb\u306e\u5024\u3092\u6bd4\u8f03\u3057\u3001\u4e00\u81f4\u30fb\u4e0d\u4e00\u81f4\u3092\u5224\u5b9a\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/b><\/span> \u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u9055\u3044\u3092\u4f53\u7cfb\u7684\u306b\u691c\u51fa\u3057\u3001\u5909\u66f4\u7b87\u6240\u3092\u660e\u78ba\u306b\u628a\u63e1\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u6bd4\u8f03\u3057\u305f\u30442\u3064\u306e\u30b7\u30fc\u30c8\u304c\u3042\u308b\u5834\u5408\u30013\u3064\u76ee\u306e\u30b7\u30fc\u30c8\u3092\u300c\u6bd4\u8f03\u7d50\u679c\u300d\u3068\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u6bd4\u8f03\u7d50\u679c\u30b7\u30fc\u30c8\u306eA1\u30bb\u30eb\u306b\u3001=IF(Sheet1!A1=Sheet2!A1,&#8221;\u4e00\u81f4&#8221;,&#8221;\u4e0d\u4e00\u81f4&#8221;)\u3068\u3044\u3046\u6570\u5f0f\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3053\u306e\u6570\u5f0f\u306f\u3001Sheet1\u306eA1\u30bb\u30eb\u3068Sheet2\u306eA1\u30bb\u30eb\u306e\u5024\u3092\u6bd4\u8f03\u3057\u3001\u540c\u3058\u3067\u3042\u308c\u3070\u300c\u4e00\u81f4\u300d\u3001\u7570\u306a\u308c\u3070\u300c\u4e0d\u4e00\u81f4\u300d\u3068\u8868\u793a\u3057\u307e\u3059\u3002\u3053\u306e\u6570\u5f0f\u3092\u6bd4\u8f03\u3057\u305f\u3044\u7bc4\u56f2\u5168\u4f53\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u3067\u3001\u5168\u4f53\u7684\u306a\u5dee\u5206\u3092\u4e00\u89a7\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3088\u308a\u8a73\u7d30\u306a\u6bd4\u8f03\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306f\u3001EXACT\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002=EXACT(Sheet1!A1,Sheet2!A1)\u3068\u3044\u3046\u6570\u5f0f\u306f\u3001\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u9055\u3044\u3082\u542b\u3081\u3066\u53b3\u5bc6\u306b\u6bd4\u8f03\u3057\u3001\u5b8c\u5168\u4e00\u81f4\u306e\u5834\u5408\u306fTRUE\u3001\u308f\u305a\u304b\u3067\u3082\u9055\u3044\u304c\u3042\u308c\u3070FALSE\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u5fae\u5999\u306a\u9055\u3044\u3092\u691c\u51fa\u3059\u308b\u969b\u306b\u7279\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n<h3>\u5dee\u5206\u306e\u5177\u4f53\u7684\u306a\u5185\u5bb9\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u5358\u306b\u4e00\u81f4\u30fb\u4e0d\u4e00\u81f4\u3092\u8868\u793a\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u5177\u4f53\u7684\u306b\u3069\u306e\u3088\u3046\u306b\u7570\u306a\u308b\u306e\u304b\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002<\/b><\/span>\u4ee5\u4e0b\u306e\u6570\u5f0f\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4e21\u65b9\u306e\u5024\u3092\u4e26\u3079\u3066\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>=IF(Sheet1!A1=Sheet2!A1,&#8221;\u540c\u3058&#8221;,Sheet1!A1&amp;&#8221; \u2192 &#8220;&amp;Sheet2!A1)<\/p>\n<p>\u3053\u306e\u6570\u5f0f\u306b\u3088\u308a\u3001\u5024\u304c\u7570\u306a\u308b\u5834\u5408\u306f\u300c\u5143\u306e\u5024 \u2192 \u65b0\u3057\u3044\u5024\u300d\u3068\u3044\u3046\u5f62\u5f0f\u3067\u5909\u66f4\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4f55\u304c\u3069\u306e\u3088\u3046\u306b\u5909\u66f4\u3055\u308c\u305f\u306e\u304b\u3092\u4e00\u76ee\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6570\u5024\u30c7\u30fc\u30bf\u306e\u6bd4\u8f03\u3067\u306f\u3001\u5dee\u984d\u3092\u8a08\u7b97\u3059\u308b\u3053\u3068\u3082\u6709\u7528\u3067\u3059\u3002<\/p>\n<p>=IF(ISNUMBER(Sheet1!A1),Sheet2!A1-Sheet1!A1,&#8221;&#8221;)\u3068\u3044\u3046\u6570\u5f0f\u3067\u3001\u6570\u5024\u306e\u5834\u5408\u306e\u307f\u5dee\u984d\u3092\u8868\u793a\u3057\u3001\u30c6\u30ad\u30b9\u30c8\u306e\u5834\u5408\u306f\u7a7a\u767d\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u58f2\u4e0a\u30c7\u30fc\u30bf\u3084\u5728\u5eab\u6570\u306a\u3069\u3001\u6570\u5024\u306e\u5897\u6e1b\u3092\u8ffd\u8de1\u3059\u308b\u969b\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<h3>\u914d\u5217\u6570\u5f0f\u306b\u3088\u308b\u4e00\u62ec\u6bd4\u8f03<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>ARRAYFORMULA\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u7bc4\u56f2\u5168\u4f53\u3092\u4e00\u5ea6\u306b\u6bd4\u8f03\u3067\u304d\u307e\u3059\u3002<\/b><\/span>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u6570\u5f0f\u3067\u3001A\u5217\u304b\u3089Z\u5217\u30011\u884c\u76ee\u304b\u3089100\u884c\u76ee\u307e\u3067\u3092\u4e00\u62ec\u3067\u6bd4\u8f03\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>=ARRAYFORMULA(IF(Sheet1!A1:Z100=Sheet2!A1:Z100,&#8221;\u25cb&#8221;,&#8221;\u00d7&#8221;))<\/p>\n<p>\u3053\u306e\u914d\u5217\u6570\u5f0f\u306b\u3088\u308a\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u6bd4\u8f03\u3067\u304d\u3001\u624b\u52d5\u3067\u6570\u5f0f\u3092\u30b3\u30d4\u30fc\u3059\u308b\u624b\u9593\u304c\u7701\u3051\u307e\u3059\u3002\u307e\u305f\u3001\u30b7\u30fc\u30c8\u306e\u69cb\u9020\u304c\u5909\u66f4\u3055\u308c\u3066\u3082\u3001\u81ea\u52d5\u7684\u306b\u6bd4\u8f03\u7bc4\u56f2\u304c\u8abf\u6574\u3055\u308c\u308b\u305f\u3081\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u5bb9\u6613\u3067\u3059\u3002<\/p>\n<h2>\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3092\u4f7f\u3063\u305f\u8996\u899a\u7684\u306a\u5dee\u5206\u8868\u793a<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5909\u66f4\u304c\u3042\u3063\u305f\u30bb\u30eb\u3092\u81ea\u52d5\u7684\u306b\u8272\u4ed8\u3051\u3057\u3001\u8996\u899a\u7684\u306b\u5dee\u5206\u3092\u628a\u63e1\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/b><\/span> \u30ab\u30e9\u30fc\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u3088\u308a\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u306e\u4e2d\u304b\u3089\u5909\u66f4\u7b87\u6240\u3092\u77ac\u6642\u306b\u767a\u898b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u300c\u6bd4\u8f03\u7d50\u679c\u30b7\u30fc\u30c8\u300d\u306e\u7bc4\u56f2\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u300c\u8868\u793a\u5f62\u5f0f\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u300d\u3092\u9078\u629e\u3057\u3001\u300c\u30bb\u30eb\u306e\u66f8\u5f0f\u8a2d\u5b9a\u6761\u4ef6\u300d\u3067\u300c\u30c6\u30ad\u30b9\u30c8\u304c\u6b21\u3092\u542b\u3080\u300d\u3092\u9078\u3073\u307e\u3059\u3002\u5024\u306b\u300c\u4e0d\u4e00\u81f4\u300d\uff08\u307e\u305f\u306f\u300c\u00d7\u300d\uff09\u3068\u5165\u529b\u3057\u3001\u66f8\u5f0f\u8a2d\u5b9a\u3067\u80cc\u666f\u8272\u3092\u8d64\u306a\u3069\u306e\u76ee\u7acb\u3064\u8272\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5dee\u7570\u304c\u3042\u308b\u7b87\u6240\u304c\u77ac\u6642\u306b\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u3001\u4e00\u76ee\u3067\u5206\u304b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u540c\u69d8\u306e\u624b\u9806\u3067\u3001\u300c\u4e00\u81f4\u300d\uff08\u307e\u305f\u306f\u300c\u25cb\u300d\uff09\u306e\u5834\u5408\u306b\u306f\u7dd1\u8272\u306e\u80cc\u666f\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002 \u3053\u308c\u306b\u3088\u308a\u3001\u554f\u984c\u306a\u3044\u7b87\u6240\u306f\u7dd1\u3001\u78ba\u8a8d\u304c\u5fc5\u8981\u306a\u7b87\u6240\u306f\u8d64\u3001\u3068\u3044\u3046\u3088\u3046\u306b\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u306e\u3088\u3046\u306a\u76f4\u611f\u7684\u306a\u6bd4\u8f03\u30b7\u30fc\u30c8\u304c\u5b8c\u6210\u3057\u307e\u3059\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3067\u3042\u3063\u3066\u3082\u3001\u8272\u306e\u9055\u3044\u3060\u3051\u3067\u4fee\u6b63\u3059\u3079\u304d\u7b87\u6240\u3092\u5373\u5ea7\u306b\u7279\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u308b\u5909\u5316\u91cf\u306e\u8868\u73fe<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u6570\u5024\u30c7\u30fc\u30bf\u306e\u6bd4\u8f03\u3067\u306f\u3001\u5909\u5316\u306e\u5927\u304d\u3055\u306b\u5fdc\u3058\u3066\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3067\u8868\u73fe\u3059\u308b\u65b9\u6cd5\u3082\u52b9\u679c\u7684\u3067\u3059\u3002<\/b><\/span>\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u306e\u300c\u30ab\u30e9\u30fc\u30b9\u30b1\u30fc\u30eb\u300d\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5dee\u5206\u306e\u5927\u304d\u3055\u306b\u5fdc\u3058\u3066\u30bb\u30eb\u306e\u8272\u3092\u6ed1\u3089\u304b\u306b\u5909\u5316\u3055\u305b\u3001\u76f4\u611f\u7684\u306b\u898f\u6a21\u611f\u3092\u628a\u63e1\u3067\u304d\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001\u4fa1\u683c\u306e\u5909\u52d5\u7387\u306e\u5217\u306b\u30ab\u30e9\u30fc\u30b9\u30b1\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u3001\u300c\u6700\u5c0f\u5024\u300d\u3092\u767d\u3001\u300c\u6700\u5927\u5024\u300d\u3092\u6fc3\u3044\u8d64\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001\u5909\u52d5\u304c\u5c0f\u3055\u3044\u3082\u306e\u306f\u767d\u304f\u3001\u5909\u52d5\u304c\u5927\u304d\u3044\u3082\u306e\u307b\u3069\u8d64\u8272\u304c\u6fc3\u304f\u8868\u793a\u3055\u308c\u308b\u305f\u3081\u3001\u6ce8\u610f\u3059\u3079\u304d\u5927\u304d\u306a\u5909\u5316\u3092\u4e00\u77ac\u3067\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u91cd\u8981\u306a\u5909\u66f4\u3092\u898b\u9003\u3059\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>VLOOKUP\u95a2\u6570\u3092\u4f7f\u3063\u305f\u884c\u5358\u4f4d\u306e\u6bd4\u8f03<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>\u30c7\u30fc\u30bf\u306e\u9806\u5e8f\u304c\u7570\u306a\u308b\u5834\u5408\u3084\u3001\u884c\u304c\u8ffd\u52a0\u30fb\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001VLOOKUP\u95a2\u6570\u3084INDEX-MATCH\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30ad\u30fc\u9805\u76ee\u3092\u57fa\u6e96\u306b\u6bd4\u8f03\u3059\u308b\u3053\u3068\u304c\u52b9\u679c\u7684\u3067\u3059\u3002<\/b><\/span> \u3053\u308c\u306b\u3088\u308a\u3001\u5358\u7d14\u306a\u4f4d\u7f6e\u5bfe\u5fdc\u3067\u306f\u306a\u304f\u3001\u8ad6\u7406\u7684\u306a\u5bfe\u5fdc\u95a2\u4fc2\u306b\u57fa\u3065\u3044\u305f\u6bd4\u8f03\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5546\u54c1\u30b3\u30fc\u30c9\u3092\u30ad\u30fc\u3068\u3057\u3066\u5728\u5eab\u6570\u3092\u6bd4\u8f03\u3059\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6570\u5f0f\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>=IFERROR(VLOOKUP(A2,Sheet2!A:B,2,FALSE)-B2,&#8221;\u65b0\u898f\u8ffd\u52a0&#8221;)<\/p>\n<p>\u3053\u306e\u6570\u5f0f\u306f\u3001Sheet1\u306e\u5546\u54c1\u30b3\u30fc\u30c9\u306b\u5bfe\u5fdc\u3059\u308bSheet2\u306e\u5728\u5eab\u6570\u3092\u691c\u7d22\u3057\u3001\u5dee\u5206\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002\u5bfe\u5fdc\u3059\u308b\u5546\u54c1\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u53cc\u65b9\u5411\u306e\u6bd4\u8f03<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>\u5b8c\u5168\u306a\u6bd4\u8f03\u3092\u884c\u3046\u306b\u306f\u3001\u4e21\u65b9\u5411\u304b\u3089\u306e\u78ba\u8a8d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/b><\/span>Sheet1\u306b\u3042\u3063\u3066Sheet2\u306b\u306a\u3044\u9805\u76ee\u3001Sheet2\u306b\u3042\u3063\u3066Sheet1\u306b\u306a\u3044\u9805\u76ee\u306e\u4e21\u65b9\u3092\u691c\u51fa\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>=IF(COUNTIF(Sheet2!A:A,A2)=0,&#8221;\u524a\u9664\u3055\u308c\u305f&#8221;,&#8221;&#8221;)<\/p>\n<p>\u3053\u306e\u6570\u5f0f\u306b\u3088\u308a\u3001Sheet1\u306b\u306f\u5b58\u5728\u3059\u308b\u304cSheet2\u3067\u306f\u524a\u9664\u3055\u308c\u305f\u9805\u76ee\u3092\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002\u9006\u65b9\u5411\u306e\u78ba\u8a8d\u3082\u540c\u69d8\u306b\u884c\u3046\u3053\u3068\u3067\u3001\u8ffd\u52a0\u30fb\u524a\u9664\u30fb\u5909\u66f4\u306e\u3059\u3079\u3066\u3092\u7db2\u7f85\u7684\u306b\u628a\u63e1\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>QUERY\u95a2\u6570\u306b\u3088\u308b\u9ad8\u5ea6\u306a\u6bd4\u8f03\u5206\u6790<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>QUERY\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001SQL\u98a8\u306e\u69cb\u6587\u3067\u8907\u96d1\u306a\u6bd4\u8f03\u6761\u4ef6\u3092\u8a2d\u5b9a\u3057\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u5dee\u5206\u306e\u307f\u3092\u62bd\u51fa\u3067\u304d\u307e\u3059\u3002<\/b><\/span> \u3053\u308c\u306b\u3088\u308a\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304b\u3089\u91cd\u8981\u306a\u5909\u66f4\u306e\u307f\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u524d\u6bb5\u3067\u4f5c\u6210\u3057\u305f\u300c\u6bd4\u8f03\u7d50\u679c\u30b7\u30fc\u30c8\u300d\u304b\u3089\u3001\u5909\u52d5\u5e45\u304c\u5927\u304d\u3044\u8981\u6ce8\u610f\u5546\u54c1\u306e\u307f\u3092\u62bd\u51fa\u3059\u308b\u5834\u5408\uff1a =QUERY(&#8216;\u6bd4\u8f03\u7d50\u679c&#8217;!A:E, &#8220;SELECT A, B, C, D WHERE D &gt;= 1.1 OR D &lt;= 0.9&#8221;) \u3053\u306e\u3088\u3046\u306b\u3001\u4e00\u5ea6VLOOKUP\u7b49\u3067\u6574\u5408\u6027\u3092\u53d6\u3063\u305f\u6bd4\u8f03\u30b7\u30fc\u30c8\u306b\u5bfe\u3057\u3066QUERY\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u6570\u5343\u884c\u306e\u30c7\u30fc\u30bf\u306e\u4e2d\u304b\u3089\u300c\u58f2\u4e0a\u304c10%\u4ee5\u4e0a\u5909\u52d5\u3057\u305f\u5546\u54c1\u300d\u3060\u3051\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3068\u3044\u3063\u305f\u9ad8\u5ea6\u306a\u62bd\u51fa\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u96c6\u8a08\u306b\u3088\u308b\u5dee\u5206\u30b5\u30de\u30ea\u30fc<\/h3>\n<p><span style=\"background-color: #ffff99;\"><b>QUERY\u95a2\u6570\u3092\u4f7f\u3063\u3066\u3001\u5dee\u5206\u306e\u7d71\u8a08\u60c5\u5831\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/b><\/span><\/p>\n<p>=QUERY(\u6bd4\u8f03\u7d50\u679c!A:C,&#8221;SELECT COUNT(A) WHERE C=&#8217;\u4e0d\u4e00\u81f4&#8217; GROUP BY B&#8221;)<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u306e\u5909\u66f4\u4ef6\u6570\u3092\u96c6\u8a08\u3057\u3001\u3069\u306e\u9818\u57df\u3067\u591a\u304f\u306e\u5909\u66f4\u304c\u767a\u751f\u3057\u305f\u304b\u3092\u628a\u63e1\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Google Apps Script\u3092\u4f7f\u3063\u305f\u81ea\u52d5\u6bd4\u8f03<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>\u3088\u308a\u9ad8\u5ea6\u306a\u6bd4\u8f03\u51e6\u7406\u3092\u81ea\u52d5\u5316\u3057\u305f\u3044\u5834\u5408\u306f\u3001Google Apps Script\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u95a2\u6570\u3092\u4f5c\u6210\u3057\u3001\u8907\u96d1\u306a\u6bd4\u8f03\u30ed\u30b8\u30c3\u30af\u3092\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/b><\/span> \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u3088\u308a\u3001\u6a19\u6e96\u6a5f\u80fd\u3067\u306f\u5b9f\u73fe\u3067\u304d\u306a\u3044\u67d4\u8edf\u306a\u6bd4\u8f03\u51e6\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001Sheet1\u3068Sheet2\u306eA\u5217\uff08ID\u306a\u3069\uff09\u301cB\u5217\u3092\u6bd4\u8f03\u3057\u3001\u5dee\u7570\u304c\u3042\u308b\u884c\u3092\u300c\u6bd4\u8f03\u7d50\u679c\u300d\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u51fa\u3059\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p>JavaScript<\/p>\n<p>function compareSheets() {<\/p>\n<p>var ss = SpreadsheetApp.getActiveSpreadsheet();<\/p>\n<p>var sheet1 = ss.getSheetByName(&#8220;Sheet1&#8221;);<\/p>\n<p>var sheet2 = ss.getSheetByName(&#8220;Sheet2&#8221;);<\/p>\n<p>\/\/ \u6bd4\u8f03\u7d50\u679c\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\uff08\u306a\u3051\u308c\u3070\u4f5c\u6210\uff09<\/p>\n<p>var resultSheet = ss.getSheetByName(&#8220;\u6bd4\u8f03\u7d50\u679c&#8221;);<\/p>\n<p>if (!resultSheet) {<\/p>\n<p>resultSheet = ss.insertSheet(&#8220;\u6bd4\u8f03\u7d50\u679c&#8221;);\u00a0}<\/p>\n<p>resultSheet.clear(); \/\/ \u521d\u671f\u5316<\/p>\n<p>\/\/ \u30c7\u30fc\u30bf\u306e\u53d6\u5f97<\/p>\n<p>var data1 = sheet1.getDataRange().getValues();<\/p>\n<p>var data2 = sheet2.getDataRange().getValues();<\/p>\n<p>var diffData = [[&#8220;\u884c\u756a\u53f7&#8221;, &#8220;Sheet1\u306e\u5024&#8221;, &#8220;Sheet2\u306e\u5024&#8221;, &#8220;\u5224\u5b9a&#8221;]]; \/\/ \u30d8\u30c3\u30c0\u30fc<\/p>\n<p>\/\/ \u884c\u3054\u3068\u306e\u6bd4\u8f03\u30eb\u30fc\u30d7\uff08\u884c\u6570\u304c\u5c11\u306a\u3044\u65b9\u306b\u5408\u308f\u305b\u308b\u4f8b\uff09<\/p>\n<p>var maxRows = Math.min(data1.length, data2.length);<\/p>\n<p>for (var i = 0; i &lt; maxRows; i++) {<\/p>\n<p>\/\/ 1\u5217\u76ee\u30682\u5217\u76ee\u3092\u7d50\u5408\u3057\u3066\u6bd4\u8f03\uff08\u7c21\u6613\u30c1\u30a7\u30c3\u30af\uff09<\/p>\n<p>var row1 = data1[i].join(&#8220;_&#8221;);<\/p>\n<p>var row2 = data2[i].join(&#8220;_&#8221;);<\/p>\n<p>if (row1 !== row2) {<\/p>\n<p>diffData.push([i + 1, row1, row2, &#8220;\u4e0d\u4e00\u81f4&#8221;]);}}<\/p>\n<p>\/\/ \u7d50\u679c\u306e\u66f8\u304d\u8fbc\u307f<\/p>\n<p>if (diffData.length &gt; 1) {<\/p>\n<p>resultSheet.getRange(1, 1, diffData.length, diffData[0].length).setValues(diffData);}}<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5b9a\u671f\u7684\u306a\u81ea\u52d5\u6bd4\u8f03\u3001\u30e1\u30fc\u30eb\u901a\u77e5\u3001\u5909\u66f4\u5c65\u6b74\u306e\u8a18\u9332\u306a\u3069\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u6bd4\u8f03\u306e\u305f\u3081\u306e\u30b3\u30c4<\/h2>\n<p><span style=\"background-color: #ffff99;\"><b>\u30c7\u30fc\u30bf\u6bd4\u8f03\u3092\u52b9\u7387\u5316\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4e8b\u524d\u306e\u6e96\u5099\u304c\u91cd\u8981\u3067\u3059\u3002<\/b><\/span>\u307e\u305a\u3001\u6bd4\u8f03\u3059\u308b\u524d\u306b\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u3092\u7d71\u4e00\u3057\u307e\u3059\u3002\u65e5\u4ed8\u5f62\u5f0f\u3001\u6570\u5024\u306e\u6841\u6570\u3001\u6587\u5b57\u306e\u5168\u89d2\u534a\u89d2\u306a\u3069\u3092\u63c3\u3048\u308b\u3053\u3068\u3067\u3001\u4e0d\u8981\u306a\u5dee\u5206\u691c\u51fa\u3092\u9632\u3052\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u6bd4\u8f03\u7528\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3001\u91cd\u8981\u306a\u6307\u6a19\u306e\u5909\u5316\u3092\u4e00\u76ee\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u6709\u52b9\u3067\u3059\u3002\u30d4\u30dc\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u3084\u30b0\u30e9\u30d5\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u6570\u5024\u306e\u7f85\u5217\u3067\u306f\u306a\u304f\u3001\u610f\u5473\u306e\u3042\u308b\u60c5\u5831\u3068\u3057\u3066\u5dee\u5206\u3092\u628a\u63e1\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5b9a\u671f\u7684\u306a\u6bd4\u8f03\u4f5c\u696d\u3067\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5316\u3068\u30de\u30af\u30ed\u5316\u3092\u9032\u3081\u308b\u3053\u3068\u3067\u3001\u4f5c\u696d\u6642\u9593\u3092\u5927\u5e45\u306b\u524a\u6e1b\u3067\u304d\u307e\u3059\u3002\u6bd4\u8f03\u624b\u9806\u3092\u6a19\u6e96\u5316\u3057\u3001\u30c1\u30fc\u30e0\u5185\u3067\u5171\u6709\u3059\u308b\u3053\u3068\u3067\u3001\u8ab0\u3067\u3082\u540c\u3058\u54c1\u8cea\u3067\u6bd4\u8f03\u4f5c\u696d\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>2\u3064\u306e\u30b7\u30fc\u30c8\u3092\u52b9\u7387\u7684\u306b\u6bd4\u8f03\u3057\u696d\u52d9\u52b9\u7387\u3092\u5411\u4e0a<\/h2>\n<p>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u30672\u3064\u306e\u30b7\u30fc\u30c8\u3092\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u306f\u3001\u5358\u7d14\u306a\u95a2\u6570\u304b\u3089\u9ad8\u5ea6\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u307e\u3067\u591a\u5c90\u306b\u308f\u305f\u308a\u307e\u3059\u3002IF\u95a2\u6570\u3084VLOOKUP\u306b\u3088\u308b\u57fa\u672c\u7684\u306a\u6bd4\u8f03\u304b\u3089\u59cb\u3081\u3001\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u3067\u8996\u899a\u5316\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066QUERY\u95a2\u6570\u3084Google Apps Script\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3042\u3089\u3086\u308b\u6bd4\u8f03\u30cb\u30fc\u30ba\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u91cd\u8981\u306a\u306e\u306f\u3001\u6bd4\u8f03\u306e\u76ee\u7684\u3068\u898f\u6a21\u306b\u5fdc\u3058\u3066\u9069\u5207\u306a\u65b9\u6cd5\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u5c0f\u898f\u6a21\u306a\u6bd4\u8f03\u3067\u306f\u624b\u52d5\u3067\u306e\u95a2\u6570\u8a2d\u5b9a\u3067\u5341\u5206\u3067\u3059\u304c\u3001\u5927\u898f\u6a21\u3067\u5b9a\u671f\u7684\u306a\u6bd4\u8f03\u3067\u306f\u81ea\u52d5\u5316\u3092\u691c\u8a0e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u6280\u8853\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u7684\u3067\u6b63\u78ba\u306a\u30c7\u30fc\u30bf\u6bd4\u8f03\u3092\u5b9f\u73fe\u3057\u3001\u696d\u52d9\u306e\u54c1\u8cea\u5411\u4e0a\u306b\u3064\u306a\u3052\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\uff08Google Sheets\uff09\u3067\u8907\u6570\u306e\u30b7\u30fc\u30c8\u3084\u30c7\u30fc\u30bf\u3092\u6bd4\u8f03\u3059\u308b\u3053\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u5909\u66f4\u5c65\u6b74\u3092\u8ffd\u8de1\u3057\u3001\u30df\u30b9\u3092\u767a\u898b\u3057\u3001\u60c5\u5831\u306e\u6574\u5408\u6027\u3092\u78ba\u8a8d\u3059\u308b\u4e0a\u3067\u6b20\u304b\u305b\u306a\u3044\u4f5c\u696d\u3067\u3059\u3002\u7279\u306b\u5b9a\u671f\u7684\u306b\u66f4\u65b0\u3055\u308c\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084 [&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-21288","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\/21288","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=21288"}],"version-history":[{"count":7,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/21288\/revisions"}],"predecessor-version":[{"id":21475,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/posts\/21288\/revisions\/21475"}],"wp:attachment":[{"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/media?parent=21288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/categories?post=21288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biz.moneyforward.com\/work-efficiency\/basic\/wp-json\/wp\/v2\/tags?post=21288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}