Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




601 posts

Ultimate Geek


# 127105 30-Jul-2013 10:28
Send private message

Hi there,

In Office Excel 2013 -
If I make a list of five statements, each in a separate cell but within the same column, in another cell how can I get Excel to randomly select
three of those statements? Not sure how to write the =RAND() equation.

Any help will be much appreciated,
Stevie

Create new topic
138 posts

Master Geek


  # 868378 30-Jul-2013 11:12
Send private message

Just tested this in Excel 2010, so it probably should work in 2013.

For cells in column A in rows 1 to 13, to pick a single value:
=INDIRECT("A"&RANDBETWEEN(1,13))

The random cell chosen will update every time the sheet recalculates, so you may need to disable auto-recalculation for the sheet if you require the random value chosen to stay static.

466 posts

Ultimate Geek


  # 868381 30-Jul-2013 11:19
Send private message

I got something similar (but only to 5 rows)

=INDIRECT("A"&ROUNDUP(RAND()*5,0))


Edit: I like littleheads better I think

 
 
 
 


119 posts

Master Geek
Inactive user


  # 868382 30-Jul-2013 11:20
Send private message

This should get you started

http://www.extendoffice.com/documents/excel/645-excel-select-cells-randomly.html

So you have 5 statements

AB
C
D
E

Use the above link to get your 3 random statements.

For D1   =CONCATENATE(C1,C2,C3) to put the statements in the one cell.

You could hide the B and C columns

I hope this is what you intended.

Cheers.





Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51


Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.