EliseFreedman
Programmer
Can anyone tell me what is wrong with my vlookup formula. Its not returning the results i expect.
Basically I have 2 spreadsheets within a single workbook
On my main spreadsheet I have a group of cells for entering a persons job description.
e.g F H
10 JOB CODE JOB DESCRIPTION
11 IWT IWT Manager
12 FA First Aid Technician
The idea is that in Column H there is a vlookup formula which uses a separate spreadsheet to look up the job descriptions corresponding to the Job Code that the User has entered. My Formula is as follows
<code>
=VLOOKUP(F10,JobsDatabase!$A$1:$B$6,2)
where JobsDatabase is the name of the 2nd spreadsheet as shown
Job Code Description
FA First Aid Technician
IWT IWT Manager
HS HS&E Manager
SS Safety Supervisor
My Formula seems to be returning very odd results and I just cant figure out where im going wrong e.g If I Type in SS or IWT then it comes up with the correct job description. However if I attempt to select FA or HS then i just get #N/A even though FA and HS are definately included in the table. Can anyone point out where Im going wrong?
Basically I have 2 spreadsheets within a single workbook
On my main spreadsheet I have a group of cells for entering a persons job description.
e.g F H
10 JOB CODE JOB DESCRIPTION
11 IWT IWT Manager
12 FA First Aid Technician
The idea is that in Column H there is a vlookup formula which uses a separate spreadsheet to look up the job descriptions corresponding to the Job Code that the User has entered. My Formula is as follows
<code>
=VLOOKUP(F10,JobsDatabase!$A$1:$B$6,2)
where JobsDatabase is the name of the 2nd spreadsheet as shown
Job Code Description
FA First Aid Technician
IWT IWT Manager
HS HS&E Manager
SS Safety Supervisor
My Formula seems to be returning very odd results and I just cant figure out where im going wrong e.g If I Type in SS or IWT then it comes up with the correct job description. However if I attempt to select FA or HS then i just get #N/A even though FA and HS are definately included in the table. Can anyone point out where Im going wrong?