Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
youtube boolean logic and array formula
E
E-learningEducators
13 Views • Apr 04, 2014
Description
Boolean logic is used in Array formula. In our example we are going to look at calculating the refunds with 3 criteria, Sales rep, Region and Date. Excel could perform this calculation by the use of the SUMIFS formula, however this is a very good example of how Boolean logic can be applied in an Array formula.
We begin this formula with =SUM as we want to get the total of the sale for the criteria. We then enter our first array, and this is the sales rep column and our logical test is to see if the sales rep equals the sales rep per the criteria, in this case, Mary. Lets just take the first 4 rows of data to discuss. We are going to get a False, True, False, False result as the first four sales reps are Kate, Mary, Joe and Joe. This will give us a 0,1,0,0.
We then enter our second array, and this is the region column and our logical test is to see if the region equals the region per the criteria, in this case, North. Lets just take the first 4 rows of data to discuss. We are going to get a True, True, False, False result as the first four sales reps are North, North, South and East. This will give us a 1,1,0,0.
We then multiply these results out. 0*1 = 0, 1*1=1, 0*0=0, 0*0=0. This leaves us with 0,1,0,0
We then enter our third array, and this is the date column and our logical test is to see if the date equals the date per the criteria, in this case, 01/01/2015. Lets just take the first 4 rows of data to discuss. We are going to get a True, True, True, False result as the first four sales reps are North, North, South and East. This will give us a 1,1,1,0.
We then multiply this result 1,1,1,0 against the result above 0,1,0,0 and this will leave us with 0,1,0,0
Finally, we get our last array, and this is the refund value. We do not have a logic test here, instead we are multiplying the value of the refund by the final result above of 0,1,0,0. This will give us 1345*0, 1025*1, 825*0, 1079*0. Our final answer here is 1025.
Watch this video to get a full understanding
We begin this formula with =SUM as we want to get the total of the sale for the criteria. We then enter our first array, and this is the sales rep column and our logical test is to see if the sales rep equals the sales rep per the criteria, in this case, Mary. Lets just take the first 4 rows of data to discuss. We are going to get a False, True, False, False result as the first four sales reps are Kate, Mary, Joe and Joe. This will give us a 0,1,0,0.
We then enter our second array, and this is the region column and our logical test is to see if the region equals the region per the criteria, in this case, North. Lets just take the first 4 rows of data to discuss. We are going to get a True, True, False, False result as the first four sales reps are North, North, South and East. This will give us a 1,1,0,0.
We then multiply these results out. 0*1 = 0, 1*1=1, 0*0=0, 0*0=0. This leaves us with 0,1,0,0
We then enter our third array, and this is the date column and our logical test is to see if the date equals the date per the criteria, in this case, 01/01/2015. Lets just take the first 4 rows of data to discuss. We are going to get a True, True, True, False result as the first four sales reps are North, North, South and East. This will give us a 1,1,1,0.
We then multiply this result 1,1,1,0 against the result above 0,1,0,0 and this will leave us with 0,1,0,0
Finally, we get our last array, and this is the refund value. We do not have a logic test here, instead we are multiplying the value of the refund by the final result above of 0,1,0,0. This will give us 1345*0, 1025*1, 825*0, 1079*0. Our final answer here is 1025.
Watch this video to get a full understanding
More from User
11:25
youtube boolean logic and array formula
E-learningEducators
03:40
create sets based on column items - Pivot tables v's Power Pivot
E-learningEducators
Related Videos
07:01
Part 01: Advanced Microsoft Excel Course - Excel Introduction in Urdu/Hindi | Tutorials Ocean
Tutorials Ocean
23:14
Excel Magic Trick 440_ Array Formulas Advanced Tips
learn.com
01:24
Lesson 75 The Show Formulas Microsoft Office Excel 2007 2010 free Educational video Training Tutorials in Urdu Hindi language
Taleem Online
00:25
Microsoft Excel Formula Purpose | Important Formula Of Excel | L430 Wala
L430 Wala
17:43
Excel Magic Trick 473_ Extract Unique Records with Formula (Complex Array Formula)
learn.com
00:07
[PDF] Excel Formulas Revealed - Master Date & Time Formulas in Microsoft Excel (Master Excell
AllaciaReese