If statement

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

Guest

I have cells a1 and b2, what I want to do is if the value in a1 smaller than
5000 the b1 will be blank, else grater than 5000 or smaller than 5999 b1=
value of a1, else grater than 6000 b1="welcome"
How can I do that please?
 
B1: =if(A1>6000,"Welcome",if(and(A1>5000,A1<5999),A1,""))

I'm not sure what you want if A1 = 6000, right now you get a blank
 

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

Back
Top