{"id":96,"date":"2025-07-27T21:13:57","date_gmt":"2025-07-27T19:13:57","guid":{"rendered":"https:\/\/baza.kajodata.com\/?p=96"},"modified":"2025-07-27T21:13:57","modified_gmt":"2025-07-27T19:13:57","slug":"ranking-w-excelu","status":"publish","type":"post","link":"https:\/\/baza.kajodata.com\/?p=96","title":{"rendered":"Ranking w Excelu"},"content":{"rendered":"\n<p>Kiedy\u015b nawet pisa\u0142em o tym na blogu i wci\u0105\u017c uwa\u017cam to za fajny trik. <\/p>\n\n\n\n<p>Ot\u00f3\u017c je\u017celi macie zrobi\u0107 ranking w Excelu ale bez remis\u00f3w, czyli w sumie jakby takie ROW_NUMBER z SQLa to nie jest to takie proste\u2026 <\/p>\n\n\n\n<p>Magi\u0119 w ca\u0142o\u015bci robi COUNTIFS, ale zostawiam Wam do rozkminy dlaczego.<\/p>\n\n\n\n<p>Generalnie formu\u0142a wygl\u0105da np tak:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>=RANK.EQ(C5;$C$5:$C$11)+COUNTIFS($C$5:$C5;C5)-1<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #d8dee9ff\">=RANK.EQ(C5;$C$5:$C$11)+COUNTIFS($C$5:$C5;C5)-1<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"340\" src=\"https:\/\/baza.kajodata.com\/wp-content\/uploads\/2025\/07\/image-12.png\" alt=\"\" class=\"wp-image-97\" srcset=\"https:\/\/baza.kajodata.com\/wp-content\/uploads\/2025\/07\/image-12.png 820w, https:\/\/baza.kajodata.com\/wp-content\/uploads\/2025\/07\/image-12-300x124.png 300w, https:\/\/baza.kajodata.com\/wp-content\/uploads\/2025\/07\/image-12-768x318.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Kiedy\u015b nawet pisa\u0142em o tym na blogu i wci\u0105\u017c uwa\u017cam to za fajny trik. Ot\u00f3\u017c je\u017celi macie zrobi\u0107 ranking w Excelu ale bez remis\u00f3w, czyli w sumie jakby takie ROW_NUMBER z SQLa to nie jest to takie proste\u2026 Magi\u0119 w ca\u0142o\u015bci robi COUNTIFS, ale zostawiam Wam do rozkminy dlaczego. Generalnie formu\u0142a wygl\u0105da np tak:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[7,16,12],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-excel","tag-excel","tag-pl","tag-tekst"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=96"}],"version-history":[{"count":1,"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=\/wp\/v2\/posts\/96\/revisions\/98"}],"wp:attachment":[{"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/baza.kajodata.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}