{"id":19662,"date":"2021-01-28T00:29:05","date_gmt":"2021-01-27T15:29:05","guid":{"rendered":"https:\/\/cg-method.com\/?p=19662"},"modified":"2022-12-05T12:41:57","modified_gmt":"2022-12-05T03:41:57","slug":"spreadsheet-formula","status":"publish","type":"post","link":"https:\/\/cg-method.com\/spreadsheet-formula\/","title":{"rendered":"\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u2502\u4fbf\u5229\u306a\u6570\u5f0f\u30fb\u95a2\u6570"},"content":{"rendered":"\n

\u30ea\u30e2\u30fc\u30c8\u30ef\u30fc\u30af\u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u8cc7\u6599\u3084\u30c7\u30fc\u30bf\u3092\u4f5c\u308b\u3053\u3068\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

\u500b\u4eba\u7684\u306b\u3088\u304f\u4f7f\u3046\u6570\u5f0f\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u306e\u3067\u3001\u3082\u3057\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n

\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u8d85\u4f7f\u3048\u308b\uff01\u4fbf\u5229\u306a\u6570\u5f0f\u307e\u3068\u3081\u96c6<\/h2>\n\n\n\n

\u6570\u5f0f\u306e\u4ed5\u7d44\u307f\u304c\u591a\u5c11\u308f\u304b\u3063\u3066\u3044\u308b\u4eba\u3067\u3042\u308c\u3070\u3001\u30b3\u30d4\u30da\u3067\u3059\u3050\u306b\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

\u30bb\u30eb\u3092\u5165\u308c\u66ff\u3048\u3066\u3082\u6570\u5b57\u304c\u304d\u3061\u3093\u3068\u4e26\u3076\u6570\u5f0f<\/h3>\n\n\n\n

\u30bb\u30eb\u3092\u5165\u308c\u66ff\u3048\u3066\u3082\u6570\u5b57\u306e\u4e26\u3073\u3092\u5909\u3048\u305f\u304f\u306a\u3044\u3067\u3059\u3088\u306d\uff1f\u305d\u3093\u306a\u6642\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n

\u4e0b\u8a18\u306e\u6570\u5f0f\u3092A1\u304b\u3089\u4e0b\u3078\u9806\u306b\u5165\u308c\u3066\u3044\u304f\u3068\u6570\u5b57\u304c\u9023\u756a\u3067\u3064\u304d\u307e\u3059\u3002\u3082\u3061\u308d\u3093\u30bb\u30eb\u3092\u5165\u308c\u66ff\u3048\u3066\u3082OK<\/p>\n\n\n\n

=IFERROR(OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN())),-1,0)+1,1)<\/code><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

\u7279\u5b9a\u306e\u6761\u4ef6\u3067\u884c\u3092\u5857\u3059\u65b9\u6cd5\uff3b\u6761\u4ef6\u5f0f\u66f8\u5f0f\u7528\uff3d<\/h3>\n\n\n\n

\u4e0b\u8a18\u306e\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u3092\u6761\u4ef6\u306b\u3059\u308b\u3068\u300c\u5b8c\u4e86\u300d\u306e\u6587\u5b57\u3092\u5165\u308c\u308b\u3068\u305d\u306e\u884c\u5168\u3066\u30b0\u30ec\u30fc\u306b\u5857\u308a\u3064\u3076\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n

=$A1=\"\u5b8c\u4e86\"<\/code><\/p>\n\n\n\n

\u7279\u5b9a\u306e\u5358\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u305d\u306e\u884c\u5168\u3066\u30b0\u30ec\u30fc\u306b\u5857\u308a\u3064\u3076\u3059\u5834\u5408\u306f<\/p>\n\n\n\n

