今日目標:
學習公式邏輯梳理
俗話說的好:兵熊熊一個嘹叫,將熊熊一窩!
最討厭這樣的領(lǐng)導诈乒,明明是自己水平不行待笑,還聽不進去別人的建議,搞的下屬有苦難言抓谴。
更可悲的是暮蹂,下屬已經(jīng)習以為常,沒感覺自己很苦癌压。
1- 問題描述
我有一個采購的學員仰泻,就不以為然,提問道:
變成下面的樣子
本質(zhì)上滩届,就是把「單據(jù)編號」中集侯,尾號為「-1」的,當成小計行帜消,計算已付款金額總和棠枉。
你說折不折騰人?
用「-1」對數(shù)據(jù)分組泡挺,然后求小計辈讶,這樣的公式誰會寫的啊娄猫?
如果是下面這樣的數(shù)據(jù)贱除,一個透視表生闲,或者SUMIF函數(shù)就可以搞定的,非得用「-1」來分組月幌。
愿你永遠都不要碰到這樣的領(lǐng)導碍讯。
2- 解決方法
1- 添加分組列
既然沒有分組,我們就用公式添加上分組扯躺。
公式如下:
<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n27" mdtype="fences" style="box-sizing: border-box; overflow: scroll; font-family: var(--monospace); font-size: 14px; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(244, 249, 245) !important; position: relative !important; margin: 14px 16px !important; padding: 14px 12px; color: rgb(0, 99, 65); border: none !important; width: inherit; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">=IF(RIGHT(C2,2)="-1",E2+1,E2)</pre>
大致意思是:
1- 用RIGHT函數(shù)捉兴,計算C列最右側(cè)的2個字符
2- 如果這個字符是"-1",那就用上方單元格+1
3- 否則就等于上方單元格
這樣就完成了數(shù)據(jù)的分組
2- 進行分組統(tǒng)計
有了分組录语,統(tǒng)計就方便了倍啥。
方法1:透視表
最簡單的,就是用透視表钦无。根據(jù)分組逗栽,一拖一拽搞定盖袭。
方法2:函數(shù)公式
領(lǐng)導的變態(tài)絕對不是一天養(yǎng)成的失暂,他希望得到的結(jié)果是這樣的。
不要透視表鳄虱,就在原表上弟塞,計算小計。
所以只能用公式來實現(xiàn)了拙已。
公式如下:
<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n46" mdtype="fences" style="box-sizing: border-box; overflow: scroll; font-family: var(--monospace); font-size: 14px; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(244, 249, 245) !important; position: relative !important; margin: 14px 16px !important; padding: 14px 12px; color: rgb(0, 99, 65); border: none !important; width: inherit; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">=IF(E2<>E3,SUMIF(2:10,E2,2:10),"")</pre>
大致的意思是:
1- 判斷E2和E3單元格是否相等
2- 如果相等决记,則使用SUMIF進行條件求和
3- 如果不相等,就返回空文本""
3- 總結(jié)
樊登老師在《可復制的領(lǐng)導力》中說倍踪,中國企業(yè)和西方企業(yè)的區(qū)別是:
中國企業(yè)用害怕系宫,讓員工聽從命令,管理員工建车。
不好好干活扩借,我就扣獎金,降職降薪缤至。
不要讓我再說第2遍潮罪。
西方國家用方法,讓員工習慣性按照規(guī)則制作來做事领斥。
這個事情你明白了嗎嫉到?請重復一遍?
你對這件事情的計劃是什么月洛?PDCA何恶?
具體怎么做你都清楚了嗎?2W1H嚼黔!
Excel中有400多個函數(shù)导而,就像是企業(yè)中的400個員工忱叭,想要管好這些函數(shù),需要有正確的方法今艺。
1- 掌握常用的35個函數(shù)
2- 明確函數(shù)的功能韵丑,參數(shù)用法
3- 學會梳理函數(shù)邏輯
今天的案例,你學會了嗎虚缎?如果學會了撵彻,點擊右下角的「在看」,打卡簽個到吧实牡!
我是拉小登陌僵,一個會設(shè)計表格的Excel老師