Having trouble developing this formula

voilette83

New Member
Joined
Jan 25, 2010
Messages
13
Every attempt I have made at this has returned an error in the formula, and I just can not fix it.

This is what I need to populate in B1:

If the result in A1 is >125% then B1 should contain FE
If A1 is between 115% and 124% then B1 should contain EE
If A1 is between 100% and 114% then B1 should contain ME
If A1 is between 85% and 99% then B1 should contain PM
If A1 is <85% then B1 should contain FM

I have tried and IF(AND( statement, but I can't figure out the proper way to include the information so that I get the result I need.

Can anyone help me out with this? I would appreciate it a lot!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
I would suggest using a LOOKUP

Code:
=IF(COUNT(A1),LOOKUP(A1,{-9.99E+307,0.85,1.00,1.15,1.25},{"FM","PM","ME","EE","FE"}),"")

You may choose to round A1 to 4 decimals of course.
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
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