need help calculating if formula

PBUTTS

New Member
Joined
Aug 15, 2011
Messages
1
I am trying to create a formula that will compare data to a set number and if it passes that test then multiplies that data by 20%. For example, if any cells c1 through c43 are greater than $300, than that cell is multiplied by 20%. the total of those cells are added together for my total in the destination cell. so if I have 3 cells that pass the test and and each cell's number is multiplied by 20% returning a value of 50 than my final cell value would be 150.. Confused????
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
You might use this formula to compute the sum.

=SUM(A1:A10)-SUMIF(A1:A10,">300",A1:A10)*.8

or a helper column with the formula
=A1*IF(A1>300, .2, 1) could be created and then summed
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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