Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
x and y are single column ranges of the same size. How do I retrieve
the corresponding values to x & from y as I loop through x? See example below and thanks for any help. Function offset(x As Range, y As Range, test As String) For Each icell In x If icell.Value = test Then ' I want to use the value of the corresponding element of range y here End If Next End Function -- Mo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Ranges and Offset | Excel Worksheet Functions | |||
Offset function and Dynamic Ranges | Excel Discussion (Misc queries) | |||
Using Offset with named ranges | Excel Worksheet Functions | |||
Macro showing Offset instead of Ranges | Excel Programming | |||
Ranges using offset | Excel Programming |