R
RWN
I'm trying to sum the values in Col E where the value in Col A falls in
a range as defined by G4 and H4.
The "A" and "G/H" values are dates.
G4 is the low value and H4 is high.
If I use =SUMIF(A:A,">="&G4,E:E) it returns the correct value.
If I use =SUMIF(and(A:A,">="&G4,A:A,"<="&H4),E:E), it tells me I've got
an error in the formula.
The Help on a SumIf function makes no reference to using a compound
condition, so I assume therefore that it can't handle it.
Question is, how(or can) I do this without resorting to VBA?
a range as defined by G4 and H4.
The "A" and "G/H" values are dates.
G4 is the low value and H4 is high.
If I use =SUMIF(A:A,">="&G4,E:E) it returns the correct value.
If I use =SUMIF(and(A:A,">="&G4,A:A,"<="&H4),E:E), it tells me I've got
an error in the formula.
The Help on a SumIf function makes no reference to using a compound
condition, so I assume therefore that it can't handle it.
Question is, how(or can) I do this without resorting to VBA?