Skip to content

Help with rearranging data

4 messages · William Pepe, Henrik Bengtsson, jim holtman

#
Hi,

is your question how you do this in R?  Note that this is a mailing
list for R.  There are probably other lists/groups better suited for
Excel-specific problems.

Cheers

Henrik
On Tue, Jul 22, 2008 at 10:59 AM, William Pepe <sonicstats11 at hotmail.com> wrote:
#
Here is a start that will get you a dataframe.  You will have to
decide how you want to convert the long to wide format since that did
not clearly come through in the mail:
Month Seg  Prod  Biller Cycle Sales
1 1/1/2008   A Table Phyllis     1   500
2 1/1/2008   A Table Phyllis     2   600
3 1/1/2008   A Table Phyllis     3   650
4 1/1/2008   A Table  Doreen     1   345
5 1/1/2008   A Table  Doreen     2   451
6 1/1/2008   A Table  Doreen     6   550

        
On Tue, Jul 22, 2008 at 1:59 PM, William Pepe <sonicstats11 at hotmail.com> wrote: