# Simplest code to select random rows of two alternating excel files (avoiding delays along the experiment)

**URL:** <https://discourse.psychopy.org/t/simplest-code-to-select-random-rows-of-two-alternating-excel-files-avoiding-delays-along-the-experiment/21693>\
**Category:** Coding\
**Created:** [March 25, 2021, 1:59pm UTC](https://discourse.psychopy.org/t/simplest-code-to-select-random-rows-of-two-alternating-excel-files-avoiding-delays-along-the-experiment/21693 "2021-03-25T13:59:38Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 27, 2021, 8:56pm UTC](https://discourse.psychopy.org/t/simplest-code-to-select-random-rows-of-two-alternating-excel-files-avoiding-delays-along-the-experiment/21693/18 "2021-04-27T20:56:40Z")

</div>

You might be interested in my new demo

# Independent Randomisation [code](https://gitlab.pavlovia.org/vespr/independent-randomisation) | [try it](https://run.pavlovia.org/vespr/independent-randomisation/)

Pre-load one column from a spreadsheet so that the contents can be displayed in an independent random order alongside the contents of another column. This demo also uses shuffle to randomise the location of the target.

---

_[View the full topic](https://discourse.psychopy.org/t/simplest-code-to-select-random-rows-of-two-alternating-excel-files-avoiding-delays-along-the-experiment/21693)._
