Please help!! I need formula to search across multiple worksheets for duplicate info (staff number), then to extract relevant information (from a part

scleworthenwl

New Member
Joined
Sep 24, 2015
Messages
2
Hello,

Please could you help me?

I am a complete novice at Excel and am trying to save myself lots of time! I need to search for 1502 staff details in Excel 2007.

I need to search 9 different tabs to input consolidated info into tab number 10. Each of the 9 tabs contains the following columns:

Surname, Forename, Staff Number, Company, Auth Code, Auth Expiry Date.

The tabs are organised by which specific Auth Codes are held by staff (an example of an auth code would be 113 or 231 etc.) The same staff appear on multiple sheets - the difference between each sheet is the Auth Code and Auth Expiry Date.

I need to consolidate information from the worksheets on to the tenth tab - to show all of the auth codes/expiry dates, that each staff member holds. So that there is just one row per staff member showing all of the Auth Codes that they hold.

I would need the formula to search all of the spreadsheets for a particular Staff Number, then extract the information from the Auth Code column relevant to that person (it would be on the same row as the rest of the info about them) and put that a new cell on a new tab.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
the table below could be from, say, 3 different sheets
surnameforenamestaffnumcompauthcodeauthexp
smithtom123compA23401/10/2015
jonesfred234compB34509/10/2015
brownandy345compA45617/10/2015
smithtom123compA34525/10/2015
jonesfred234compB23402/11/2015
brownandy345compA56710/11/2015
smithtom123compA67818/11/2015
jonesfred234compB78926/11/2015
brownandy345compA88804/12/2015
Count of authcodeauthcode
surname234345456567678789888Grand Total
brown 11 13
jones1113
smith1113
Grand Total22111119
a pivot table marks which codes are assigned to each person
it also tells you how many of each code are in your basic data

<colgroup><col><col><col span="7"><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
if all data were combined you could analyse by company, by authority code, by date of authority code.........
 
Upvote 0
I am copying and pasting all of the information from the nine spreadsheets into the tenth now.

I'll need to order them by staff number, is there a way to sort them whilst keeping the rows intact?
 
Upvote 0
you can put a filter in row1, be select the row, goto data > filter.
then you can use the drop down menu on row1 for the column and sort them accordingly
 
Upvote 0
when you sort by one column all the rows adjust accordingly

make a little spreadsheet and have a play...
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,179
Latest member
fcarfagna

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