Multiple ifs in a cell

maddock

New Member
Joined
May 5, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi Guys i need some help.
So the value that i have as follows
<10,000 = 30%
more than 10,000 but less than 20,000 = 50%
More than 20,000 but less than 100,000 = 70%
More than 100,000 = 90%

I want to create a formula that recognizes a cell's value and reflects the % as above when the value is as the conditions above

can someone help with the formula i cant find any online.

Hope my question is clear
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
try:
mr excel questions 34.xlsm
ABC
1ValueCalculation
250000.3
399990.3
4100000.5
5100010.5
6199990.5
7200000.7
8200010.7
9999990.7
101000000.9
111000010.9
maddock
Cell Formulas
RangeFormula
B2:B11B2=IFS(A2<10000,0.3,A2<20000,0.5,A2<100000,0.7,A2>=100000,0.9)
 
Upvote 0
Hi @maddock . Welcome to the MrExcel forum. Please accept my warmest greetings and sincere hope that all is well.

I show you 2 ways, check which one you like:

Dante Amor
ABC
1Value%%
29,000.0030%30%
311,000.0050%50%
425,000.0070%70%
596,000.0070%70%
6115,000.0090%90%
Hoja3
Cell Formulas
RangeFormula
B2:B6B2=IF(A2<10000,30%,IF(A2<20000,50%,IF(A2<100000,70%,90%)))
C2:C6C2=LOOKUP(A2,{0;10000;20000;100000},{0.3;0.5;0.7;0.9})


Maybe in the array you should use comma:
Excel Formula:
=LOOKUP(A2,{0,10000,20000,100000},{0.3,0.5,0.7,0.9})


--------------
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
--------------
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,138
Members
449,098
Latest member
Doanvanhieu

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