#1   Report Post  
Old December 2nd 04, 02:31 PM
Jeff
 
Posts: n/a
Default Vlookup Question

Hi,

For a product I have a date and a number associated with each date

Col C:C = Product
D = Date
E:E = Number

Then in Col A:A there is the current Date in A1 and the dates descend to
yesterday, the day before, etc.

Problem is that I want to do a lookup in Col B

B1 = Vlookup(A1, D1:E1000, 2)

To get the number. But I am always updating the range D1:E1000, so that if
the range is not sorted Vlookup skrews up.

In general how do you handle a Vlookup that is looking up a range that
changes.



  #2   Report Post  
Old December 2nd 04, 02:36 PM
Peo Sjoblom
 
Posts: n/a
Default

If you are looking up exact match you don't have to sort the table

= Vlookup(A1, D1:E1000, 2,0)




--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Jeff" wrote in message
...
Hi,

For a product I have a date and a number associated with each date

Col C:C = Product
D = Date
E:E = Number

Then in Col A:A there is the current Date in A1 and the dates descend to
yesterday, the day before, etc.

Problem is that I want to do a lookup in Col B

B1 = Vlookup(A1, D1:E1000, 2)

To get the number. But I am always updating the range D1:E1000, so that
if
the range is not sorted Vlookup skrews up.

In general how do you handle a Vlookup that is looking up a range that
changes.




  #3   Report Post  
Old December 2nd 04, 02:40 PM
Frank Kabel
 
Posts: n/a
Default

Hi
try:
= Vlookup(A1, D1:E1000, 2,0)

--
Regards
Frank Kabel
Frankfurt, Germany

"Jeff" schrieb im Newsbeitrag
...
Hi,

For a product I have a date and a number associated with each date

Col C:C = Product
D = Date
E:E = Number

Then in Col A:A there is the current Date in A1 and the dates descend

to
yesterday, the day before, etc.

Problem is that I want to do a lookup in Col B

B1 = Vlookup(A1, D1:E1000, 2)

To get the number. But I am always updating the range D1:E1000, so

that if
the range is not sorted Vlookup skrews up.

In general how do you handle a Vlookup that is looking up a range

that
changes.





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 question KG Excel Discussion (Misc queries) 9 May 21st 05 07:12 PM
basic pie chart question KayR Charts and Charting in Excel 4 January 23rd 05 08:16 PM
Need help with modifying VLookUp Tom Excel Discussion (Misc queries) 4 December 2nd 04 12:44 AM
Vlookup with VBA Jeff Excel Discussion (Misc queries) 8 December 1st 04 02:41 PM
Vlookup / Objects help XL2003 Steve Jones Excel Discussion (Misc queries) 0 November 29th 04 05:01 PM


All times are GMT +1. The time now is 06:14 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017