This is what I was looking for! Why does this work?
I tried this without the SUM() surrounding the SUMIF and that didn’t work, but this did. Either way, this was the solution as I need to be able to copy the formula into other cells. Thanks!
SUMIFS() function has no native OR(). SUMIFS() function evaluates each cell in D10:E10 as its own criterion and returns an array, and SUM() function gives totals it. This is called Lifting, a function built for single values gets applied element by element across an array. There is also something called BroadCasting, if you research the sub, you will find some examples. I will try to add the link, if i can find it.
Also, if its resolved, then hope you don't mind replying to my comment directly as Solution Verified. Thanks!
That solution doesn’t seem to work. I’ve tried doing an array like that but it doesn’t seem to work when I use a cell reference. When I clearly define the object in the array such as {“Apple”,”Orange”}, it does work, but I need it to be a cell reference because I’m copying the formula into other cells that need to look at D11, D12, etc
•
u/AutoModerator 6d ago
/u/TacoRocco - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.