Formula Needed

jaybar0812

New Member
Joined
May 26, 2024
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello Im trying to create a formula that will only calculate the sum of base pay to performance % if there is a yes in column G or H. For instance in the performance amount cell J11 (column J) I want the formula to calculate the award amount of $38,000 * 3% as long as there is a Yes in column G11. I tired this formula but it will not work.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Sorry this post posted before I could finish. The formula I have tried is =SUMIF(F11*$D$6,G11,E6). I want the 3% to be fixed but I want the award amount to change based on the base pay

1716762800619.png
 
Upvote 0
Hi welcome to the forum!

Perhaps this:

Excel Formula:
=SUMIF(G10:G31,"yes",D10:D31)*$D$6

Copy & paste into cell J10. Then fill down.
 
Upvote 0
If there is a 'No' in column G, it will display $0. However, if there is a 'Yes', the formula will calculate the bonus pay amount.

What exactly do you want to display if there is a 'No'?

Oops, nevermind. I see I made an error in the column reference. Try this:


Excel Formula:
=SUMIF(G11:G31,"yes",F11:F31)*$D$6
 
Upvote 0
If there is a 'No' in column G, it will display $0. However, if there is a 'Yes', the formula will calculate the bonus pay amount.

What exactly do you want to display if there is a 'No'?
Hi so I want in column J to only calculate the 3% of the base pay if column G has a Yes in it and it remain blank if there is a No. So cell J11 should show $0 and then in cell j12 should have an amount of 870
 
Upvote 0
I edited my posting above. Try the revised formula I gave you above.

Excel Formula:
=SUMIF(G11:G31,"yes",F11:F31)*$D$6
 
Upvote 0
Try:
Book1
CDEFGHIJ
6Performance3%
7Speicial Commendation Award2%
8
9PerformanceSpeicial Commendation Award
1038,000YesNo1,140-
1129,000NoYes-580
1250,000NoNo--
1339,000YesYes1,170780
Sheet5
Cell Formulas
RangeFormula
I10:I13I10=(G10:G13="Yes")*F10:F13*D6
J10:J13J10=(H10:H13="Yes")*F10:F13*D7
Dynamic array formulas.
 
Upvote 0
I edited my posting above. Try the revised formula I gave you above.

Excel Formula:
=SUMIF(G11:G31,"yes",F11:F
[QUOTE="Burrgogi, post: 6187014, member: 52733"]
I edited my posting above.  Try the revised formula I gave you above.

[CODE=xls]=SUMIF(G11:G31,"yes",F11:F31)*$D$6
Thank you but that still not working. The amount is coming to 12,147 when it should be 0.
[/QUOTE]
Try:
Book1
CDEFGHIJ
6Performance3%
7Speicial Commendation Award2%
8
9PerformanceSpeicial Commendation Award
1038,000YesNo1,140-
1129,000NoYes-580
1250,000NoNo--
1339,000YesYes1,170780
Sheet5
Cell Formulas
RangeFormula
I10:I13I10=(G10:G13="Yes")*F10:F13*D6
J10:J13J10=(H10:H13="Yes")*F10:F13*D7
Dynamic array formulas.
Thank you but this is giving my a #SPILL error

 
Upvote 0

Forum statistics

Threads
1,224,847
Messages
6,181,314
Members
453,032
Latest member
Pauh

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