Skip to playerSkip to main content
Learn how to sum values by criteria in Excel.

Unlocking a nuanced dimension of conditional summation in Excel, the formula "=SUM((D6:D38)*(E6:E38="PAID"))" leverages the prowess of array formulas. This elegant approach involves a meticulous interplay of logical operations and arrays to selectively sum values. The expression "(E6:E38="PAID")" generates a binary array, distinguishing cells containing "PAID" with TRUE and others with FALSE. Multiplying this logical array by the corresponding values in D6:D38 acts as a filter, zeroing out the irrelevant entries. The summation that follows is focused solely on the values meeting the specified criterion. This method, free from the confines of SUMIF, not only streamlines the process but also showcases Excel's adaptability in handling diverse criteria, offering a powerful solution for dynamic data analysis.

Let's break down this formula.
=SUM((D6:D38)*(E6:E38="PAID"))

D6:D38: This represents a range of cells from D6 to D38.

E6:E38="PAID": This is a logical test applied to the range E6:E38. It checks if each cell in the range is equal to the text "PAID". This results in an array of TRUE and FALSE values.

(D6:D38)*(E6:E38="PAID"): This is an array operation where the elements of the D column are multiplied by the corresponding elements of the logical array generated in step 2. This operation effectively "filters" the values in column D based on whether the corresponding cell in column E is equal to "PAID".

SUM((D6:D38)*(E6:E38="PAID")): Finally, the SUM function adds up all the values in the array obtained from step 3. It adds only the values where the corresponding cell in column E is equal to "PAID". In other words, it sums the values in column D only if the corresponding cell in column E is "PAID".

In summary, this formula calculates the sum of values in column D where the corresponding entry in column E is "PAID". It's a common technique in spreadsheet formulas to use logical conditions to filter and perform calculations based on certain criteria.

How do you sum based on criteria in Excel?,How do you sum if criteria between two values?,How do I sum selected values in Excel?,How do you sum if with text criteria?,


Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypシ #exceltips #exceltricks

Category

📚
Learning
Transcript
00:00I'll show you how to best keep track of invoice payment.
00:02Trust me, this will make you look and feel like Excel guru in your office.
00:07If you have worked with SUMIF function and SUMIFs function for criteria-based submission,
00:12this would be another way of using SUM function.
00:16Let's learn.
00:17Consider this data set where you want to calculate what is the total amount that was paid
00:20and what is the total amount that's unpaid.
00:23Normally what you do is say SUM and you add up the monthly dues on column D.
00:27But you can appreciate that this only adds up whatever is due.
00:31But if you want to put a condition, you just multiply that by column E
00:35and the condition for that will be equal paid.
00:38If the condition is false, it returns a zero value
00:40and multiplying it by the monthly due will exclude it from the submission.
00:44And now if you enter the status of paid, you can see it does add up the total in there.
00:49And likewise for unpaid, you just need to remove the paid status into a blank
00:54and then you'll calculate the unpaid values.
00:57You can see it there on screen name textuals
00:58behind the card and the подпис prays.
00:58Please join me in here.
00:58It may be hard to stop keeping it.
00:59Yes.
00:59You can see it.
00:59Thanks a lot of people.
00:59Let me leave.
01:00Thanks a lot.
Comments

Recommended