I would like to have 10 numbers compute randomly (Numbers 0-10). I would like all these numbers to come back as "No" except that the number 7 come back as "Yes". I just haven't figured out how to do it myself, lol.
I would like to have 10 numbers compute randomly (Numbers 0-10). I would like all these numbers to come back as "No" except that the number 7 come back as "Yes". I just haven't figured out how to do it myself, lol.
Last edited by 500bloc; 01-20-2012 at 02:07 AM.
A1:
Copy downwards to A11.![]()
=IF(RANDBETWEEN(0,10)=7,"Yes","No")
Quang PT
If you are using Excel 2003, as your profile suggests, then Randbetween() won't be available, since it is a new function in Excel 2007. In Excel 2003 and earlier you can use
=IF(INT(RAND()*10)=7,"yes","no")
cheers,
I am able to use RANDBETWEEN but my problem is whenever I use either formula I get a "Err:508" code. I'm still a novice at Excel so I may not be doing something correctly.
I wish to do this:
A1: Random number between 0-10 (say 5)
A2: Gives a Yes (if said number is a 7) or No depending if the randomized number is not a 7.
If someone could upload an example I would be more than appreciative.
RANDBETWEEN is available in Excel 2003- in the Analysis Toolpak.
Entia non sunt multiplicanda sine necessitate
shg, thanks for that. I thought it might be, but I wasn't sure. The laptop I'm working on does not have the Analysis ToolPak installed for 2003. I tried to activate it, but the installer files are hard-wired to my work server and I'm not in that network right now. The people who prepare our standard work laptop setups need a little kick in the shins, I guess![]()
A little help please?
Hi 500bloc,
See if the attached is what you desire.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thank you Marvin, this is exactly what I was trying to accomplish.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks