Help with duplicating or extracting data from a database table

lawaf

New Member
Joined
Oct 29, 2012
Messages
5
Not sure what the best way to accomplish this is but I have a master database table which has all the information I want on an employee. I want to create a new sheet which only includes certain parts of the master spreadsheet data. I want the data on Sheet 2 to change when new data is entered or data is changed on the master database. I though a pivot table might be the answer but I don't need to summarize the data. I am using Excel 2007. Brief visualization is below:

Master DataBase
Columns
Name Unit Hire Date Transfer Date Position Status Phone email Eval Date


Sheet 2
Columns
Name Unit Hire Date Transfer Date Postion Status

Thanks!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Not sure what the best way to accomplish this is but I have a master database table which has all the information I want on an employee. I want to create a new sheet which only includes certain parts of the master spreadsheet data. I want the data on Sheet 2 to change when new data is entered or data is changed on the master database. I though a pivot table might be the answer but I don't need to summarize the data. I am using Excel 2007. Brief visualization is below:

Master DataBase
Columns
Name Unit Hire Date Transfer Date Position Status Phone email Eval Date


Sheet 2
Columns
Name Unit Hire Date Transfer Date Postion Status

Thanks!

Hello and welcme to MrExcel.
Can you psot some data from Sheet1 and desired result from on Sheet2?
Please see below on how to post data.
 
Upvote 0
Sheet1

Name Unit Hire Date Transfer Date Position Status Phone email Eval Date
Jones, John Division 1
 
Upvote 0
Below is a sample of whr I am trying to do. I though of copying the sheet and then deleting the unecessary colums then all I need to do is to connect ot my main Database Sheet 1 (which has a total of about 30 col of data). Sheet 2 is only the data relating to personnel assignments and replacements.<STRONG><BR><BR>Sheet 1 <BR><BR>Name           Unit           HireDate      TranDate    Position        Status          Phone         email                Eval Date    Unit Code<BR></STRONG>Jones, John  Division 1  1-Oct-12     1-Oct 13     Director        Filled          123-4567    <A href="mailto:Jones.1@org">Jones.1@org</A>     1-Oct-11   11223344<BR><BR>Smith, Andy  Unit 1      1-Jul-11       1-Dec-12    Coordinator   30-60 Loss  123-3312    <A href="mailto:Smth.a@org">Smth.a@org</A>      1-Jul-12    22335566<BR><BR><BR><STRONG>Sheet 2<BR></STRONG><BR><STRONG>Unit Code         Name                   Unit              HireDate    TransferDate   Postion          Status    <BR></STRONG>11223344        Jones, John        Division1     1-Oct-12      1-Oct-13        Director         Filled<BR><BR>22335566        Smith, Andrew    Unit 1         1-Jul-11       1-Dec-12        Coordinator     30-60 Day Loss   
 
Upvote 0
Below is a sample of whr I am trying to do. I though of copying the sheet and then deleting the unecessary colums then all I need to do is to connect ot my main Database Sheet 1 (which has a total of about 30 col of data). Sheet 2 is only the data relating to personnel assignments and replacements.

Sheet 1

Name Unit HireDate TranDate Position Status Phone email Eval Date Unit Code
Jones, John Division 1 1-Oct-12 1-Oct 13 Director Filled 123-4567 Jones.1@org 1-Oct-11 11223344

Smith, Andy Unit 1 1-Jul-11 1-Dec-12 Coordinator 30-60 Loss 123-3312 Smth.a@org 1-Jul-12 22335566


Sheet 2

Unit Code Name Unit HireDate TransferDate Postion Status
11223344 Jones, John Division1 1-Oct-12 1-Oct-13 Director Filled

22335566 Smith, Andrew Unit 1 1-Jul-11 1-Dec-12 Coordinator 30-60 Day Loss


Copy only Headers that you need into second sheet and the use this formula, drag down and accross

Excel 2010
ABCDEFGHIJK
1NameUnitHireDateTransferDatePositionStatusPhoneemailEvalUnit code
2Jones, John Division 1 1-Oct-12 1-Oct 13 Director Filled 123-4567 Jones.1@org 1-Oct-11 112233
3Smith, Andy Unit 1 1-Jul-11 1-Dec-12 Coordinator 30-60 Loss 123-3312 Smth.a@org 1-Jul-12 22335566

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1


Excel 2010
ABCDEFG
1Unit codeNameunitHireDateTransferDatePositionStatus
2112233Jones, John Division 1 1-Oct-12 1-Oct 13 Director Filled
322335566Smith, Andy Unit 1 1-Jul-11 1-Dec-12 Coordinator 30-60 Loss

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
A2=INDEX(Sheet1!$A$2:$J$27,ROWS($A$1:A1),MATCH(A$1,Sheet1!$A$1:$J$1,0))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
So I tried this but it did not work. I am using Excel 2007. Does it matter if the columns are not in the same order? Below is the link at my dropbox to the file. On it you can see my main Personnel Database and the Assignment Data where I want to copy the data to. I have a couple spreadsheets I need to do a similar thing with. Thanks http://dl.dropbox.com/u/10444513/UMT_Personnel_Roster.xlsx
 
Upvote 0
So I tried this but it did not work. I am using Excel 2007. Does it matter if the columns are not in the same order? Below is the link at my dropbox to the file. On it you can see my main Personnel Database and the Assignment Data where I want to copy the data to. I have a couple spreadsheets I need to do a similar thing with. Thanks http://dl.dropbox.com/u/10444513/UMT_Personnel_Roster.xlsx

Try this in A1 of Assigment Data sheet:
=INDEX(Table_UMT_Personell_Roster,ROWS($A$1:A1),MATCH(A$1,Table_UMT_Personell_Roster3[#Headers],0))
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,930
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top