Function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the IF statement and looking to return the following:

IF A2 >= to 98.5% returns Exceeds
IF A2 = to 100% returns Far Exceed

Each time I have 100% I am getting a return value of Exceeds, which I attribute to it equaling the initial IF statement.
 
You probably want to use

=IF(AND(A2>=98.5%,A2<100%),"Exceeds",IF(A2=100%,"Far Exceeds",""))

First we determine if A2 is between 98.5% and 100%, if it is, it returns
Exceeds, if not, we test if A2 equals 100%. If it is, it returns Far
Exceeds. If none of these conditions is met, the an empty string ("") is
returned.

HTH

--
Michael J. Malinsky
Pittsburgh, PA

"I am a bear of very little brain, and long
words bother me." -- AA Milne, Winnie the Pooh

Scott (TSS-11) said:
I am using the IF statement and looking to return the following:

IF A2 >= to 98.5% returns Exceeds
IF A2 = to 100% returns Far Exceed

Each time I have 100% I am getting a return value of Exceeds, which I
attribute to it equaling the initial IF statement.
 
It's because both conditions are true, you have to do something like

=IF(AND(A2>=98.5%,A2<100%),"Exceeds",IF(A2=100%,"Far Exceeds","Not good
enough"))

--
No private emails please, for everyone's
benefit keep the discussion in the newsgroup.


Regards,

Peo Sjoblom


Scott (TSS-11) said:
I am using the IF statement and looking to return the following:

IF A2 >= to 98.5% returns Exceeds
IF A2 = to 100% returns Far Exceed

Each time I have 100% I am getting a return value of Exceeds, which I
attribute to it equaling the initial IF statement.
 
I am using the IF statement and looking to return the following:

IF A2 >= to 98.5% returns Exceeds
IF A2 = to 100% returns Far Exceed

Each time I have 100% I am getting a return value of Exceeds, which I attribute to it equaling the initial IF statement.

Test first for 100%.

=IF(A1>=100%,"Far Exceeds",IF(A1>=98.5%,"exceeds",A1))


--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Returning Desired Results 5
PLEASE HELP! Return a Value Using Multiple Sources 4
I'm a Newbie, Need Formula 5
Help with a date formula 1
if statement confusion 10
audit trail 4
Excel formula 3
Data Validation 3

Back
Top