IF AND formula

Srikanth123

New Member
Joined
Nov 30, 2014
Messages
1
Hi,

I need a formula to be developed for below parameters.

If cell value is <=5000 should show 25.
If cell value is >5000 <=10000 should show 50.
If Cell value is >=10001 <100000 should calculate 3/1000 on cell value with min-75 max-200.
If cell value is >=100001 should calculate 2/1000 on cell value with Max 300.

Anybody Pls help me on this. I appreciate your help..
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
5,117
Office Version
  1. 365
Platform
  1. MacOS
=IF ( cell value >= 100001 , Max((Cell value * 2 /1000 ),300 ) , IF ( Cell value is >=10001 , MEDIAN(75,200, (Cell value * 3 /1000 ) ), If ( cell value is >5000 50 , 25 )))
does that work for you ?

I have used the values as you presented
but as shown
100000.5 = will be less than >=100001 and so not be in that category ?

You may want
>5000
>10000
>100000
Rather than the > = for an integer above ie >1000 captures 1000.5
 

Forum statistics

Threads
1,148,334
Messages
5,746,154
Members
423,994
Latest member
blzxatly

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
Top