I can't believe how helpful this video was. As someone somewhat advanced in Excel the concept of SUMPRODUCT's utility has always somewhat evaded me. This video was laid out in such a perfect and simple format I completely grasp how the command is actually calculating now. I'm going to turn to your channel for any excel help. Nicely done!
I spend hours to build a formula of index, match, countif and sum to find the sum value of a customer, But after watching this video for 3 minutes I see that SUMPRODUCT does exactly what I want lol. Thanks Leila Gharani, your tutorials are amazing!
Superb. Without a doubt, you're excel guru. Someone called me yesterday guru because I made for them a simple software. But you're the real guru you're teaching billions of people around the world.
This helped me so much in my Excel interview today. I used sumproduct instead of countifs and sumifs and the interviewer was visibly impressed. Thank you so much - you will have a lot of good karma (and business) for doing this.
@@LeilaGharani Wow... I'm very courious of it... what kind of task could it have been where I use sumproduct instead of countifs and sumifs? Could you or maybe Kapil P please give an example?
Meanwhile I studied "sumproduct", now I know that it can be used as countif (count quantity, as in this video, no numbers will be counted) and sumif (when there is only 1 array, so there's no multiplicaton)
This is awesome. Everytime I think "oh, I already know about this function" I'm wrong, because there is always something new to learn with your videos. Thank you!
Your videos are amazing, i have a doubt regarding if lot of datas are there with respect to date...for example for 20 years .how to get month average of every month without using match or lookup or any cell reference formula.
Love this Lady. Her explanations are always perfect. Btw, we think the average price should be a weighted average price since the quantities for each price differ, but that can also be done using the sumproduct function. I used this function many times before, but never saw it this elaborate. Once more, thank you.
One of your very best videos! Not only did I learn something about SUMPRODUCT, but your "slow motion" explanation is elegant and understandable. I try something similar when teaching SUMIFS, but you've really clarified it.
First, I have only recently discovered your UA-cam channel, and I find it to be super helpful, and secondly, your explanation and uses for SUMPRODUCT will absolutely change the way I use Excel. A few comments: 1. Typos in the SUMPRODUCT_Excel_Explained_Free_Worknook_Xelplus: in Cells H23, H24 and H25 the word is SUMPRODUCT (not “SUMPRODCUT”) 2. In practicality, I find the Average Price calculation misleading. Revenue of 98,200 divided by a quantity of 470 units is 208.94. Your calculation of 208.40 is effectively a simple average of the 5 prices, not reflective of how much was sold. 3. Curiously, when you double check the Average Price (around 13:45 of the video), the Status Bar shows an average value for the highlighted values in cells D46, D47, D48, D50 and D52 of 208. I get the same result of 208 when highlighting the numbers in the same sequence (D46, D47, D48, D50, then D52) 4. The numbers in those cells (100, 200, 320, 222, and 200) actually have an average of 208.4. Somehow, the Status Bar shows a different (incorrect?) number of 208. 5. Even more curious, on my computer, when I highlight the cells from your file in reverse order (D52, D50, D48, D47, then D46) the Status Bar shows the correct Average Price of 208.4 … I don’t know why this is, but I am hoping you can explain it!
Yeah, I agree, I even have done a few of her courses online through Udemy. At my work now I am now considered a bit of an Excel Guru... These videos have really helped.
Who says there is no such thing as free lunch........ knowledge i always have had from u The Leila is tremendous.....I have no words to express my thanks....... Video is wowwwwwwwwwwwwwweee....
I've always loved Sumproduct, it does so much; and nice to hear / see someone emphasizing the importance of bracketing, I ended up creating a crib sheet of every AND / OR combination I could think as I was always getting confused. Still do for that matter.
Hi Leila, you have made life so easy for all of us. The only thing one has to do is turn on UA-cam and watch your channel. You have so precisely explained use of comma and aster sign while using SUMPRODUCT.
@@LeilaGharani Thanks for your lovely words :). Taking this SUMPRODUCT a step further, request you to upload video on using SUMPRODUCT to add up values containing specific whole number in range of cells :)
I have been using excel for work for quite sometime. Have been searching what function can perform both sumif & sumproduct at the same time. Finally, found this video! This is the most powerful function I have learnt in Excel so far! The tutorial had explained the function very clearly that make very easy to understand & apply! Also found that besides "+", can also use "-" to exclude some conditions. Thanks a lot!
You're very welcome. Glad you liked the explanation. True. SUMPRODUCT is so versatile by itself and on top it can be combined with other functions to create impressive one formula arrays.
This just became my favourite explanation of the SUMPRODUCT function! All of the blog posts about SUMPRODUCT that I had previously bookmarked are now redundant. Great job Leila!
Hello!! This is an amazing channel! I used Sumifs, index match mainly but not Sum product. I knew more than most in both organisations over the past decade but, this is a game changer! Thank you so much!
Rightly said that this is for advanced users....many would have used sumproduct in a elementary level but with criteria it makes a very useful tool....thanks again
@ Leila Gharani, your channel is amazing. Every time I watch a video, I gain specific useful knowledge to put in good use. Thank you for the great videos.
@@LeilaGharani , the content you provide is outstanding. I've had a personal project for several years now. I've been improving it using the knowledge from your videos. Due to the episode explaining INDEX and MATCH, and their combination, I was able to get rid of the clunky VLOOKUPs. I was in the process of implementing new features and automation to the project (struggling for several days, stacking IFs, ANDs, ORs, NOWs and INTs on top of one another) when I stumbled on this video, I could quite easily understand how the SUMPRODUCT function works and how powerful it really is. Then, in a matter of less than an hour, I managed to solve my problems with a concise and neat expanded SUMPRODUCT function, or as it was later called in my notes "The Magic Formula". Once again, your content is really helpful, comprehensive and easy to understand and implement. *THUMBS UP*
Thanks, didn't know why some of my formulas worked with a coma, but not with a *. Now I do, thanks (understanding what Excel is doing with those true/falso and 1/0 made the difference).
Wow..... Just wow! This helps a lot with my excel problems. Still watching a lot of your contents and they are all very helpful since you're so good at explaining the concept really well. You have an exceptional/genius skills in excel! I'll watch them all and proceed with your VBA next. 😉
@@LeilaGharani there are other similar ones, unknown and under-rated. DGET for example is an older function to VLOOKUP, but much more versatile. Maybe you should do a video on such not so popular functions
i stumbled into your videos while bored at work. i love your explanations, great work! now i have to watch all your videos and pick up all the cool tricks!
The problem watching your videos is that I can not wait till the end of the tutorial to press LIKE, I usually like and then keep watching. You are great Leila. Thanks.
I amazed with your presentation, explanation and giving understanding. I never ever come across like this teaching, like you your math’s skills are superb. Please help me for giving 1st rank, you or your teachings.
Leila, thanks for sharing this exquisite function. Usually we tend to use countif/s, sumif/s for they are quite a simpler than sumproduct. The slight rigidity of sumproduct is in understanding use of "*" ,"+" and "=". This will take a person little while to get hang on to. But still surely useful. Thanks again...
Yes, true - we have to be careful with the brackets too when using SUMPRODUCT. But the great thing about it, is it can simply do OR conditions which the SUMIFS can't do easily - (unless we use two or more SUMIFS functions or wrap the SUMIFS inside a SUMPRODUCT function :) )
SUMPRODUCT is very useful in load distribution problems. In aviation, the center of gravity (CG) of a cargo/passenger load is important for aircraft handling and safety. If one calculates the centers of mass of cargo containers/pallets and people times their individual masses (using SUMPRODUCT) and divides that number by the total weight (using SUM), the result is the CG of the total load. This CG is then used to compare its location within the CG ranges that are allowable for safe takeoffs and landings and economic fuel burn.
Leila Gharani, I found your videos great and helpful. You are doing a great work. Your mode of delivering information and your presentation is best of best. Slowly and steadily you focus on each and every point and make lecture complete. May God reward you for this kind work. Wish you success. Thanks
can you make videos on ROW function and MOD function because we have confusion to use these functions. if you already shared video about this, please share link
WOW! It's a much better formula than countif/ sumif. Learned it last year from your video. But went back to old habit without even realizing. Good to rediscover this gold nugget.
I am very grateful to you Leila, you really opened my eyes to learn something truly nice and useful and absolutely helpful. You are more than amazing. I like your videos so much.
Good information here and clearly explained as always. You need to be very careful using + as an OR operator though... It's perfectly fine in this scenario where only one of the conditions can be TRUE (ie. a company value cannot be both Company A and Company C). In more complex boolean operations where multiple conditions of the OR statement can be TRUE, this method will not work because the term will be evaluated as a count of the number of TRUE conditions. For example, if (for whatever reason) you wanted to return [Company = Company A] OR [Month = Feb]. In this scenario, it would return a revenue of (2 x 60000) + (1 x 10000) + (1 x 18000) + (1 x 38500) + (1 x 22200) + (2 x 36000) + (1 x 16000). This is an incorrect result because it is counting the 60000 and the 36000 twice.
Grab the file I used in the video from here 👉 pages.xelplus.com/sumproduct-file
I can't believe how helpful this video was. As someone somewhat advanced in Excel the concept of SUMPRODUCT's utility has always somewhat evaded me. This video was laid out in such a perfect and simple format I completely grasp how the command is actually calculating now. I'm going to turn to your channel for any excel help. Nicely done!
I‘m very glad to hear that Corey! Thank you.
I spend hours to build a formula of index, match, countif and sum to find the sum value of a customer, But after watching this video for 3 minutes I see that SUMPRODUCT does exactly what I want lol. Thanks Leila Gharani, your tutorials are amazing!
I'm glad I could help with that Kai.
Superb. Without a doubt, you're excel guru. Someone called me yesterday guru because I made for them a simple software. But you're the real guru you're teaching billions of people around the world.
This helped me so much in my Excel interview today. I used sumproduct instead of countifs and sumifs and the interviewer was visibly impressed.
Thank you so much - you will have a lot of good karma (and business) for doing this.
I'm glad it was helpful!
@@LeilaGharani Wow... I'm very courious of it... what kind of task could it have been where I use sumproduct instead of countifs and sumifs? Could you or maybe Kapil P please give an example?
Meanwhile I studied "sumproduct", now I know that it can be used as countif (count quantity, as in this video, no numbers will be counted) and sumif (when there is only 1 array, so there's no multiplicaton)
@@LeilaGharani there any way I can add up a certain product in a list of many different items?
This is awesome. Everytime I think "oh, I already know about this function" I'm wrong, because there is always something new to learn with your videos. Thank you!
It happens to me all the time :)
Your videos are amazing, i have a doubt regarding if lot of datas are there with respect to date...for example for 20 years .how to get month average of every month without using match or lookup or any cell reference formula.
The hot tip for the + meaning or, blew my mind. Didn't know about it. Thank you so much!
You are so welcome, Roberto!
I love Leila!!! My favorite excel teacher!! I recommend her to everyone who wishes to expand their knowledge about any aspect of this tool!!!
Love this Lady. Her explanations are always perfect. Btw, we think the average price should be a weighted average price since the quantities for each price differ, but that can also be done using the sumproduct function. I used this function many times before, but never saw it this elaborate. Once more, thank you.
One of your very best videos! Not only did I learn something about SUMPRODUCT, but your "slow motion" explanation is elegant and understandable. I try something similar when teaching SUMIFS, but you've really clarified it.
First, I have only recently discovered your UA-cam channel, and I find it to be super helpful, and secondly, your explanation and uses for SUMPRODUCT will absolutely change the way I use Excel.
A few comments:
1. Typos in the SUMPRODUCT_Excel_Explained_Free_Worknook_Xelplus: in Cells H23, H24 and H25 the word is SUMPRODUCT (not “SUMPRODCUT”)
2. In practicality, I find the Average Price calculation misleading. Revenue of 98,200 divided by a quantity of 470 units is 208.94. Your calculation of 208.40 is effectively a simple average of the 5 prices, not reflective of how much was sold.
3. Curiously, when you double check the Average Price (around 13:45 of the video), the Status Bar shows an average value for the highlighted values in cells D46, D47, D48, D50 and D52 of 208. I get the same result of 208 when highlighting the numbers in the same sequence (D46, D47, D48, D50, then D52)
4. The numbers in those cells (100, 200, 320, 222, and 200) actually have an average of 208.4. Somehow, the Status Bar shows a different (incorrect?) number of 208.
5. Even more curious, on my computer, when I highlight the cells from your file in reverse order (D52, D50, D48, D47, then D46) the Status Bar shows the correct Average Price of 208.4 … I don’t know why this is, but I am hoping you can explain it!
I wish I could give this video 1000 thumbs-up. I finally understand SUMPRODUCT well enough to use it on my own. Thank you Leila Gharani!
I'm already happy with the one thumbs up :) I'm glad the video is helpful Thomas.
One of the best teachers on the internet. Bravo.
Yeah, I agree, I even have done a few of her courses online through Udemy.
At my work now I am now considered a bit of an Excel Guru... These videos have really helped.
Thanks!
Thank you!
The simplicity and elegance of this use of sumproduct is genious, you rock!! 😀
i’ve worked with sumproduct but this segment cleared up unanswered questions. Thank you!
Trust me, your style of teaching and logic is so simple yet powerful
Thank you!
Who says there is no such thing as free lunch........ knowledge i always have had from u The Leila is tremendous.....I have no words to express my thanks....... Video is wowwwwwwwwwwwwwweee....
I'm glad you like it. Many thanks for the kind feedback.
I've always loved Sumproduct, it does so much; and nice to hear / see someone emphasizing the importance of bracketing, I ended up creating a crib sheet of every AND / OR combination I could think as I was always getting confused. Still do for that matter.
Hi Leila, you have made life so easy for all of us. The only thing one has to do is turn on UA-cam and watch your channel. You have so precisely explained use of comma and aster sign while using SUMPRODUCT.
Thank you so much Sachin for your continuous support. It means a lot!
@@LeilaGharani Thanks for your lovely words :). Taking this SUMPRODUCT a step further, request you to upload video on using SUMPRODUCT to add up values containing specific whole number in range of cells :)
Super clear demonstration. Short and precise. Thank you!
I have been using excel for work for quite sometime. Have been searching what function can perform both sumif & sumproduct at the same time. Finally, found this video! This is the most powerful function I have learnt in Excel so far! The tutorial had explained the function very clearly that make very easy to understand & apply! Also found that besides "+", can also use "-" to exclude some conditions. Thanks a lot!
You're very welcome. Glad you liked the explanation. True. SUMPRODUCT is so versatile by itself and on top it can be combined with other functions to create impressive one formula arrays.
This just became my favourite explanation of the SUMPRODUCT function!
All of the blog posts about SUMPRODUCT that I had previously bookmarked are now redundant.
Great job Leila!
Thank you! I'm glad to hear that snicho :)
Hello!! This is an amazing channel! I used Sumifs, index match mainly but not Sum product. I knew more than most in both organisations over the past decade but, this is a game changer! Thank you so much!
Glad it's helpful for you. Sumproduct really can be quite useful.
Super clear and simple. Wow.....
Rightly said that this is for advanced users....many would have used sumproduct in a elementary level but with criteria it makes a very useful tool....thanks again
Very true. It really is a powerful function that is often overlooked.
Great demo for this great function! the array aspect of it now got a bit forgotten by old-timers with all the new array native functions. TY
@
Leila Gharani, your channel is amazing. Every time I watch a video, I gain specific useful knowledge to put in good use. Thank you for the great videos.
You're very welcome. I'm glad the tutorials are helpful.
@@LeilaGharani , the content you provide is outstanding. I've had a personal project for several years now. I've been improving it using the knowledge from your videos. Due to the episode explaining INDEX and MATCH, and their combination, I was able to get rid of the clunky VLOOKUPs. I was in the process of implementing new features and automation to the project (struggling for several days, stacking IFs, ANDs, ORs, NOWs and INTs on top of one another) when I stumbled on this video, I could quite easily understand how the SUMPRODUCT function works and how powerful it really is. Then, in a matter of less than an hour, I managed to solve my problems with a concise and neat expanded SUMPRODUCT function, or as it was later called in my notes "The Magic Formula". Once again, your content is really helpful, comprehensive and easy to understand and implement. *THUMBS UP*
It's so great to hear that you could apply knowledge learned from my videos to your projects. Makes me happy :)
each time I see your video I know I'm going to be surprised. This one is not an exception. Thank you for sharing.
Best instructor! Bar none! You make it so comprehensive!
Wow, thank you Darcy!
Thanks!
Thank you!
Thanks again, Leila!
the easiest and clearest explanation, many thanks, wish you always the best. please keep it up
Thanks, didn't know why some of my formulas worked with a coma, but not with a *. Now I do, thanks (understanding what Excel is doing with those true/falso and 1/0 made the difference).
It is really amaizing that, this video is free !!. Excellent work Leila. Sumproduct is really an amaizing and extreemly usefull function
Many new functions in Excel, but this video is like about a new star too. Very inspiring, thank you!
FINALLY, someone who explains this in a way that makes sense! Thank you.
You're very welcome. I'm glad it makes sense :)
I am a priest and I respect you as my own mother! You are a great teacher & Guide.
I m sending my blessings to you
Nah you're not a priest.
I am.
@Leila is the Goddess of Excel...this video had answers to lot of my queries...thank you..u are the best
Wow..... Just wow! This helps a lot with my excel problems.
Still watching a lot of your contents and they are all very helpful since you're so good at explaining the concept really well.
You have an exceptional/genius skills in excel! I'll watch them all and proceed with your VBA next. 😉
This revealed the secrets of the almighty and powerful sumproduct for me. Seriously, great examples and explanations. Thank you!
Glad to help Morgan. Hope it'll come in handy for you.
Excellent. I was little bit tensed. How and where I will use sumproduct. You make me clear. Thanks.
I had been watching your videos for a while, but this somehow slipped me. What you can do with Sumproduct is just another level!!
It really is an underrated function!
@@LeilaGharani Agree, totally!
@@LeilaGharani there are other similar ones, unknown and under-rated. DGET for example is an older function to VLOOKUP, but much more versatile. Maybe you should do a video on such not so popular functions
i stumbled into your videos while bored at work. i love your explanations, great work! now i have to watch all your videos and pick up all the cool tricks!
Thank you! I'm glad to hear that :)
Great......Leila..,really helpful and extraordinary explanations......very very thanks.
The problem watching your videos is that I can not wait till the end of the tutorial to press LIKE, I usually like and then keep watching. You are great Leila. Thanks.
I have no problem with that :)
Thank you for all your efforts providing all Excel users with valuable Information.
Easy way of teaching complex formulas. Appreciate your hard work❤.
your teaching methods is very easy and effective. thank you so much for that
really awesome tutorial, I can not tell you how many problems this video has solved for me..... 10000000 likes
This is the best excel tutorial channel I have found so far! Great job!
That's a mega compliment! Thank You!!! and also for your support.
Agreed
Your explanation of excel formula's are outstanding.
Wow, with your teaching I have worked out where I was going wrong with sumproduct. Thanks!
Glad to help Irene.
Textbooks never go in to the why or the practical use of functions. Thank you for making this ❤️
You're so welcome!
That's how Excel (and everything) should be taught. Thank you
How fantastic your interdiction for SUMPRODUCT formula. It is useful for me, Thank you Leila.
I'm happy to hear you find it useful. Thank you for the feedback.
Just found this video and it's very helpful. This is a relatively unknown but elegant and powerful function.
Glad you like it!
Great explanation. It helped me in creating very useful calculations. Thanks.
Thanks Leila for showing us the + and * trick when doing OR and AND!
you are amazing. thank you. such a clear explanation. hot tip of true value as 1 and false value as 0 is brilliant
EXCELLENT explanation. You do a marvelous job explaining a complex function. Thank you!
You're welcome Robert. Glad you like the explanation.
I amazed with your presentation, explanation and giving understanding. I never ever come across like this teaching, like you your math’s skills are superb. Please help me for giving 1st rank, you or your teachings.
Thanks for the very kind words. Very glad to hear the explanation & content is clear :)
Leila, thanks for sharing this exquisite function. Usually we tend to use countif/s, sumif/s for they are quite a simpler than sumproduct. The slight rigidity of sumproduct is in understanding use of "*" ,"+" and "=". This will take a person little while to get hang on to. But still surely useful. Thanks again...
Yes, true - we have to be careful with the brackets too when using SUMPRODUCT. But the great thing about it, is it can simply do OR conditions which the SUMIFS can't do easily - (unless we use two or more SUMIFS functions or wrap the SUMIFS inside a SUMPRODUCT function :) )
LG! This was really good. I never knew this! It makes match-index complications hell of a simple thing! Thank you very much.
Glad to help :)
Wow!, I am an advanced excel user and never knew that we can do so much using Sumproduct. Thanka Leila :)
I'm glad the video is helpful!
Great explination of how Excel interprets the information.
SUMPRODUCT is very useful in load distribution problems. In aviation, the center of gravity (CG) of a cargo/passenger load is important for aircraft handling and safety. If one calculates the centers of mass of cargo containers/pallets and people times their individual masses (using SUMPRODUCT) and divides that number by the total weight (using SUM), the result is the CG of the total load. This CG is then used to compare its location within the CG ranges that are allowable for safe takeoffs and landings and economic fuel burn.
Thanks for your feedback on a practical application.
Leila Gharani You’re welcome. My submission is only one of myriad non-financial uses for Excel.
Your videos are so clear and concise. Thank you so much for all the help you have provided me.
Thank you for the kind feedback, Mark!
Very clearly explained! Thank you Leila, you are a good teacher!
I'm glad you like it!
great function. thank you for this video to know how we can use it. it's easy to learn with you and good example.
You can use OR in sumifs and countifs by providing your criteria as an array {"C1", "C2", "C3"...} instead of one criteria per range
Merci. Avec vous on est sûr s’apprendre quelque chose à la fin de la vidéo. Amicalement.
Awesome video. Now I got to know about the real use & value of SumProduct Function
This is an amazing video, even though English is a foreign language for me but the way you explained the sum-product function, very easily learned it.
Great to hear!
This was a wonderful tutorial. Had been doing vlookup with multiple "ifs" till now. This was amazing.
Leila Gharani, I found your videos great and helpful. You are doing a great work. Your mode of delivering information and your presentation is best of best. Slowly and steadily you focus on each and every point and make lecture complete. May God reward you for this kind work. Wish you success. Thanks
Thank you so much for your comment! Makes me very happy to hear you find the videos helpful.
Thank you very much Leila for teaching us Excel functions. Can you kindly do a session on how to use Excel cubes?
Excellent explanation..!! Hats OFF..! thank you so much for a wonderful video . you are really a Genius ..!
You are most welcome!
Priceless illustration! It`s hard to find words to express my appreciation
Thank you for the kind feedback!
Amazing Leila... never knew sumproduct is so useful !! Thanks
Happy to help!
Wow Leila This saves me so much time. Thanks Heaps!!
Thank you Leila. Your videos are much appreciated.
You're welcome. Glad to hear that.
You are great at explaining. I learned much of this already but you explain how and why it works superbly!
Thank you! I'm glad you find the tutorials easy to follow :)
These tips made my life much easier. Thanks Leila
Brilliant teaching style, Leila. Your work ethic and the quality of your presentations are inspiring. Thank you for posting these tutorials.
Thank you Bianca! I'm glad you find the tutorials useful.
Wow......... Today i have learnt new thing.......... Thank You Leila
That's always good :)
Wow just awestruck by your materials and explanations of concepts. Thanks a ton.
You're very welcome. Glad you find the tutorials helpful.
can you make videos on ROW function and MOD function because we have confusion to use these functions. if you already shared video about this, please share link
Another great video. This sort of formula is really elegant. It makes multi condition statements so much easier and takes very few helper cells.
WOW! It's a much better formula than countif/ sumif. Learned it last year from your video. But went back to old habit without even realizing. Good to rediscover this gold nugget.
Glad it was helpful!
I am very grateful to you Leila, you really opened my eyes to learn something truly nice and useful and absolutely helpful. You are more than amazing. I like your videos so much.
I'm really glad it is helpful!
I’m impressed with your knowledge
Hi, I just found gold mine of excel info I was missing. I am really thankful for sharing all these info.
Great to hear!
Best Explanation Videos ....Mam,u r the best and a naturally gifted teacher.
Thank you very much Sanjeev for the kind words. Glad to hear you like the videos.
very nice explanation ........... your teaching method is very easy to learn ...... Thanks!!!!! .....wow.....
You are most welcome
OMG, Thank you! I never understood why I was using the * in a sumproduct with condition/exceptions!
You are so welcome!
Best Excel Lectures ever!!
Hi liela, first of all I want to say many many thanks for sumproduct formula you solve my big confusion question. This video help full for me 👍👍👍👍
You're very welcome. I'm glad the video is useful!
Thank you. I always thought we must use array formulas for such AND/OR applications.
Thanks in a million. What a twist. You got the best stuff on earth. SUMProduct is awesome. I have subscribed. A++
Thanks for the sub, John!
Good information here and clearly explained as always. You need to be very careful using + as an OR operator though... It's perfectly fine in this scenario where only one of the conditions can be TRUE (ie. a company value cannot be both Company A and Company C). In more complex boolean operations where multiple conditions of the OR statement can be TRUE, this method will not work because the term will be evaluated as a count of the number of TRUE conditions.
For example, if (for whatever reason) you wanted to return [Company = Company A] OR [Month = Feb]. In this scenario, it would return a revenue of (2 x 60000) + (1 x 10000) + (1 x 18000) + (1 x 38500) + (1 x 22200) + (2 x 36000) + (1 x 16000). This is an incorrect result because it is counting the 60000 and the 36000 twice.