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

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
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,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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