Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Vlookup Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason Lepack - 15 Jan 2007 15:18 GMT
I'm trying to perform this VLookup

=VLOOKUP(A2,[Updated Jan12 Daily D.xls]Daily_D___Bob!$1:$65536,15,
FALSE)

Excel doesn't like the workbook having spaces in the name it keeps
trying to correct it to:

=VLOOKUP(A2,[UpdatedJan12DailyD.xls]Daily_D___Bob!1:65536,15,FALSE)

but that isn't a valid file name.

What can I do instead to make this work?

Cheers,
Jason Lepack
Dave Peterson - 15 Jan 2007 15:29 GMT
I don't like to build the formula myself.  I let excel do it.

With both workbooks open, I start typing the formula:

=vlookup(a2,
Then I click on window to activate the other workbook.  Then I select the
worksheet and finally the range.

Then I take back the typing and finish with
,15, false)

====
As an aside, you may want to limit your range to just what you need.  You'll
find that it'll calculate quicker and less often.

> I'm trying to perform this VLookup
>
[quoted text clipped - 12 lines]
> Cheers,
> Jason Lepack

Signature

Dave Peterson

Jason Lepack - 15 Jan 2007 15:55 GMT
This user has a database that he daily downloads data from a source and
loads it into the database.  He then exports 5 queries all into a
single workbook for the day.  He recreates this workbook every day but
he has comments for specific parts that he needs to copy over from the
day before, but they aren't always in the same place, or even included
in the next day, thus the vlookup.

I've created macros to format his daily input and his daily output.
The macro asks him to select yesterdays file and then it creates the
vlookup and pastes it in to lookup the data.

He knows that the easy solution is to remove the spaces, but if at all
possible we'd like to workaround some other way.

Cheers,
Jason Lepack

> I don't like to build the formula myself.  I let excel do it.
>
[quoted text clipped - 27 lines]
> > Cheers,
> > Jason Lepack
Jason Lepack - 15 Jan 2007 15:59 GMT
I figured it out.

=VLOOKUP(A2,'[Updated Jan12 Daily D.xls]Daily_D___Bob'!$1:$65536,15,
FALSE)

I just needed to add in the '  ' around the file name.

Cheers,
Jason Lepack

> This user has a database that he daily downloads data from a source and
> loads it into the database.  He then exports 5 queries all into a
[quoted text clipped - 44 lines]
> > > Cheers,
> > > Jason Lepack
Dave Peterson - 15 Jan 2007 16:12 GMT
I'm not sure if you found it via trial and error--but if you had let excel build
the formula, you would have seen the correct syntax right away.

> I figured it out.
>
[quoted text clipped - 58 lines]
> > >
> > > Dave Peterson

Signature

Dave Peterson

Jason Lepack - 15 Jan 2007 16:25 GMT
Yes that's how I found it, by trying to rebuild it.  When I had
originally built my code to put that fomula in the file had no spaces.

Cheers,
Jason Lepack

> I'm not sure if you found it via trial and error--but if you had let excel build
> the formula, you would have seen the correct syntax right away.
[quoted text clipped - 61 lines]
> > > >
> > > > Dave Peterson

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.