Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default offset within vlookup

Long story short, i'm trying to define several vlookup formulas. The vlookup
works, but excel doesnt understand to lookup the cell in the same row, in
column E as the lookup value when trying to define.


undefined formula in cell K80:
VLOOKUP($E80,VLK!$F$4:$H$9,2,FALSE)

when defining this, somehow i need to tell the formula to look up the value
in the cell 6 rows to the left.

TIA!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default offset within vlookup

6 Rows to the left, where is that? If you meant columns you can use

=INDEX(VLK!return_column,MATCH(E80,VLK!F4:F9,0))


--


Regards,


Peo Sjoblom


"jchick0909" wrote in message
...
Long story short, i'm trying to define several vlookup formulas. The
vlookup
works, but excel doesnt understand to lookup the cell in the same row, in
column E as the lookup value when trying to define.


undefined formula in cell K80:
VLOOKUP($E80,VLK!$F$4:$H$9,2,FALSE)

when defining this, somehow i need to tell the formula to look up the
value
in the cell 6 rows to the left.

TIA!!!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default offset within vlookup

On Fri, 19 Oct 2007 09:11:00 -0700, jchick0909 wrote:

Long story short, i'm trying to define several vlookup formulas. The vlookup
works, but excel doesnt understand to lookup the cell in the same row, in
column E as the lookup value when trying to define.


undefined formula in cell K80:
VLOOKUP($E80,VLK!$F$4:$H$9,2,FALSE)

when defining this, somehow i need to tell the formula to look up the value
in the cell 6 rows to the left.

TIA!!!


Something like this?

=VLOOKUP(OFFSET(K80,0,-6),VLK!$F$4:$H$9,2,FALSE)

All you have is reference to K80 (the same cell the formula is in) and
offset.

Regards,

B.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default offset within vlookup

But what would be the point of this?

1. By using OFFSET the formula becomes volatile and will slow down a large
workbook.

2. Why not use VLOOKUP(E80,etc

instead of offsetting K80?


--


Regards,


Peo Sjoblom



"Boris" wrote in message
Something like this?

=VLOOKUP(OFFSET(K80,0,-6),VLK!$F$4:$H$9,2,FALSE)

All you have is reference to K80 (the same cell the formula is in) and
offset.

Regards,

B.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default offset within vlookup

I need the offset not to be based on K80, but the cell that the formula is
in... kinda like the cell select in VBA.

"Boris" wrote:

On Fri, 19 Oct 2007 09:11:00 -0700, jchick0909 wrote:

Long story short, i'm trying to define several vlookup formulas. The vlookup
works, but excel doesnt understand to lookup the cell in the same row, in
column E as the lookup value when trying to define.


undefined formula in cell K80:
VLOOKUP($E80,VLK!$F$4:$H$9,2,FALSE)

when defining this, somehow i need to tell the formula to look up the value
in the cell 6 rows to the left.

TIA!!!


Something like this?

=VLOOKUP(OFFSET(K80,0,-6),VLK!$F$4:$H$9,2,FALSE)

All you have is reference to K80 (the same cell the formula is in) and
offset.

Regards,

B.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default offset within vlookup

I need the offset not to be based on K80, but the cell that the formula is
in... kinda like the cell select in VBA.



"Peo Sjoblom" wrote:

But what would be the point of this?

1. By using OFFSET the formula becomes volatile and will slow down a large
workbook.

2. Why not use VLOOKUP(E80,etc

instead of offsetting K80?


--


Regards,


Peo Sjoblom



"Boris" wrote in message
Something like this?

=VLOOKUP(OFFSET(K80,0,-6),VLK!$F$4:$H$9,2,FALSE)

All you have is reference to K80 (the same cell the formula is in) and
offset.

Regards,

B.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default offset within vlookup

Maybe something like

=VLOOKUP(OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN())), ,-6),VLK!$F$4:$H$29,2,0)



Not tested more than in a few cells, note that if you are using -6 offset
than you will get a ref error if you put the formula in first 6 columns
counted from column A

--


Regards,


Peo Sjoblom




"jchick0909" wrote in message
...
I need the offset not to be based on K80, but the cell that the formula is
in... kinda like the cell select in VBA.



"Peo Sjoblom" wrote:

But what would be the point of this?

1. By using OFFSET the formula becomes volatile and will slow down a
large
workbook.

2. Why not use VLOOKUP(E80,etc

instead of offsetting K80?


--


Regards,


Peo Sjoblom



"Boris" wrote in message
Something like this?

=VLOOKUP(OFFSET(K80,0,-6),VLK!$F$4:$H$9,2,FALSE)

All you have is reference to K80 (the same cell the formula is in) and
offset.

Regards,

B.






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 off a vlookup? txm49 Excel Discussion (Misc queries) 5 October 11th 07 04:10 PM
VLOOKUP and OFFSET PJ Excel Worksheet Functions 2 July 18th 07 03:28 PM
Using Offset with Vlookup BlackyOakes Excel Discussion (Misc queries) 2 February 12th 07 04:47 PM
Vlookup then OFFSET over and down mendozalaura Excel Worksheet Functions 3 August 24th 05 12:32 AM
offset and vlookup cutsygurl Excel Worksheet Functions 1 November 5th 04 10:47 PM


All times are GMT +1. The time now is 02:23 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"