shortkut77
New Member
- Joined
- Jan 4, 2022
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Apologies if this question exists, but I can't find an exact situation like this. This is my very simple formula:
=SUMIFS(D8:D40,J8:J40,"<>Y",L8:L40,"<>Y")
I am trying to say "sum any cells in column D for which the corresponding cells in both columns J and L do not equal "Y." Or, to put it a more coherent way, "disregard any cells in both columns J and L with the value of "Y."
What I am finding is that the formula only sums if both columns are not "Y" and that when one column is "Y" and one column is not "Y" it returns 0. It's my understanding that the sumifs formula uses 'and' and not 'or,' which would lead me to think both conditions must be satisfied in order to work. If this were true it should only discount cells in D when both J and L are "Y" and not just one of them.
Please let me know if this makes sense.
Thanks in advance!
=SUMIFS(D8:D40,J8:J40,"<>Y",L8:L40,"<>Y")
I am trying to say "sum any cells in column D for which the corresponding cells in both columns J and L do not equal "Y." Or, to put it a more coherent way, "disregard any cells in both columns J and L with the value of "Y."
What I am finding is that the formula only sums if both columns are not "Y" and that when one column is "Y" and one column is not "Y" it returns 0. It's my understanding that the sumifs formula uses 'and' and not 'or,' which would lead me to think both conditions must be satisfied in order to work. If this were true it should only discount cells in D when both J and L are "Y" and not just one of them.
Please let me know if this makes sense.
Thanks in advance!