{"id":2820,"date":"2021-02-16T09:49:04","date_gmt":"2021-02-16T09:49:04","guid":{"rendered":"https:\/\/sky-it.ro\/clone\/?page_id=2820"},"modified":"2021-03-19T08:28:05","modified_gmt":"2021-03-19T08:28:05","slug":"cum-calculam-o-suma-in-excel-in-functie-de-culoarea-celulei","status":"publish","type":"page","link":"https:\/\/sky-it.ro\/clone\/cum-calculam-o-suma-in-excel-in-functie-de-culoarea-celulei\/","title":{"rendered":"Cum calculam o suma in Excel in functie de culoarea celulei?"},"content":{"rendered":"<p>[vc_row css_animation=&#8221;&#8221; row_type=&#8221;row&#8221; use_row_as_full_screen_section=&#8221;no&#8221; type=&#8221;grid&#8221; angled_section=&#8221;no&#8221; text_align=&#8221;left&#8221; background_image_as_pattern=&#8221;without_pattern&#8221; z_index=&#8221;&#8221; padding_top=&#8221;44&#8243; padding_bottom=&#8221;44&#8243;][vc_column width=&#8221;1\/4&#8243;][vc_column_text]<\/p>\n<h3 style=\"text-align: left;\"><strong>Cursuri<\/strong><\/h3>\n<h4 style=\"text-align: left;\">Cursuri Excel<\/h4>\n<p style=\"text-align: left;\"><em>Cu siguranta ati avut nevoie sa realizati o suma a valorilor dintr-o coloana Excel tinand cont de culoarea celulei si cel mai probabil ati facut acest lucru folosind filtrele, sau mergand mai departe si ati incercat sa aplicati un cod VBA.\u00a0<\/em><\/p>\n<p>[\/vc_column_text][vc_separator type=&#8221;transparent&#8221; up=&#8221;10&#8243;][vc_single_image image=&#8221;996&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221; onclick=&#8221;link_image&#8221; qode_css_animation=&#8221;&#8221;][vc_column_text]<\/p>\n<h5><\/h5>\n<h5 style=\"text-align: left;\">&#8222;Learn today for tomorrow!&#8221;<\/h5>\n<p>[\/vc_column_text][\/vc_column][vc_column width=&#8221;3\/4&#8243;]<div class=\"qode-advanced-tabs qode-advanced-tabs qode-advanced-horizontal-tab clearfix qode-advanced-tab-without-icon qode-advanced-tabs-column-0 clearfix\">\n\t<ul class=\"qode-advanced-tabs-nav\">\n\t\t\t<\/ul>\n\t<div class=\"qode-advanced-tab-container\" id=\"tab-tab-549\" data-icon-pack=\"\" data-icon-html=\"\">[vc_column_text]<\/p>\n<h2>Suma in functie de culoarea celulei<\/h2>\n<p>&nbsp;<\/p>\n<p>Recent am avut nevoie de o varianta de calcul, o formula Excel care sa ma ajute sa afisez o suma a unor valori numerice in functie de culoarea celulei, dar fara sa folosesc cod VBA. Ca urmare a cautarilor mele am gasit o varianta destul de interesanta, care nu foloseste cod VBA. Foloseste un soi de programare in Excel ( functii Macro Excel) si m-am gandit sa ti-o prezint si tie, poate te ajuta. Vom calcula o suma in functie de culoarea celulei in Excel.<\/p>\n<p>&nbsp;<\/p>\n<h2>Folosim functia GET.CELL<\/h2>\n<p>&nbsp;<\/p>\n<p>Este vorba despre functia <strong>Get.Cell<\/strong> cu origini in zona de functii Macro Excel.<\/p>\n<p>Pasii pe care-i vom urma sunt urmatorii:<\/p>\n<ul>\n<li>Vom realiza un <strong>NameRange <\/strong>(o sa explic in detaliu ce este un NameRange in Excel)<\/li>\n<li>Vom obtine cod de culoare pentru ficare celula Excel<\/li>\n<li>Facem SUM in functie de culoarea celulei, folosindu-ne de codul de culoare al acesteia.<\/li>\n<\/ul>\n<p>Mai jos avem o lista ( mini baza de date) in care avem o coloana ce contine valori si ficare valoare este marcata printr-o culoare.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-2821 alignnone\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2021\/02\/SUMIF-celule-colorate.jpg\" alt=\"\" width=\"346\" height=\"515\" srcset=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2021\/02\/SUMIF-celule-colorate.jpg 346w, https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2021\/02\/SUMIF-celule-colorate-202x300.jpg 202w\" sizes=\"(max-width: 346px) 100vw, 346px\" \/><\/p>\n<h2>Definire Name Range in Excel<\/h2>\n<p>&nbsp;<\/p>\n<p>O sa incepem prin a realiza NameRange-ul nostru ( vom da un nume unei celule sau numei zone de date si ii vom atribui o valoare)<\/p>\n<p>Mergem in Meniul Formulas \u2013 Name Manager-New, vom completa campurile aferente.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Name:<\/strong> Cod Culoare<\/p>\n<p><strong>Reference to<\/strong>: Get.Cell(38,C2)<\/p>\n<p>&nbsp;<\/p>\n<p>Sintaxa pentru Get.Cell arata de felul urmator:<\/p>\n<table width=\"640\">\n<tbody>\n<tr>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<\/tr>\n<tr>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\" width=\"256\">GET.CELL(type_num, reference)<\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\" width=\"512\">Type_num is a number that specifies what type of cell information you want.<\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<\/tr>\n<tr>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<td width=\"64\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"10\" width=\"640\"><strong>38<\/strong> Shade foreground color as a number in the range 1 to 56. If color is automatic, returns 0.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Pentru a face lucrurile mult mai simple, am creat un video pentru tine. Iti voi spune imediat unde gasesti acest video. Inainte de toate o sa sa-ti spun cu cine stai de vorba, Alexandru Pantilie este numele meu, &#8211; trainer si consultant solutiii de business Microsoft. \ud83d\ude42<\/p>\n<p>Te invit in cele ce urmeaza sa accesezi video-ul promis, in care-ti explic pas cu pas cum se poate realiza o suma in Excel, in functie de culoarea celulei fara sa folosim cod VBA. Partea buna este ca prin abonarea la acest canal de <a href=\"https:\/\/www.youtube.com\/channel\/UC0NIQwTqu8ZseYNDe8UZplQ\">Youtube<\/a> vei avea acces gratuit la o multime de materiale interesante, materiale pe care le poti accesa oricand, de oriunde.<\/p>\n<p>Intra aici si urmareste video-ul.<\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/JNEXszk-ltI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/>\n<span class=\"lista1-service\">Nu uita&#8230;<\/span><\/p>\n<p><span class=\"lista1-service\"><em>Invata astazi pentru maine!<\/em><\/span>[\/vc_column_text]<\/div><\/div>[\/vc_column][\/vc_row][vc_row css_animation=&#8221;&#8221; row_type=&#8221;row&#8221; use_row_as_full_screen_section=&#8221;no&#8221; type=&#8221;grid&#8221; angled_section=&#8221;no&#8221; text_align=&#8221;left&#8221; background_image_as_pattern=&#8221;without_pattern&#8221; css=&#8221;.vc_custom_1473086245677{padding-top: 13px !important;padding-bottom: 13px !<\/p>\n<p>important;background-color: #ffffff !important;}&#8221;][vc_column]<div class='qode_carousels_holder clearfix'><div class='qode_carousels' data-number-of-visible-items='4'><ul class='slides'><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel1-1.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel-1.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel3.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel2-1.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel5.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel4.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel7.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel6.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel9.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel8.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel11.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel10.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel13.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel12.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><li class='item'><div class=\"carousel_item_holder\"><a itemprop='url' href='#' target='_self'><span class='first_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel15.png\" alt=\"carousel image\" \/><\/span><span class='second_image_holder has_hover_image'><img decoding=\"async\" itemprop=\"image\" src=\"https:\/\/sky-it.ro\/clone\/wp-content\/uploads\/2020\/06\/cursuri-excel14.png\" alt=\"carousel image\" \/><\/span><\/a><\/div><\/li><\/ul><\/div><\/div>[\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row css_animation=&#8221;&#8221; row_type=&#8221;row&#8221; use_row_as_full_screen_section=&#8221;no&#8221; type=&#8221;grid&#8221; angled_section=&#8221;no&#8221; text_align=&#8221;left&#8221; background_image_as_pattern=&#8221;without_pattern&#8221; z_index=&#8221;&#8221; padding_top=&#8221;44&#8243; padding_bottom=&#8221;44&#8243;][vc_column width=&#8221;1\/4&#8243;][vc_column_text] Cursuri Cursuri Excel Cu siguranta ati avut nevoie sa realizati o suma a valorilor dintr-o coloana Excel tinand cont de culoarea celulei si cel mai probabil ati facut acest lucru folosind filtrele, sau&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"full_width.php","meta":{"footnotes":""},"categories":[14],"tags":[],"yst_prominent_words":[],"_links":{"self":[{"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/pages\/2820"}],"collection":[{"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/comments?post=2820"}],"version-history":[{"count":2,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/pages\/2820\/revisions"}],"predecessor-version":[{"id":2868,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/pages\/2820\/revisions\/2868"}],"wp:attachment":[{"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/media?parent=2820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/categories?post=2820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/tags?post=2820"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/sky-it.ro\/clone\/wp-json\/wp\/v2\/yst_prominent_words?post=2820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}