Forum Discussion

mrstefan's avatar
mrstefan
Copper Contributor
Nov 04, 2022
Solved

Getting data in same row if conditions are met

Hi,

 

I hope someone can send me in the right direction. 

 

This dataset contains the answers to a form with two answerfields. The 'pseudo_id' is the unique identificationnumber of the subject. 'start_date_check' is the time when the form is opened. 'check_entry_question' are the two questions that are asked, 'check_entry_answer' are the given answers. 

 

What I would like to do is combine the rows that contains the same 'pseudo_id' and the same 'start_date_check'.

I would like to have all the data regarding one questionform in a single row, so I can make some analysis on this data. 

 

It is possible that the 'pseudo_id' is multiple time's in the dataset (when a answerform is filled out more than one time) 

 

 

pseudo_idstart_date_checkcheck_entry_questioncheck_entry_answercheck_entry start_date
1444814,92Check 1Dave44819,92
1444814,92Check 2Dave44819,92
1744813,35Check 1Ralph44817,35
1744813,35Check 2 44817,35
1844816,75Check 1Lauren44818,12
1844816,75Check 2Vera44818,12

 

Is it possible to do something like this in Excel? If not, is there another way to do this? 

7 Replies

Resources