[Solved] Formula for several sets of figures

Jokerman

New member
In cell A1 would be my subject figure, then I need to work out the sum using the following;
0 to145,000 * 0% then anything between 145,000 to 250,000 *2% then anything between 250,000 to 325,000 *5% then anything over 325,000 * 10%
Can this be done as one formula or would I have to use several to achieve my aim?
I would be grateful for any advice.
 
In cell A1 would be my subject figure, then I need to work out the sum using the following;
0 to145,000 * 0% then anything between 145,000 to 250,000 *2% then anything between 250,000 to 325,000 *5% then anything over 325,000 * 10%
Can this be done as one formula or would I have to use several to achieve my aim?
I would be grateful for any advice.
Hello Jokerman,
Welcome to ExcelDemy and thanks for sharing your problem with us. I understand that you want to calculate percentages of a subject figure based on conditions. We can achieve that by using nested IF functions.
To demonstrate your problem, I have taken the following dataset.

h6qn6sFoerT4nKFHRnxxNsp_M7IhThRWVrl2U4zc2wG_jKwpxCthUaG8oVl1hhSYitZiiIpm2WLfO0FQhMCPRCEJKkh7mEPDI6IMifVDCAF-4t8OJRUVblKTl0fVzUiHioSGUk0Ml3LavsrfpX0OCG8

Then I applied the following formula in cell B2.
=IF(A2<145000,(A2*0)/100,IF(A2<250000,(A2*2)/100,IF(A2<325000,(A2*5)/100,(A2*10)/100)))

Afterward, I pressed the Enter key and dragged down the Fill Handle icon to copy the formula in the remaining cells.​

KnmRVT0WePsxR3JhV7ftlCp8CxMJ5Fb6yTzOUec4uBcW0ygtajCn4Rgl8sQRFnAXPxlH_IR5YQRcUsfINTkCfsqo9Thbm9LHIMA5eRAiruO3Rj3ugjD7z4z7MP6BMwqMEkvlCXbdVCZVr-SyEhMblV4

If you want to make the formula more dynamic, then you can modify the dataset like below.​

7mqhLgaCZXapTBkIVIWKM-wGpBr52fBxg7XEE7uFO19WcyYyK1OXPgitWdYKLB59JkYjYg-npcFaqY0Ivu-9QueyjMRMD6Q50hLZFEx1PV7s53G80KQ0I157suhyYZeakI8c4LMOLy7s3nkY2BKaJ38
The modified formula for this dataset is:

=IF(A2<$D$2,A2*$E$2,IF(A2<$D$3,A2*$E$3,IF(A2<$D$4,A2*$E$4,A2*$E$5)))

98u9vQNUnvSjdX37rLUbhq4osks8UKFaA9PSCWL_ChK_dN7BDuAhT4UgEt7WZP6a0KXQDxYwk7EKb6Y6BR5h25OYQMG4_rIxyycs1xvL4GPKmHCFe3VTxYns9EM63vv5OLgMgTK1RFVdfe3OPWsQMeg

I hope the above formulas will solve your problem. Let us know your feedback.​

Regards,
Seemanto Saha
ExcelDemy
 

Online statistics

Members online
0
Guests online
24
Total visitors
24

Forum statistics

Threads
303
Messages
1,331
Members
550
Latest member
JasonRip
Top