Help with Formula

Kristylee0228

New Member
Joined
Sep 8, 2011
Messages
30
I've created a heat map and I am wondering how to use a percentage in my formula instead of MIN and MAX.
Here is my formula now: =IF($B8<>"",IF(W103=MAX(W$103:W$113),"p",IF(W103=MIN(W$103:W$113),"q","n")),"")

I need to show the top 30% of a group and the bottom 30% of the group. Anything in between would be the median.

Any help would be greatly appreciated.
:)
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi and welcome.

Maybe try something like this...
Code:
=IF($B8<>"",IF(W103<=PERCENTILE(W$103:W$113,30%),"Bottom30%",IF(W103>=PERCENTILE(W$103:W$113,70%),"Top30%","Median")),"")
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,261
Members
452,901
Latest member
LisaGo

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