Greater than, less than for 3 objects

MrsWillmore

New Member
Joined
Apr 5, 2013
Messages
11
I'm trying to get my formula to work on 3 items,

between 12571 to 50270 returns 243
between 50271 to 125140 returns 124
over 125140 returns 110

I had tried using this, but obviously it returns a value for the 110 as it's already over 50271
=IF(J48<=50270,"243",IF(J48>=50271,"124",IF(J48>=125141,"110")))
should I be using an AND or OR and trying to get a greater than, less than on the 50271 to 125140? I'm really stuck and would love any advice you can help with.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Try it like
Excel Formula:
=IF(J48<=50270,243,IF(J48<=12510,124,110))
 
Upvote 1
Solution
Try this:
Excel Formula:
=IF(J48>125140,110,IF(J48>=50271,124,IF(J48>=12571,243,"")))
 
Upvote 0
Try it like
Excel Formula:
=IF(J48<=50270,243,IF(J48<=12510,124,110))
Only issue with that is it also returns 243 for values less than 12571.
 
Upvote 0
Do you ever have any values less than 12571?
If so, what do you want to happen in those instances?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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