View Single Post
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Better to invoke a LOOKUP formula, something like:

=LOOKUP(A1,{0,2.229E-308,11,10001,11000},{"","Jack","","Jim","Joe"})

saziz wrote:
Hello All,
I am trying to test a range of values in a cell:

if(and("a1" is 0 to 10, "Jack"), if("a1" is 10001 to 11000, "Jim),
if("a1" is 11000 to 12000, "Joe')

Can anyone give me the correct systax or any other way to test this?
Thank you
Syed