G
Guest
Hello,
I have the following statement that does what I want
=IF(G10=3,-3,IF(G10=4,-2,IF(G10=5,-1,IF(G10=9,1,IF(G10=10,2,IF(G10=11,3,0))))))
If the random number is between 3 and 11, a value is generated, my problem is if the number is either a 2 or a 12, I want to get another number
For example
Random Number List 1 List 2
2 --- 8
7 0 n/a
12 --- 4
So if a number is between 3-11, read corresponding value from list 1, 2 or 12 read from list 2.
Can I do this in one big if statements.
Thanks in advance
Doug
I have the following statement that does what I want
=IF(G10=3,-3,IF(G10=4,-2,IF(G10=5,-1,IF(G10=9,1,IF(G10=10,2,IF(G10=11,3,0))))))
If the random number is between 3 and 11, a value is generated, my problem is if the number is either a 2 or a 12, I want to get another number
For example
Random Number List 1 List 2
2 --- 8
7 0 n/a
12 --- 4
So if a number is between 3-11, read corresponding value from list 1, 2 or 12 read from list 2.
Can I do this in one big if statements.
Thanks in advance
Doug