AND IF problem

M

mailrail

I'm trying to reference a cell and change the value of a number. If the
referenced cell has a value of 1-10, I want the cell (with the formula) to
return the true value. If the cell has a value over 10 and less than 18, I
want it to return a value of 0. I'm writing formulas like crazy, but none
work. Anybody???
 
J

Jason Morin

And if the value is over 18? For now, try:

=IF(A1<=10,A1,IF(AND(A1>10,A1<=18),0,"try again"))

or maybe

=(A1<=10)*A1

HTH
Jason
Atlanta, GA
 
M

mailrail

thanks! the first one got it!

Jason Morin said:
And if the value is over 18? For now, try:

=IF(A1<=10,A1,IF(AND(A1>10,A1<=18),0,"try again"))

or maybe

=(A1<=10)*A1

HTH
Jason
Atlanta, GA
 

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