+ Reply to Thread
Results 1 to 2 of 2

Best way to recode data clearly into experimental conditions?

  1. #1
    Registered User
    Join Date
    02-07-2020
    Location
    Los Angeles, California
    MS-Off Ver
    2016
    Posts
    3

    Best way to recode data clearly into experimental conditions?

    Hi there,

    I have exported some data from qualtrics for an experimental study (data is survey responses).

    Participants see 1 of 6 case vignettes. I manipulate child age (13,15,17) and gender (male, female) so it is a 3x2 design. These are presented randomly, and I go on to ask various questions like "did 13 year old female commit a crime?" so this has resulted in lots of columns!

    Qualitrics doesn't track the experimental condition for me, so the only way I can see which condition the participant saw is to scroll right now. I started running descriptives but I realised I need to create a 'child gender' and 'child age' variable.

    What is the best way to go about this? I have attached a shot of what the sheet looks like.

    Thank you in advance!
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,942

    Re: Best way to recode data clearly into experimental conditions?

    You could use an array formula like this, entered using Ctrl-Shift-Enter:

    =IFERROR(INDEX($1:$1,1/(1/MAX(IF($B2:$G2<>"",COLUMN($B2:$G2))))),"")

    That will return the heading from B1:G1 based on which cell is filled out in row 2. Then copy that formula down to match your other results.
    Bernie Deitrick
    Excel MVP 2000-2010

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 04-14-2015, 09:00 AM
  2. Statistical analysis of experimental results
    By Brook23 in forum Excel General
    Replies: 5
    Last Post: 03-22-2015, 12:36 PM
  3. Determining coefficients of an equation using your experimental data?
    By Iman01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-02-2015, 01:33 PM
  4. Plotting U,Z variables from X,U and X,Z experimental data tables
    By weierstrass in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 04-17-2013, 07:30 AM
  5. Macro To Copy Experimental Data
    By azeempk06 in forum Excel General
    Replies: 12
    Last Post: 12-28-2010, 10:13 PM
  6. Excel 2007 : recode across files to anonymize
    By strawbearlyjamms in forum Excel General
    Replies: 2
    Last Post: 01-22-2010, 05:43 AM
  7. Plotting experimental conditions
    By smcg23 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-03-2008, 06:46 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1