Hi forum,
I've been racking my brain for a few days now trying to figure out how to selectively transpose a row of dates to columns. I'm not sure exactly how to explain this, so below is an example of what the data look like entered into the spreadsheet:
study ID provider visit 1 visit 2 visit 3 visit 4 visit 5 10001 Test Name 7/21/13 7/25/13 8/1/13 8/6/13 8/17/13 10002 Test Name 7/24/13 8/10/13 8/12/13 8/15/13 9/1/13
I'd like to extract the data into a new table on another worksheet that looks like this:
Date provider study id visit # 7/21/13 Test Name 10001 visit 1 7/25/13 Test Name 10001 visit 2 8/1/13 Test Name 10001 visit 3 7/24/13 Test Name 10002 visit 1 8/10/13 Test Name 10002 visit 2 8/12/13 Test Name 10002 visit 3
This is just a quick example, but basically it would continue through all possible visit dates for the first study ID, then move to the next row of data (i.e. the next study ID) and extract the data from the row and transpose it in the appropriate columns moving down...does this make any sense? If so, any suggestions on how to actually make this happen?
Thanks!
Bookmarks