Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old April 2nd 08, 03:52 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2008
Posts: 1
Default How can I use OFFSET and VLOOKUP together

=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.


  #2   Report Post  
Old April 2nd 08, 04:58 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2006
Posts: 15,768
Default How can I use OFFSET and VLOOKUP together

Try this:

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


--
Biff
Microsoft Excel MVP


"DavidMM" wrote in message
...
=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
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
offset within vlookup jchick0909 Excel Discussion (Misc queries) 6 October 19th 07 08:55 PM
offset off a vlookup? txm49 Excel Discussion (Misc queries) 5 October 11th 07 04:10 PM
Offset VLookup [email protected] Excel Worksheet Functions 2 March 30th 06 07:33 PM
vlookup and offset Rob M. Excel Worksheet Functions 3 December 2nd 05 02:10 AM
Vlookup is not enough ... can OFFSET be used ? Brian Ferris Excel Worksheet Functions 9 October 31st 05 03:36 PM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017