All articles with 'random numbers' Tag
Excel Links – Change in Posting Schedule Edition
Ok, this is bound to happen. After regularly writing for about 2 years now, I have decided to revise posting schedule on Chandoo.org. Usually I write 5 posts per week (about 21-22 per month). While I have not ran out of ideas yet (my notebook still has 94 different ideas yet to become posts), I […]
Continue »Office 2010 Contest Winners are here!!!
Okay folks, sorry I took quite awhile to post this. But I was busy with excel school and getting my kids buzz cut. So here you go. Contest winners – India Paresh shah (website) Abhishek Jain Rahul Mulchandani (website) Contest winner – International Tom (this Tom) Congratulations Winners. You will very soon hear from me […]
Continue »Often when you need to generate a sample from large data set, you may want to pick data from a random date. In such cases, you can use excel’s RAND() and RANDBETWEEN() formulas to pick a random date. Here I have included few examples,
Continue »Array formula to check if a number is prime [just for fun]
I am math-geek-wannabe, if there ever is such a category. During my 3rd year of graduation I went and purchased the volume 2 of Donald Knuth’s Art of Computer Programming and thus began my love with all things random and prime. I never really became the math-geek I always wanted to, instead I became an insurance expert with tons of passion for data and visualization. But when I get a chance to poke with randomness or numbers, I always lap it up with joy. And that brings us to an interesting array formula trick to check if a number is prime or not.
(assuming the number is in the cell B2) type the below formula and
=IF(MIN(MOD($B$5,ROW(INDIRECT(“2:”&INT(SQRT($B$5))))))=0,”not prime”,”prime”)
hit ctrl+shift+enter and bingo, it tells you if the number is prime or not. Read on to find how it works
Continue »In this week’s excel links learn how to make bingo cards, make your random numbers unique and prepare your data for charting and much more…
Continue »