View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default Multiple If Statements

Do you have it working now?
If you want many terms then the LOOKUP method is best - it really is not too
complex
Send me (my private email) a table line this

Min Max Value
..01 2.5 3.99
2.5 3.5 4.99
etc

But if the steps are always 1.0 (ie the max is 2.5, 3.5, 4.5, 5.5, 6.5...)
I'm sure we can make a simple math equation

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Tigerwould" wrote in message
...
What if I wanted to add more results?

I can't seem to get it to work by adding + 5.99*(AND(A13.50,A1<4.50)

"Bernard Liengme" wrote:

=IF(AND(A10.01,A1<2.50),3.99,IF(AND(A12.50,A1<3. 50),4.99,"NO REPLY"))
or remove NO REPLY and have an empty ""

If you can live with zero when neither case applies:

=3.99*AND(A10.01,A1<2.50) + 4.99*(AND(A12.50,A1<3.50))

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Tigerwould" wrote in message
...
I'm trying to return multiple results using IF function for the
following.

If A1 is greater that 0.01 and less than 2.50 then enter 3.99, but if
A1
is
greater than 2.50 and less than 3.50 then enter 4.99.

I can do it for one:

=IF(AND(J22.50,J2<3.50),"4.99")

But not multiples.

Help!