# Counterbalancing 4 tasks

**URL:** <https://discourse.psychopy.org/t/counterbalancing-4-tasks/31745>\
**Category:** Builder\
**Created:** [November 4, 2022, 6:36pm UTC](https://discourse.psychopy.org/t/counterbalancing-4-tasks/31745 "2022-11-04T18:36:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarahnpope](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@sarahnpope](https://discourse.psychopy.org/u/sarahnpope)\
**Post date:** [November 4, 2022, 6:36pm UTC](https://discourse.psychopy.org/t/counterbalancing-4-tasks/31745/1 "2022-11-04T18:36:34Z")

</div>

I am having trouble understanding the counterbalance task article on Psychopy’s website. I have 4 tasks that will be presented once. For my excel conditions file for the outerloop, do I need to pre-identify all the different counterbalancing orders with different excel files? Or is there a way for psychopy to just automatically counterbalance?

---

<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:** [November 7, 2022, 2:33pm UTC](https://discourse.psychopy.org/t/counterbalancing-4-tasks/31745/2 "2022-11-07T14:33:13Z")

</div>

Each row of the outer loop defines one task (a 1 in that column and a 0 in the other). The outer loop is presented randomly to randomise the order of presentation of the inner loops.