=(COUNTIF($A1, \"\u5b8c\"))<\/code><\/p>\n\n\n\n

\u7279\u5b9a\u306e\u5358\u8a9e\u304c\u542b\u307e\u308c\u306a\u3044\u5834\u5408\u306f\u3001\u305d\u306e\u884c\u5168\u3066\u30b0\u30ec\u30fc\u306b\u5857\u308a\u3064\u3076\u3059\u5834\u5408\u306f<\/p>\n\n\n\n

=(COUNTIF($A1, \"<>\u5b8c\u4e86\"))<\/code><\/p>\n\n\n\n

\n
\n
\"\"<\/figure>\n<\/div>\n\n\n\n
\n
\"\"<\/figure>\n<\/div>\n<\/div>\n\n\n\n

\u540c\u3058\u9805\u76ee\u3054\u3068\u3067\u4ea4\u4e92\u306b\u5857\u308a\u3064\u3076\u3059\u6570\u5f0f\uff3b\u6761\u4ef6\u5f0f\u66f8\u5f0f\u7528\uff3d<\/h3>\n\n\n\n

\u9805\u76ee\u3092\u898b\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u4ea4\u4e92\u306b\u30bb\u30eb\u3092\u5857\u308a\u3064\u3076\u3057\u305f\u3044\u6642\u304c\u3042\u308a\u307e\u3059\u3088\u306d\uff1f\u305d\u3093\u306a\u6642\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n

=AND(A1<>\"\",MOD(ROUND(SUMPRODUCT(1\/COUNTIF(A$1:A1,A$1:A1)),0),2)<>0)<\/code><\/p>\n\n\n\n

\u5857\u308a\u3064\u3076\u3057\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u5909\u3048\u305f\u3044\u6642\u306f<\/p>\n\n\n\n

=AND(A1<>\"\",MOD(ROUND(SUMPRODUCT(1\/COUNTIF(A$1:A1,A$1:A1)),0),2)=0)<\/code><\/p>\n\n\n\n

\n
\n
\"\"<\/figure>\n<\/div>\n\n\n\n
\n
\"\"<\/figure>\n<\/div>\n<\/div>\n\n\n\n

\u8907\u6570\u306e\u6761\u4ef6\u3067\u306e\u6587\u5b57\u7f6e\u63db<\/h3>\n\n\n\n

\u8907\u6570\u306e\u6761\u4ef6\u3067\u6587\u5b57\u3092\u7f6e\u63db\u3059\u308b\u5834\u5408\u306fSwitch\u69cb\u6587\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n

\u307e\u305f\u7279\u5b9a\u306e\u6587\u5b57\u306e\u4e00\u90e8\u304b\u3089\u5224\u5b9a\u3057\u305f\u3044\u5834\u5408\u306fB1\u3068\u304b\u3067\u306f\u306a\u304fLEFT\/MID\/LIGHT\u306e\u69cb\u6587\u3092\u4e2d\u306b\u5165\u308c\u308b\u3068\u542b\u307e\u308c\u308b\u6587\u5b57\u3067\u691c\u7d22\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n

=SWITCH(B1,
\"\u308a\u3093\u3054\",\"\u6797\u6a8e\",
\"\u30d0\u30ca\u30ca\",\"\u5b9f\u82ad\u8549\",
\"\u3054\u308a\u3089\",\"\u5927\u7329\u3005\",
\"\u30e1\u30ed\u30f3\",\"\u8210\u74dc\",
\"\u3076\u3069\u3046\",\"\u8461\u8404\",
)<\/code><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u4f7f\u3048\u308b\u4fbf\u5229\u306a\u6570\u5f0f\u307e\u3068\u3081<\/h2>\n\n\n\n

\u672c\u8a18\u4e8b\u3067\u306f\uff62\u3010\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3011\u8d85\u4f7f\u3048\u308b\uff01\u4fbf\u5229\u306a\u6570\u5f0f\u307e\u3068\u3081\u96c6\uff63\u306b\u3064\u3044\u3066\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

\u3088\u304f\u4f7f\u3046\u4fbf\u5229\u306a\u6570\u5f0f\u306a\u306e\u3067\u3001\u305c\u3072\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u30ea\u30e2\u30fc\u30c8\u30ef\u30fc\u30af\u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u8cc7\u6599\u3084\u30c7\u30fc\u30bf\u3092\u4f5c\u308b\u3053\u3068\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002 \u500b\u4eba\u7684\u306b\u3088\u304f\u4f7f\u3046\u6570\u5f0f\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u306e\u3067\u3001\u3082\u3057\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002 \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u8d85\u4f7f\u3048\u308b\uff01\u4fbf\u5229\u306a\u6570\u5f0f\u307e\u3068\u3081\u96c6 \u6570\u5f0f\u306e\u4ed5\u7d44\u307f\u304c\u591a\u5c11\u308f\u304b\u3063\u3066\u3044 […]<\/p>\n","protected":false},"author":1,"featured_media":19671,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pochipp_cv_data":"","swell_btn_cv_data":"","footnotes":""},"categories":[335],"tags":[],"_links":{"self":[{"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/posts\/19662"}],"collection":[{"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/comments?post=19662"}],"version-history":[{"count":0,"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/posts\/19662\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/media\/19671"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/media?parent=19662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/categories?post=19662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/wp-json\/wp\/v2\/tags?post=19662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}