Excel Hints & Tips – Producing Example Data

Ever needed to produce a large set of random numbers on your spread sheet quickly? This blog will tell you how.

Hi, we are Happy

We are leading a movement to create happy, empowered and productive workplaces.

How can we help you and your people to find joy in at least 80% of your work?

Keep informed about happy workplaces

Sign up to Henry's monthly Happy Manifesto newsletter, full of tips and inspiration to help you to create a happy, engaged workplace.

In the example below we produce a large set of numbers between 1 and 100.

Step 1: Click into any cell and type =INT(RAND()*100)

The RAND (Random) function returns a value between 0 and 1. We then multiply this by 100 to get a value between 0 and 100, we also nests-in the INT function (Integer) in order to drop off the decimal places.

The RAND function

Step 2: Use AutoFill to extend the formula – this will produce as many random numbers as you desire

Using AutoFill

Step 3: Copy the generated numbers and then do a Paste Special à Values, in order to crystalize the values themselves – otherwise every time the spreadsheet recalculates RAND produces a new set of randomly generated numbers to replace the previous values.

Paste Special à Values

In this example we multiplied RAND’s fractional number by 100, although clearly we could multiply by any amount we need, in order to produce values of any particular deviation.

Related Blogs

If you have any Excel questions or hints and tips you would like shared get in touch, use this link!

If you would like any further information on the Excel course we train, go to our IT courses and training page.

Remember – If you’ve been on a Happy Computers course you get 2 years free helpline access. Call the helpline on 020 7375 7373.

Learn the 10 core principles to create a happy and productive workplace in Henry Stewart's book, The Happy Manifesto.

Support your aspiring and current managers to be empowering and confident leaders with Happy

Happy offers leadership programmes at Level 3, Level 5 and Level 7, from new managers/supervisor level all the way up to senior leadership teams and CEOs. These programmes are based on the ideas of trusting your people. They are practical and based on applying what yo’ve learnt. We aim to inspire and ignite change in your organisation, as well as giving you valuable management skills such as business strategy, decision-making, negotiation and project management.

We also offer programmes tailored specifically to people from Global Majority backgrounds. The content is the same, but have been designed to give new and experienced managers the skills they need to navigate organisational culture with a clearer perspective on their own potential, as well as building their confidence and expanding their professional strengths.

Chris James

Chris was an Associate Trainer for Happy between 2012 and 2016.

What you should look at next