Formula to Find which category a value falls in

Excel1991

Board Regular
Joined
Aug 1, 2018
Messages
58
Hi all,

I have a spreadsheet that looks like the following
BenchmarkBenchmarkBenchmarkBenchmarkBenchmark
Wages10th25th50th75th90th
65,000100,000200,000300,000400,000500,000
300,000100,000250,000298,000350,000400,000
180,00050,00060,00070,000120,000200,000

<tbody>
</tbody>

I was wondering if there was a formula i could put in a new column that would let me know which Benchmark percentile the value in column A falls within. Also, is there a way to perform an "IFS" statement to say "if the wages in column in A are less than then the 10th% then say "less than 10%", if the value in column a is between 10th % and 25th% then say "10th-25th"" and so on?

Thank you!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
For more explanation, the $65,000 in wages falls below the benchmark of the 10th %, so I am trying to get an if statement to say that it falls below the 10th. If i replaced the $65,000 with 350,000, I want it to say that it falls between the 50th and 75th. Is this possible?
 
Upvote 0
How about


Book1
ABCDEFGH
1Wages10th25th50th75th90th
265,000100,000200,000300,000400,000500,000Below 10th
3300,000100,000250,000298,000350,000400,00050th
4180,00050,00060,00070,000120,000200,00075th
Sheet2
Cell Formulas
RangeFormula
H2=IFERROR(LOOKUP(A2,C2:G2,$C$1:$G$1),"Below 10th")
 
Upvote 0
Is there a way that I can make it say the range that it falls? For instance:

ABCDEFGH
1Wages10th25th50th75th90th
265,000100,000200,000300,000400,000500,000
Below 10th

<tbody>
</tbody>
3300,000100,000250,000298,000350,000400,00050th-75th
4180,00050,00060,00070,000120,000200,00075th-90th
5300,00050,00060,00070,000120,000200,000Above 90th

<tbody>
</tbody>
 
Last edited:
Upvote 0
How about
=IFNA(CHOOSE(MATCH(A2,C2:G2,1),"10th-25th","25th-50th","50th-75th","75th-90th","Above 90"),"Below 10")
 
Upvote 0
My pleasure & thanks for the feedback
 
Upvote 0
Fluff,

I have one follow up question if you have the time. Would there be a way to indicate which exact percentile the value in column a falls at? The ranges i provided are benchmarks. So for instance, I know the $65,000 in call A2 falls below the 10th percentile, but is there a way to see what exact percentile it falls at (ex. 6th percentile)?

I dont think that I could use the percentile rank functions because that formula would think that my 90th percentile is actually the 100th percentile. If is use the percentile rank I would use the ranges above as my array. For instance, using my example above, the value in a3 ($180,000) falls just below the 90th. however, if i use the percentile rank function, it would say it falls 95th percentile or something because it thinks that $200,000 is actually the 100th percentile.

I hope what I am saying makes sense, it is difficult to explain.
 
Upvote 0
Makes absolutely no sense to me, but that's probably because I know nothing of percentiles.

As this is a different question, you need to start a new thread.
Thanks
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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