What I am trying to accomplish
Cell A7 uses =ROUND((RAND()*(0-54)+54),0) to give me rounded whole number between 1 and 54
Cell B7 uses this function =IF(A7<20,ROUND((RAND()*(0-19)+19),0),IF(A7>19,ROUND((RAND()*(0-73)+73),0),IF(A7>73,ROUND((RAND()*(0-127)+127),0))))
2 Problems.
First my function works it is not calculating correctly. This is what I really need to find out...
If A7 < 20 I want to see a random whole number between 1-19, If A7 > 19 BUT < 73 I want to see a random whole number between 1 - 73, and last if A7 > 73 I want to see a random whole number between 1-127.
Second, When ever I enter data into a blank cell (any blank cell on the worksheet) the function will run again and provide new results. Is there any way to lock it down (maybe just columns A&B) so that it is less volatile and will not randomly generate numbers every time the worksheet is modified?
Any help with either question would be appreciated
Cell A7 uses =ROUND((RAND()*(0-54)+54),0) to give me rounded whole number between 1 and 54
Cell B7 uses this function =IF(A7<20,ROUND((RAND()*(0-19)+19),0),IF(A7>19,ROUND((RAND()*(0-73)+73),0),IF(A7>73,ROUND((RAND()*(0-127)+127),0))))
2 Problems.
First my function works it is not calculating correctly. This is what I really need to find out...
If A7 < 20 I want to see a random whole number between 1-19, If A7 > 19 BUT < 73 I want to see a random whole number between 1 - 73, and last if A7 > 73 I want to see a random whole number between 1-127.
Second, When ever I enter data into a blank cell (any blank cell on the worksheet) the function will run again and provide new results. Is there any way to lock it down (maybe just columns A&B) so that it is less volatile and will not randomly generate numbers every time the worksheet is modified?
Any help with either question would be appreciated