Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default combining two spreadsheets with a common field

I have two spreadsheets that have the same employee names. One spreadsheet
has the employee names in column a and overtime hours in column b, and
standard hours in column c. The second spreadsheet has the employee names in
column a and track hours in column b and track overtime hours in column c. I
want to combine these two spreadsheets to where the employees with same name
will have their hours all in one row.


Ex.
Name track_reg track ot
ABRAMS, JAMES 11.50 3
ACKER, EDWARD 8 1
ADAMS, CLIFTON 12.50 2
ADAMS, JAMES 11.50 1
ADAMS, JENNIFER 11.50 3
ALBERSON, OWEN 11.50 1

Name OT ST
ABRAMS, JAMES 0 11.5
ACKER, EDWARD 0 11.5
ADAMS, CLIFTON 5 8
ADAMS, JAMES 0 11.5
ADAMS, JENNIFER 0 11.5
ALBERSON, OWEN 0 11.5


I would like the hours to all in one row for each employee.

Ex:
Name OT ST track_reg track ot
ABRAMS, JAMES 0 11.5 11.50 3

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default combining two spreadsheets with a common field

Hi,

Use the Data, Consolidate command with Labels in Top row and Left column
turned on.

Start the process on a new sheet, choose the command, with the Reference box
active click the sheet tab where on set of data is and highlight all the data
including the titles at the top and the Names on the left and click Add.
With the cursor still in the Refernce box click the other sheet tab and
select the second range just like you did the first one, and click Add. Turn
on the two options I mentioned above. Click OK.

This process requires that the names and the tiltles at the tops of the data
columns be spelled consistantly.

--
Thanks,
Shane Devenshire


"MAD101" wrote:

I have two spreadsheets that have the same employee names. One spreadsheet
has the employee names in column a and overtime hours in column b, and
standard hours in column c. The second spreadsheet has the employee names in
column a and track hours in column b and track overtime hours in column c. I
want to combine these two spreadsheets to where the employees with same name
will have their hours all in one row.


Ex.
Name track_reg track ot
ABRAMS, JAMES 11.50 3
ACKER, EDWARD 8 1
ADAMS, CLIFTON 12.50 2
ADAMS, JAMES 11.50 1
ADAMS, JENNIFER 11.50 3
ALBERSON, OWEN 11.50 1

Name OT ST
ABRAMS, JAMES 0 11.5
ACKER, EDWARD 0 11.5
ADAMS, CLIFTON 5 8
ADAMS, JAMES 0 11.5
ADAMS, JENNIFER 0 11.5
ALBERSON, OWEN 0 11.5


I would like the hours to all in one row for each employee.

Ex:
Name OT ST track_reg track ot
ABRAMS, JAMES 0 11.5 11.50 3

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
Combining spread sheets with common fields jjacksonn1966 Excel Discussion (Misc queries) 3 September 12th 08 04:27 PM
combining data with a common cell value councilman24 Excel Discussion (Misc queries) 1 March 28th 08 07:40 PM
Combining worksheets with common column but different number of ro Tony Excel Worksheet Functions 3 July 28th 07 04:38 AM
combining excel worksheets with common columns robertlewis Excel Discussion (Misc queries) 6 October 9th 06 01:57 AM
Combining rows of data that have one cell in common J. Gutierrez Excel Discussion (Misc queries) 0 November 22nd 05 03:20 PM


All times are GMT +1. The time now is 10:53 AM.

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

About Us

"It's about Microsoft Excel"