SUMIF only IF

Citrusandsage

New Member
Joined
May 13, 2021
Messages
14
Office Version
  1. 365
Hi there,
I am stuck on a formula. So I have a sheet that has multiple components for commission so I need to be able to add up all the rows by a SUMIFS by Quarter. However there was just another element thrown in where if they are on extended leave they will receive $X for a leave bonus. Here is where I am stuck. If the value of the Sum if is < $X Leave Bonus than they get the $X leave bonus, If the Value of the Sumifs is > $X leave Bonus they get the value of the Sumifs. I cant figure out how to do logic around the result of the Sumifs. Help!!! Sorry could only provide Pic

IF the result of SUMIFS($B6:$J6,$B$5:$J$5,Q$5) is > L6 , SUMIFS($B6:$J6,$B$5:$J$5,Q$5) otherwise L6
 

Attachments

  • eXAMPLE1.png
    eXAMPLE1.png
    53.6 KB · Views: 18

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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