Simple If-Then Formula

I

InsBrokerJayne

I am trying to set up a simple if-then formula. I want three possible
outcomes.

Here's the deal:
I want a formula that will do the following:
If F2 is greater than $50.00 but less than $500.00, the value for G2 should
be $25.00.
If F2 is greater than or equal to $500.00, the value for G2 should be
$50.00.
If F2 is less than $50.00, the value for G2 should be 0.

Please help.
 
J

JE McGimpsey

Just another way:

=((F2>50)+(F2>=500))*25

You don't say what should happen if F2=50, so I assumed the result
should be zero.
 
R

RagDyer

This returns 25 if F2 also = 50:

=AND(F2>=50,F2<500)*25+(F2>=500)*50

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 
S

Sandy Mann

=IF(F2<>"",(F2>=50)*25+(F2>=500)*25,"")

--
HTH

Sandy
(e-mail address removed)
Replace@mailinator with @tiscali.co.uk
 

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

Top