問題已解決
老師,需要統(tǒng)計(jì)員工的餐費(fèi)補(bǔ)貼明細(xì),請(qǐng)看下圖 根據(jù)下面的補(bǔ)貼要求和班次,標(biāo)準(zhǔn)每天20元,工作日的C、D和中班都有補(bǔ)貼,還有周六日都有補(bǔ)貼,法定節(jié)假日是沒有的,請(qǐng)問根據(jù)補(bǔ)貼要求和班次,上面表格的20元怎么可以用函數(shù)公式自動(dòng)體現(xiàn),


使用countif進(jìn)行計(jì)數(shù),然后用SUM函數(shù)求和
2023 04/23 17:15
陳艷平 

2023 04/23 17:16
這個(gè)條件跟你的類似,計(jì)數(shù)求和,公式后邊*20就可以了

84784961 

2023 04/23 17:29
老師,我需要像下面圖片一樣,工作日的C、D和中班都有補(bǔ)貼,還有周六日都有補(bǔ)貼,要統(tǒng)計(jì)出每個(gè)員工每天的餐費(fèi)補(bǔ)貼,就是符合條件的就顯示20,不符合的顯示為空,好像你說的那個(gè)不行吧
陳艷平 

2023 04/23 17:33
你是說你不要匯總,是要每個(gè)員工每一天顯示金額,對(duì)嗎
陳艷平 

2023 04/23 17:35
一一對(duì)應(yīng)的好設(shè)置,直接用if函數(shù)多條件去判斷,正確返回值寫20,錯(cuò)誤返回0

84784961 

2023 04/23 17:35
是的,圖片那個(gè)是手工寫上去的,就是想設(shè)置公式可以自動(dòng)出來,不用人工核對(duì)
陳艷平 

2023 04/23 17:36
周六和周日的單條件判斷就可以,如果是 正 返回20

84784961 

2023 04/23 18:02
老師,你能認(rèn)真看下圖片內(nèi)容嗎,如果是這么簡單我還要在這提問嗎,我描述半天的問題你給我回答這些合理嗎
陳艷平 

2023 04/23 19:53
是這樣你沒辦法取到數(shù)嗎? ? ?原以為你要取每個(gè)人每月的匯總金額? 我是自己測(cè)試了給你發(fā)的公式? ? ? ?
你要對(duì)應(yīng)取數(shù)本來就是簡單的判斷條件就可以取到
