Francine, let's see if I understand your problem!
Suppose that you have a list of employees and their
sales by month in cells A1:D4 ...
{"Employee","Jan","Feb","Mar"
;"Linda",1500,2500,1000
;"Larry",1600,1625,1650
;"Louis",1400,1395,2600}
I presume that you're trying to make it look like...
{"Employee","Sales","Month"
;"Linda",1500,"Jan"
;"Larry",1600,"Jan"
;"Louis",1400,"Jan"
;"Linda",2500,"Feb"
;"Larry",1625,"Feb"
;"Louis",1395,"Feb"
;"Linda",1000,"Mar"
;"Larry",1650,"Mar"
;"Louis",2600,"Mar"}
There are a couple of ways to accomplish this, but
perhaps the easiest would be to:
1. Copy the Feb and Mar sales values in turn and
paste them beneath the Jan sales values.
2. Next, select the employee names; press and hold
the Ctrl key, and drag the fill handle (the little
black square in the lower right hand corner of the
selection) until each sales value has a corresponding
name.
3. Put, "Jan" in cells C2:C4; "Feb" in cells C5:C7;
etc.
4. Enter, "Sales" into cell B1 and "Month" into C1
and you're done.
There is an more advanced approach using the TRANSPOSE()
function, but it's not for the faint of heart. :-)
Hi Francine
In case Marks great help is off the mark (excuse
the pun) try this.
In the cell under your heading that you want to Consolidate your data. put:
=A4 & "-" & M4
Then copy down.
Dave
OzGrid Business Applications