Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VLOOKUP and date issue

Hi,

I'm trying to setup a formula like this.
=VLOOKUP(AA8,[filename_20070725.xls]base'!$A$1:$CJ$302,12,).
Everyday a new file is created with the date appended to it. And instead of
manually changing the filename in the formula everyday I would like to
somehow have the formula automatically increment the date by 1 everyday.

For example, if today is 7/26/07, then the formula should be:
=VLOOKUP(AA8,[filename_20070726.xls]base'!$A$1:$CJ$302,12,).

Any help is welcome. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default VLOOKUP and date issue

Think you could try something like this, using INDIRECT and TEXT:
=VLOOKUP(A1,INDIRECT("[Book1_"&TEXT(TODAY(),"yyyymmdd")&".xls]base!$L:$M"),2,0)

TODAY() within the TEXT(...) part of it will provide the required daily
incrementation of the date.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"rumkey" wrote:
Hi,

I'm trying to setup a formula like this.
=VLOOKUP(AA8,[filename_20070725.xls]base'!$A$1:$CJ$302,12,).
Everyday a new file is created with the date appended to it. And instead of
manually changing the filename in the formula everyday I would like to
somehow have the formula automatically increment the date by 1 everyday.

For example, if today is 7/26/07, then the formula should be:
=VLOOKUP(AA8,[filename_20070726.xls]base'!$A$1:$CJ$302,12,).

Any help is welcome. Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP issue ruchie Excel Discussion (Misc queries) 3 June 8th 07 10:26 PM
VLOOKUP issue Jock Excel Worksheet Functions 4 May 8th 07 01:44 PM
am not sure if its a vlookup issue Anthony Excel Discussion (Misc queries) 1 December 4th 06 04:58 PM
vlookup issue Joe Excel Worksheet Functions 1 October 5th 06 07:33 PM
VLOOKUP issue Jonah Excel Worksheet Functions 1 November 16th 05 10:54 PM


All times are GMT +1. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"