PC Review


Reply
Thread Tools Rate Thread

How can I use OFFSET and VLOOKUP together

 
 
DavidMM
Guest
Posts: n/a
 
      2nd Apr 2008
=OFFSET(F16,-1,0,1,1), Instead of using a cell reference I want to use a
VLOOKUP to reference a cell, like this,
=OFFSET(vlookup(D19,A3:A28,1,false),-1,0,1,1).

What I am actually trying to do is return a value from a cell before the
VLookup value.

A
1 Wednesday, 9 April 2008
2 Thursday, 10 April 2008
3 Friday, 11 April 2008
4 Monday, 14 April 2008
5 Tuesday, 15 April 2008
6 Wednesday, 16 April 2008
7 Thursday, 17 April 2008

My Vlookup, will find Tuesday for me, but I actually want the data from the
Monday before the found date.

 
Reply With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      2nd Apr 2008
Try this:

=INDEX(A3:A28,MATCH(D19,A3:A28,0)-1)


--
Biff
Microsoft Excel MVP


"DavidMM" <(E-Mail Removed)> wrote in message
news:AC87B9FC-77EF-4675-A7EF-(E-Mail Removed)...
> =OFFSET(F16,-1,0,1,1), Instead of using a cell reference I want to use a
> VLOOKUP to reference a cell, like this,
> =OFFSET(vlookup(D19,A3:A28,1,false),-1,0,1,1).
>
> What I am actually trying to do is return a value from a cell before the
> VLookup value.
>
> A
> 1 Wednesday, 9 April 2008
> 2 Thursday, 10 April 2008
> 3 Friday, 11 April 2008
> 4 Monday, 14 April 2008
> 5 Tuesday, 15 April 2008
> 6 Wednesday, 16 April 2008
> 7 Thursday, 17 April 2008
>
> My Vlookup, will find Tuesday for me, but I actually want the data from
> the
> Monday before the found date.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup and offset Krissy Microsoft Excel Worksheet Functions 3 14th Apr 2008 05:29 PM
offset within vlookup =?Utf-8?B?amNoaWNrMDkwOQ==?= Microsoft Excel Misc 6 19th Oct 2007 08:55 PM
offset off a vlookup? =?Utf-8?B?dHhtNDk=?= Microsoft Excel Misc 5 11th Oct 2007 04:10 PM
VLOOKUP with OFFSET =?Utf-8?B?Um9iZXJ0?= Microsoft Excel Worksheet Functions 0 28th Jul 2006 10:20 AM
Offset VLookup jonathan9560@gmail.com Microsoft Excel Worksheet Functions 2 30th Mar 2006 07:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:46 PM.