I created two columns with random numbers, however in the next column I want to use an if statement. For instance if the number in the specific column and row is between 1 and 2 I want it to output a "1". Likewise if a number is between 3 and 4 I want it to output a "2" and so on until I get to "6" (since I am working on dice problem), How can I do this in excel?
I've tried using the following IF(AND statement various ways but it won't work, it gives me a #VALUE maybe because I have nothing to put for when the value is false like it asks for.
IF(AND(A1>=0,A1<=1),1,IF(AND(A1>1,A1<=2),2... so on
IF(A1=0,"1"), IF(A1=1,"1"), IF(A1=2,"2"),...so on
Thanks in advanced! Any help is appreciated
I've tried using the following IF(AND statement various ways but it won't work, it gives me a #VALUE maybe because I have nothing to put for when the value is false like it asks for.
IF(AND(A1>=0,A1<=1),1,IF(AND(A1>1,A1<=2),2... so on
IF(A1=0,"1"), IF(A1=1,"1"), IF(A1=2,"2"),...so on
Thanks in advanced! Any help is appreciated