Find Conditional Percentage of sum of multiple cells

SAJIL RAHMAN

New Member
Joined
Mar 30, 2018
Messages
5
TYPE1TYPE2TOTAL1TOTAL2PERCENTAGE
EBT5000050000I NEED TO CALCULATE 3% OF SUM TOTAL1 &2 IF TYPE 1 IS "E/F/O" AND TYPE2 IS "DT"... IT SHOULD BE 5% IF TYPE1 IS "E" AND TYPE2 IS "BT"
EDT5000050000
FDT15000050000
ODT25000050000

<tbody>
</tbody>

Please help me to find the suitable formula, i tried my best last 2 days....:(
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
both has given my answer, while i have chosen your formula because it helps me to make some changes and to give more additional options.
Could you please help me that i need to round the answer, i tried to change the formula but failed, please provide me the same above formula with rounding facility. (>.5 to 1/ <.5 to 0)

=round(if(and(a2="e",b2="bt"),sum(c2:d2)*5%,sum(c2:d2)*3%),0)

Edit: Oh. I see Aladin has already answered you. my bad.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,662
Members
449,462
Latest member
Chislobog

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