Hello! Please help me transpose this data set from Long to Wide. Here is what I have: DayofWeek User Website Mean Sum Freq Saturday 17306100 MiKandi 10 10 1 Friday 17306100 Twitter 75 75 1 Sunday 17306100 Voice Search 151.67 455 3 Saturday 17306100 icomfort 30 30 1 Saturday 17306243 AOL 87 261 3 Sunday 17306243 Email 120.65 7963 66 Monday 17306243 Firefox 536 536 1 Tuesday 17306243 Google 15 15 1 Wednesday 17306243 IMDb 202.5 405 2 Thursday 17306243 Landry's, Inc 25 25 1 Thursday 18114509 Norton Mobile 45 45 1 Thursday 18114509 Notes 317.5 3175 10 Thursday 18114509 Our Groceries 510.94 8175 16 Friday 18072613 Chase 245 2450 10 Friday 18072613 Check 374.38 2995 8 Friday 18072613 Craigslist 55 55 1 Wednesday 18062931 Barcode Scanner 5 5 1 Wednesday 18062931 BofA 69.923 909 13 Wednesday 18062931 Facebook 343.94 35426 103 Here is what I need: Essentially multiple each day of the week (7 days of the week) by each of the 3 variables (Mean, Sum, Freq) for a total of 21 new variables. I want to keep the User and Website columns constant and unchanged. Could someone please help me attack this with a do loop and array, so that I am able to replicate it using the same procedure but for a WeekoftheYear variable (which holds 52 different values, one for each week of the year). Thank you! User Website MeanSunday MeanMonday MeanTuesday MeanWednesday MeanThursday MeanFriday MeanSaturday FreqSunday FreqMonday FreqTuesday FreqWednesday FreqThursday FreqFriday FreqSaturday FreqSunday SumMonday SumTuesday SumWednesday SumThursday SumFriday SumSaturday 17306100 icomfort 17306100 MiKandi 17306100 Twitter 17306100 Voice Search 17306243 AOL 17306243 Email 17306243 Firefox 17306243 Google 17306243 IMDb 17306243 Landry's, Inc 18062931 Barcode Scanner 18062931 BofA 18062931 Facebook 18072613 Chase 18072613 Check 18072613 Craigslist 18114509 Norton Mobile 18114509 Notes 18114509 Our Groceries
... View more