如何實(shí)現(xiàn)內(nèi)容自動(dòng)填充?
一、IF函數(shù)
作用:條件判斷,根據(jù)判斷結(jié)果返回值。
用法:IF(條件,條件符合時(shí)返回的值,條件不符合時(shí)返回的值)
案例:假如國(guó)慶節(jié)放假7天,我就去旅游,否則就宅在家。
=IF(A1=7,"旅游","宅在家"),因?yàn)锳1單元格是3,只放假3天,所以返回第二參數(shù),宅在家。

二、時(shí)間函數(shù)
TODAY函數(shù)返回日期。NOW函數(shù)返回日期和時(shí)間。比如要獲取今天的日期,可以輸入:=TODAY(),要獲取日期時(shí)間,可以輸入:=NOW()

計(jì)算部落窩教育EXCEL貫通班上線多少天了,可以使用:=TODAY()-開(kāi)始日期


三、最大值函數(shù)
excel最大值函數(shù)常見(jiàn)的有兩個(gè),分別是Max函數(shù)和Large函數(shù)。
案例:分別取出產(chǎn)品A、產(chǎn)品B、產(chǎn)品C在2015年6月1日-6月10日的最大產(chǎn)量。


在B12單元格輸入公式:=Max(B2:B11),然后向右拖動(dòng)復(fù)制得到產(chǎn)品B和產(chǎn)品C的最大產(chǎn)量。前面我們說(shuō)了excel取最大值函數(shù)有MAX函數(shù)和Large函數(shù),那么Large函數(shù)一樣可以做到,公式為=Large(B2:B11,1)。
Max函數(shù)只取最大值,而large函數(shù)會(huì)按順序選擇大,比如第一大的、第二大的、第三大的。
四、條件求和:SUMIF函數(shù)
作用:根據(jù)指定的條件匯總。
用法:=SUMIF(條件范圍,要求,匯總區(qū)域)
SUMIF的第三個(gè)參數(shù)可以忽略,第三個(gè)參數(shù)忽略的時(shí)候,第一個(gè)參數(shù)應(yīng)用條件判斷的單元格區(qū)域就會(huì)用來(lái)作為需要求和的區(qū)域。


五、條件計(jì)數(shù)
說(shuō)到Excel條件計(jì)數(shù),下面幾個(gè)函數(shù)伙伴們需要了解一下。
COUNT函數(shù):數(shù)字控,只要是數(shù)字,包含日期時(shí)間也算是數(shù)值,都統(tǒng)計(jì)個(gè)數(shù)。
案例:A1:B6區(qū)域,用count函數(shù)統(tǒng)計(jì)出的數(shù)字單元格個(gè)數(shù)為4。日期和時(shí)間也是屬于數(shù)字,日期和時(shí)間就是特殊的數(shù)字序列。


COUNTA函數(shù)(COUNT+A):統(tǒng)計(jì)所有非空單元格個(gè)數(shù)。
輸入公式=COUNTA(A1:C5),返回6,也就是6個(gè)單元格有內(nèi)容。


COUNTIF函數(shù)(COUNT+IF):統(tǒng)計(jì)符合條件的單元格個(gè)數(shù)。
語(yǔ)法:=countif(統(tǒng)計(jì)的區(qū)域,“條件”)
統(tǒng)計(jì)男性有多少人:=COUNTIF(B2:B8,"男")


六、查找函數(shù)
VLOOKUP(查找值,查找區(qū)域,返回查找區(qū)域的第幾列,精確還是模糊查找)
E4單元格輸入公式:=VLOOKUP(E2,A:B,2,)
繼續(xù)查找其他問(wèn)題的答案?
-
Excel 2019如何使用復(fù)制、粘貼命令插入Word數(shù)據(jù)?(視頻講解)
2021-01-257次播放
-
Excel 2019如何制作數(shù)據(jù)透視表?(視頻講解)
2021-01-2227次播放
-
Excel 2019如何設(shè)置相對(duì)引用?(視頻講解)
2021-01-2210次播放
-
2021-01-2212次播放
-
Excel 2019如何使用命令復(fù)制公式?(視頻講解)
2021-01-226次播放
-
2021-01-223次播放
-
2021-01-222次播放
-
Excel 2019如何利用開(kāi)始選項(xiàng)卡進(jìn)入篩選模式?(視頻講解)
2021-01-223次播放
-
Excel 2019如何設(shè)置指定數(shù)據(jù)的篩選?(視頻講解)
2021-01-223次播放
-
Excel 2019如何設(shè)置自定義排序?(視頻講解)
2021-01-222次播放
點(diǎn)擊加載更多評(píng)論>>