IF formula HELP!

BaileeManfro

New Member
Joined
Jul 7, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello! I am stumped on a Formula I can use (or if its even possible) for the following:

IF cells E2:E462 are less than or equal to 24 then enter S
IF cells E2:E462 are greater than 25 but less than or equal to 249 then enter M
IF cells E2:E462 are greater than 250 but less than or equal to 999 then enter L
IF cells E2:E462 are greater than 1000 but less than or equal to 2999 then enter XL

Hopefully this makes sense... thank you for any help!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi & welcome to MrExcel.
How about with a lookup table
Fluff.xlsm
EFGHIJKLM
1
28S24S
3100M249M
4250L999L
51000XL2999XL
6
Main
Cell Formulas
RangeFormula
F2:F5F2=INDEX($M$2:$M$5,XMATCH(E2,$L$2:$L$5,1))
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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