Greater Than Less Than Question

G

Guest

=IF((J2<1000000>5000000),"Show","Hide")

This formula is placing "Show" in every field. I want it to put "Show" in
each field that is between 1 and 5 million, and "Hide" in fields less than 1
million and greater than 5 million.

THANK YOU
 
B

Bob Phillips

=IF(AND(J2>1000000,J2<5000000),"Show","Hide")


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
G

Guest

Try this:
=IF(AND(J2<=1000000,J2>=5000000),"Show","Hide")

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 
G

Guest

OK, correction...Here's what I meant to type

=IF(AND(J2>=1000000,J2<=5000000),"Show","Hide")


***********
Regards,
Ron

XL2002, WinXP-Pro
 

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