View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default IF function between a range of numbers e.g 1000 to 2000

=IF(AND(A1=1000,A1<=2000),"yes","no")

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"suz" wrote in message
...
I want to check if a number is ina range between 1000 and 2000 and I can't
get the IF function to work propoerly using the greater than and smaller
than
signs