Forumla help - Weighting a range of numbers across 100% (proportionally)

orange12

New Member
Joined
Mar 22, 2016
Messages
2
Hi there. i am looking for a formula to allocate a percentage out of 100%, to a range of values.

I am evaluating 6 options (Column A) and they have different costs (Column B). I wish to write a formula in Column C that displays the cost as a %, where 0% is the least cost and 100% is the most cost. I do not wish to distribute the 100% evenly over the options, by just adding 16% to each new row. I need to distribute proportionally based on where they sit in the range.

So for example, Option Two is only $47 so should be close to Option One (0%).
Option Five is $145, so should be almost 100%, (as is close to Option Six (100%)

ABC
1OptionCost $% out of 100%
2One450%
3Two47
4Three60
5Four65
6Five145
7Six150100%

<tbody>
</tbody>

Thank you very much in advance for your time and help!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Something like this?

Excel 2010
ABC
1OptionCost $% out of 100%
2One450.00%
3Two471.90%
4Three6014.29%
5Four6519.05%
6Five14595.24%
7Six150100.00%

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
C2=(B2-MIN(B:B))/(MAX(B:B)-MIN(B:B))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Hi,

Would something like this work for you?
The Cost$ do not necessary need to be in order.


Excel 2010
ABC
1OptionCost $% out of 100%
2One450%
3Two471.90%
4Three6014.29%
5Four6519.05%
6Five14595.24%
7Six150100.00%
Sheet1
Cell Formulas
RangeFormula
C2=IF(B2=MIN(B$2:B$7),0%,IF(B2=MAX(B$2:B$7),100%,(B2-MIN(B$2:B$7))/(MAX(B$2:B$7)-MIN(B$2:B$7))))

C2 formula copied down.
C column formatted as Percentage.
 
Upvote 0
Steve has a better formula, I guess I didn't need the IF part of my formula.
 
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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