Show a result based on numbers that match a scale

onefastmx5

New Member
Joined
Sep 13, 2012
Messages
12
Hi, this should be really easy but im stumped.

A1 needs to show "0.95%", or "0.8%", and so on, based on a figure entered into A2. Doesnt need to calculate the percentage out or anything, just return a figure based on A2 being within a certain range. Im confused by IF and AND and cant get that to work as there are more than 3 ranges, and have tried MEDIAN, but doesnt want to work for multiple ranges. Any help greatly appreciated.


The percentages and ranges are below:
0.95%
$0
$149999
0.80%
150000
249999
0.60%
250000
399999
0.45%
400000
749999
0.30%
750000
+

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
considering your formula in A1
your value of interest in A2

Your table located anywhere on your sheet.
Named range this range:
<style> <!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:1.0in .75in 1.0in .75in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-page-orientation:landscape;} td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;} .xl63 {mso-number-format:Percent; text-align:right; vertical-align:middle; white-space:normal;} --> </style>
0.95%
0.80%
0.60%
0.45%
0.30%

<tbody>
</tbody>
as "percent"

and this range:
0
150000
250000
400000
750000

<tbody>
</tbody>
as "range"

in A1 type:
=LOOKUP(B1,range,percent)

is this close to what you needed?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,963
Members
449,200
Latest member
indiansth

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