LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default VLOOKUP related question

Assuming that you are using an exact match Vlookup, you can use the Match
function to get the row position.

Cells(Worksheetfunction.match(VLookupValue,First Vllookup
column,0),datecolumn)=Now()
--
If this helps, please remember to click yes.


"Wyzzard" wrote:

I have two worksheets. The first worksheet is data that is updated daily. The
second worksheet is a static list of data that is referenced to give
instructions for the daily data. For example, the daily data might have
something called Vers1. Using VBA it is set up so that when a button on the
first worksheet is pressed, it calls VLOOKUP against the data in worksheet 2
and finds out that Vers1 uses XYZ. Every version in the reference sheet isn't
used every day and they occasionally become obsolete.

What I would like to do is have a column on the second reference sheet that
would have the current date placed into each cell if that Version was used
that day to help track the last used date.

Is there any way to find out what the row location is for a VLOOKUP match so
that I could just have something like Cell_location(VLOOKUP_Row, Date_Column)
= Now()

Hopefully that makes sense...

Thanks

 
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
Using VLookup, how can I retireve the related columns. Mary Ann[_2_] Excel Programming 2 September 4th 08 11:00 PM
date related question??? _Bigred Excel Worksheet Functions 1 January 4th 07 01:23 AM
Another Date related question.... Pete Dray Excel Worksheet Functions 7 June 18th 06 11:49 PM
Input Box Related Question Kevin B Excel Programming 0 January 19th 06 03:31 PM
I have a VB related question,... javabeens Excel Programming 1 June 7th 05 05:51 PM


All times are GMT +1. The time now is 03:41 AM.

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

About Us

"It's about Microsoft Excel"