Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I mean to say if we have this formula in a cell:
=vlookup(A12,A35:j40,4,true) Now i wanna make this 4 to be act as variable and when i drag the cell containg above formula, copied cell have values 5,6 7 ..n so on in place of 4. It can seen as reverse of making variable as constant by use of $. e.g.$A$15. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perhaps somethin like:
=VLOOKUP(A$12,A$35:J$40,ROWS(1:$1)+3,TRUE) -- Gary''s Student - gsnu201003 "Vimlesh" wrote: I mean to say if we have this formula in a cell: =vlookup(A12,A35:j40,4,true) Now i wanna make this 4 to be act as variable and when i drag the cell containg above formula, copied cell have values 5,6 7 ..n so on in place of 4. It can seen as reverse of making variable as constant by use of $. e.g.$A$15. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try
=VLOOKUP($A12,$A35:$J40,COLUMN(D12),TRUE) Are you sure you want TRUE (approximate match) for the final argument instead of FALSE (exact match)? Hope this helps, Hutch "Vimlesh" wrote: I mean to say if we have this formula in a cell: =vlookup(A12,A35:j40,4,true) Now i wanna make this 4 to be act as variable and when i drag the cell containg above formula, copied cell have values 5,6 7 ..n so on in place of 4. It can seen as reverse of making variable as constant by use of $. e.g.$A$15. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Select 5 cells.
In the active cell enter this formula =VLOOKUP(A12,$A$35:$J$40,{4,5,6,7,8},TRUE) Do not hit ENTER key. Instead hit CTRL + SHIFT + ENTER to enter as an array. Gord Dibben MS Excel MVP On Tue, 1 Jun 2010 14:17:01 -0700, Vimlesh wrote: I mean to say if we have this formula in a cell: =vlookup(A12,A35:j40,4,true) Now i wanna make this 4 to be act as variable and when i drag the cell containg above formula, copied cell have values 5,6 7 ..n so on in place of 4. It can seen as reverse of making variable as constant by use of $. e.g.$A$15. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Keeping Formula variable constant when adding new column | Excel Discussion (Misc queries) | |||
Count with 1 variable & 1 constant criteria formula | Excel Worksheet Functions | |||
subtract a variable no. of mos. from a constant date? in excel | Excel Discussion (Misc queries) | |||
Stopping a constant variable cell from being copied. | New Users to Excel | |||
How to average one constant # to variable #s? A1:A2 A1:A3 A1:A4 | Excel Worksheet Functions |