Dynamic Arrays Figure 93 Question

Avra

New Member
Joined
Jul 1, 2020
Messages
24
Office Version
  1. 365
Platform
  1. Windows
Dynamic Arrays Figure 93 Question.jpg

I'm working with the table shown in Figure 93 of Dynamic Arrays STP2. I understand how Total Bonus is calculated. Now I want to calculate how much bonus each rep receives. While I can do this by adding a Bonus column and then adding them in my Individual Bonus table (=SUMIFS($F$3:$F$27,$C$3:$C$27,$H13), I want to perform this calculation without needing to create the Bonus column for the VLOOLKUP function (=VLOOKUP(D3,$H$3:$I$7,2). How do I write the formula in I13 to do that?
 

Attachments

  • Dynamic Arrays Figure 93 Question.jpg
    Dynamic Arrays Figure 93 Question.jpg
    213 KB · Views: 2

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Easiest way that I can think of is to change the bonus amounts in I3:I7 to 0,5,7,38 and 50 (running totals, 5+7=12, 5+7+38 = 50 etc), then use a formula like the one below in I13 and fill down.
This is an array formula which normally needs to be confirmed with Ctrl Shift Enter, although I believe that this is no longer a requirement with office 365.

=SUMPRODUCT(($C$3:$C$27=H13)*($D$3:$D$27>=TRANSPOSE($H$3:$H$7))*TRANSPOSE($I$3:$I$7))
 
Upvote 0
How about
=SUM(XLOOKUP(FILTER($D$3:$D$27,$C$3:$C$27=H13),$H$3:$H$7,$I$3:$I$7,0,-1))
 
Upvote 0
Dynamic Arrays Figure 93 Answer.jpg

jasonb75, this does work. I didn't think about TRANSPOSE. I think I like Fluff's solution better because then I do not have to manipulate the original data. jason75b and Fluff, thank you so much for these solutions!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,696
Members
449,048
Latest member
81jamesacct

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top