![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
I'm using VLOOKUP to do a query which is: =VLOOKUP("Dan Howell",A1:F46,2) which seems to be fine, except that whenever the position of Dan Howell changes I get #N/A? Does anyone know why and how I can stop it? |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Posts: 232
|
Does Dan move from the range you have in your lookup?
|
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Joe
Use the Lookup_range argument and set it to False. =VLOOKUP("Dan Howell",A1:F46,2,False) |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Well, the position of Dan changes from day to day. It worked fine when I first put the formula in, but the next day it said #N/A when the position of Dan changed. However, the formula that Dave Hawley just put on works fine. Dave, you are so the man, why are you not an MVP? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|