Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
offset off a vlookup? | Excel Discussion (Misc queries) | |||
VLOOKUP and OFFSET | Excel Worksheet Functions | |||
Using Offset with Vlookup | Excel Discussion (Misc queries) | |||
Vlookup then OFFSET over and down | Excel Worksheet Functions | |||
offset and vlookup | Excel Worksheet Functions |