Limiting within a formula

adamdc20

New Member
Joined
Apr 10, 2006
Messages
18
Thanks in advance to anyone who can help with this!!

I have a formula - which is giving me a percentage total - this is calculated by summing a series of totals from 6 rows of data i.e:

Row 1: 1 2 3 4 5 = 15
Row 2: 6 7 8 9 10 = 40
Row 3: 11 12 13 14 15 = 65
Row 4: 16 17 18 19 20 = 90

= Total - 210

(The figures are just examples - not the real data.)

The numbers in the original data can increase indefinitely.

I want to represent this total as a percentage (which I can do) - and I want to ensure that each row is only able to contribute a maximum to the total - 25% (i.e - If Row 1 total = 500, and all the other rows = 0. I want the maximum total % to be 25%. Is this possible?

What I am trying to avoid is having a 100% total - when only one of the rows is contributing.....

Thanks for your help - I realise this isn't the clearest but I hope it makes sense!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I have no idea where your data is set up, but you can probably do something like:

=min(f1/total,.25)

F1 I have is where I assume 15 is in row 1. Then replace total wherever your total is. Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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