Finding Values - Can't get LOOKUP to work

GazNicki

Board Regular
Joined
Nov 30, 2010
Messages
78
Hi all,

I have an Excel Workbook with 6 worksheets in it. The workbook is to monitor Staff Lockers. Sheets 1 - 4 are lists of lockers in different areas. Sheet 5 is a list of all staff with their clock numbers. Sheet 6 for now is blank.

Here is a demo of sheet 1:

A
B
C
D
E
F
G
H
2
Locker No
Locker Status
Clock no.
Name
Department
Shift
Size
Overalls Last Seen
3
1
1385
Mr A
Production
Days
4
2
1596
Mr B
Hygiene
Days
5
3
1885
Mr C
Production
Nights
6
4
1683
Mr D
Engineers
Days
7
5
1782
Mr E
Production
Nights
8
6
1048
Mr F
Production
Nights
9
7
1318
Mr G
Production
Days
10
8
1724
Mr H
Despatch
Nights

<tbody>
</tbody>

Here is a demo of Sheet 5:

A
B
C
D
E
F
G
H
1
Clock No.
Name
Shift
Start Date
B1 M
B1 F
B2 M
B2 F
2
1385
Mr A
25/05/2010
3
1372
Mr I
05/04/2011
4
1575
Mr Z
03/05/2013
5
1318
Mr G
01/04/2014
6
1782
Mr L
17/05/2014
7
1803
Mr M
17/05/2014
8
1815
Mr P
02/06/2014
9
1818
Mr S
05/06/2014
10
1822
Mr X
01/07/2014
11
1683
Mr U
01/07/2014

<tbody>
</tbody>

As you can see from the examples, sheets 1 - 4 are listed sorted by Locker Number. Sheet 5 is listed by Start Date of Staff.
I would like to be able to do the following:

In sheet 5 cell E2 I would like to be able to search Sheet 1 and look for the Clock No. If the Clock No is there, then I would like the Locker Number to appear in the cell E2. If not, then a simple #N/A is ok.
Cell F2 would do the same thing, but search sheet 2, G2 would search sheet 3 and H2 would search sheet 4.

I can't seem to get any of the lookups working, and I don't know why. Could anyone please help me with this??

Thanks,

Gaz
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try this:

Excel Workbook
ABCDEFGH
1Clock No.NameShiftStart DateB1 MB1 FB2 MB2 F
21385Mr A25/05/20101
31372Mr I5/4/2011#N/A
41575Mr Z3/5/2013#N/A
51318Mr G1/4/20147
61782Mr L17/05/20145
71803Mr M17/05/2014#N/A
81815Mr P2/6/2014#N/A
91818Mr S5/6/2014#N/A
101822Mr X1/7/2014#N/A
111683Mr U1/7/20144
Sheet5
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,724
Members
449,465
Latest member
TAKLAM

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