Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CharlesF
 
Posts: n/a
Default Moving Matched Data into A Single Row


I have a record of salaries in three columns - Empoyee, Date, Amount.

I am trying to use this to establish an annual salary for each pay day,
and Indexing is not working because the pay days are monthly and the
salaries are annual. To make looking up a salary easier, I have moved
the salaries into Year columns, as below:

Employee Date Salary Jan-04 Feb-04 Mar-04 Apr-04 May-04
1000 Jan-04 5000 5000
1000 Feb-04 5200 5200
1000 Mar-04 5400 5400
1000 Apr-04 5600 5600
1000 May-04 5800 5800
1000 Jun-04 6000
1001 Jan-04 2500 2500
1001 Feb-04 2600 2600
1001 Mar-04 2700 2700
1002 Feb-04 4000 4000
1002 Mar-04 4500 4500
1002 Apr-04 4750 4750

I now need a method to move all the salaries of each employee into a
single row.

Thanks in advance.


--
CharlesF
------------------------------------------------------------------------
CharlesF's Profile: http://www.excelforum.com/member.php...fo&userid=8743
View this thread: http://www.excelforum.com/showthread...hreadid=504575

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Moving Matched Data into A Single Row

It sounds like your data with just 3 columns was set up perfect for a
pivottable.

Select you data (A1:Cxx)
data|pivottable
follow the wizard until you get to a step with a Layout Button on it.
Click that button
Drag the employee id number field to the Row field
drag the date field to the column field
drag the Salary field to the Data field
(if it doesn't say "sum of", double click on it and choose Sum.

And then finish up the wizard.

CharlesF wrote:

I have a record of salaries in three columns - Empoyee, Date, Amount.

I am trying to use this to establish an annual salary for each pay day,
and Indexing is not working because the pay days are monthly and the
salaries are annual. To make looking up a salary easier, I have moved
the salaries into Year columns, as below:

Employee Date Salary Jan-04 Feb-04 Mar-04 Apr-04 May-04
1000 Jan-04 5000 5000
1000 Feb-04 5200 5200
1000 Mar-04 5400 5400
1000 Apr-04 5600 5600
1000 May-04 5800 5800
1000 Jun-04 6000
1001 Jan-04 2500 2500
1001 Feb-04 2600 2600
1001 Mar-04 2700 2700
1002 Feb-04 4000 4000
1002 Mar-04 4500 4500
1002 Apr-04 4750 4750

I now need a method to move all the salaries of each employee into a
single row.

Thanks in advance.

--
CharlesF
------------------------------------------------------------------------
CharlesF's Profile: http://www.excelforum.com/member.php...fo&userid=8743
View this thread: http://www.excelforum.com/showthread...hreadid=504575


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
chart data series -- plot a table as a single series hjc Charts and Charting in Excel 7 September 20th 05 05:52 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
Error bars for a single data point not whole series Helen Charts and Charting in Excel 1 April 13th 05 06:21 PM
Moving blocks of data in excel Yasmin Excel Discussion (Misc queries) 1 March 17th 05 10:39 PM


All times are GMT +1. The time now is 04:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"