Weird issue with vlookup

spanspace

Board Regular
Joined
Jan 3, 2007
Messages
159
Ok so when I point the vlookup in F9 to B9 I get a big fat #n/a. If the information in b9 was just the number and the the left formula it would work. I need help resolving this. I am sure its something easy..but my mind is moosh already from other projects.
Excel Workbook
ABCDEFG
8UNIQUE IDIDAgent NameRoleSite IBADESiteAgent ID
98886Add Agent to Master#N/A#N/A#N/A8886
WTD Conversion
Excel 2007
Cell Formulas
RangeFormula
A9=IF(C9="Add Agent to Master","",CONCATENATE(B9," ",C9))
B9=LEFT(G9,4)
C9=IF(ISBLANK(G9),"",IF(ISNA(VLOOKUP(E9,Agents!$I$2:$L$600,4,FALSE)),"Add Agent to Master",VLOOKUP(E9,Agents!$I$2:$L$600,4,FALSE)))
D9=IF(A9=" ","",IF(ISBLANK(A9),"",VLOOKUP(A9,Agents!$C$2:$DE$640,MATCH("Role",Agents!$C$2:$DE$2,0),FALSE)))
E9=IF(ISBLANK(G9),"",CONCATENATE(F9," ",LEFT(G9,4)))
F9=VLOOKUP(B9,Agents!$A$7:$F$640,MATCH("Site",Agents!$A$7:$F$7,0),FALSE)
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I figured it out. Unfortunately the idea wontwork out for me in the long run. I have a similiar issues I am going to post as seperate thread.
 
Upvote 0
Can we be absolutely clear please ?
What exactly is in G9 ?
Is it just the number 8886, or are there any other characters, including spaces, either before or after the number ?
And which cell(s) currently contain(s) the #N/A ?

I've tried replicating this and it works for me with the solution posted by jonmo1 in his first post, but I may be missing something.
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,225
Members
448,951
Latest member
jennlynn

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