If statement between ranges

markdoc5

New Member
Joined
Jan 27, 2021
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hey All, - hopefully someone can offer some assistance for this, before i lose my hair!

What im looking for is, if i type a percentages in No 1 2 or 3 - depending on that percentage it will give me the weightings percentile to the right (hopefully that makes some sense)

Book1
BCDEFGHIJKLM
2
3No1Weight No1No1 percentile No2 percentile No3 percentile
496%based on B4 it will show K4/k5/k6 or k7110% Or Above13% or above85% and below
5Between 100%- 109%between 11%-12%between 85% - 90%
6No1Weight No1Between 95% - 99% between 9% - 10%between 90% - 95%
714%?94% or below 9% or below 95% and above
8
9No1Weight No1
1098%?
11
Sheet1
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Book2
BCDEFGH
4No1Weight No1
596.00%Between 95% - 99%
6
7No1Weight No1
814.00%13% or above
9
10No1Weight No1
1198.00%85% and below
12
Sheet1
Cell Formulas
RangeFormula
F5F5=IF(OR(B5<=94%),K8,IF(B5>110%,K5,IF(AND(B5>=100%,B5<=109%),K6,IF(AND(B5>95%,B5<=99%),K7,))))
F8F8=IF(OR(B8<=9%),L8,IF(B8>13%,L5,IF(AND(B8>=11%,B5<=12%),L6,IF(AND(B8>9%,B8<=10%),L7,))))
F11F11=IF(OR(B11<=95%),M8,IF(B11>85%,M5,IF(AND(B11>=85%,B11<=90%),M6,IF(AND(B11>90%,B11<=95%),M7,))))
 
Upvote 0
Solution
Book2
BCDEFGH
4No1Weight No1
596.00%Between 95% - 99%
6
7No1Weight No1
814.00%13% or above
9
10No1Weight No1
1198.00%85% and below
12
Sheet1
Cell Formulas
RangeFormula
F5F5=IF(OR(B5<=94%),K8,IF(B5>110%,K5,IF(AND(B5>=100%,B5<=109%),K6,IF(AND(B5>95%,B5<=99%),K7,))))
F8F8=IF(OR(B8<=9%),L8,IF(B8>13%,L5,IF(AND(B8>=11%,B5<=12%),L6,IF(AND(B8>9%,B8<=10%),L7,))))
F11F11=IF(OR(B11<=95%),M8,IF(B11>85%,M5,IF(AND(B11>=85%,B11<=90%),M6,IF(AND(B11>90%,B11<=95%),M7,))))
Your are a god among men and i thank you !

I don't know why i tried to over complicate it with some of the formulas i tried haha
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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