After searching through the archives, I found a thread that addressed this issue. A specific post (194748) gave an array formula to address the problem of having 2 criteria points. I have used the formula as shown in the example, but I am getting a return of 0, when I should be getting a 20. What am I doing wrong?
PS: I did confirm with CTRL-shift-enter.
Example I took from:
I have two spreadsheets, Sheet1 and Sheet2. On sheet1, I have columns A, B, and C. On sheet2, I have columns D, E, and F. Let’s say on cell C1 on sheet1, I want to write a formula that will sum all the values on sheet2 column F, if cell A1(on sheet1) matches the values on column D (in sheet2) and if cell B1 (on sheet1) matches the values on column E.
=SUM(IF((Sheet1!$A$1=Sheet2!$D$1:$D$25)*(Sheet1!$B$1=Sheet2!$E$1:$E$25),Sheet2!$F$1:$F$25))
My attempt:
=SUM(IF((input!A3=’data-aging’!A12:A24)*(“*C*”=’data-aging’!B12:B24),’data-aging’!C12:C24))
where input A3 = date
where *C* = the cell must contain the letter C in the dept code
thanks
christine