excel - SUMIFS OR criterion -


i'm working rainfall precipitation data , want find total rainfall months of april, may, june, july each year. columns follows:

a: rainfall each day

b: month

c: year

d: day

e: number indicating reliability of rainfall observation (0,1,2 or 9)

i want exclude unreliable observations. find total rainfall 4 months in 1923, example, following correct?

sumifs(a1:a100,b1:b100,{"4","5","6","7"},c1:c100,"1923",e1:e100,"<>9")

your current formula returns array. example, if highlight formula , press f9 key, see formula returning 4 different values. correct result, going need wrap formula sum function.

=sum(sumifs(a1:a100,b1:b100,{"4","5","6","7"},c1:c100,"1923",e1:e100,"<>9")) 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -