Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to locate a cell that is the intersection of cells in row 1 and column
A by matching text . For example find "Allowed" in Row 1 and "WaterTemp" in Column A and give me the cell address at the intersection. I tried nesting two match functions inside index function but it hiccupped. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=index(A1:Z26,Match("WaterTemp",A1:A26,0),Match("A llowed",A1:Z1,0))
-- Regards, Tom Ogilvy "Chip" wrote in message ... I need to locate a cell that is the intersection of cells in row 1 and column A by matching text . For example find "Allowed" in Row 1 and "WaterTemp" in Column A and give me the cell address at the intersection. I tried nesting two match functions inside index function but it hiccupped. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tom,
Thanks for the quick response Your response is what I tried in VBA but I get "Can't set index property..."error. I am grabbing a value from Access and need to insert it into the desired cell. I did use a clunky routine to find the text and grab the column from row 1 and the row from column A to construct an address. It works but seems inefficient. "Tom Ogilvy" wrote: =index(A1:Z26,Match("WaterTemp",A1:A26,0),Match("A llowed",A1:Z1,0)) -- Regards, Tom Ogilvy "Chip" wrote in message ... I need to locate a cell that is the intersection of cells in row 1 and column A by matching text . For example find "Allowed" in Row 1 and "WaterTemp" in Column A and give me the cell address at the intersection. I tried nesting two match functions inside index function but it hiccupped. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
set rw = Range("A1:A26).Find("WaterTemp")
set col = Range("A1:Z1).Find("Allowed") cells(rw.row,col.col).Value = "Whatever" -- Regards, Tom Ogilvy "Chip" wrote in message ... Tom, Thanks for the quick response Your response is what I tried in VBA but I get "Can't set index property..."error. I am grabbing a value from Access and need to insert it into the desired cell. I did use a clunky routine to find the text and grab the column from row 1 and the row from column A to construct an address. It works but seems inefficient. "Tom Ogilvy" wrote: =index(A1:Z26,Match("WaterTemp",A1:A26,0),Match("A llowed",A1:Z1,0)) -- Regards, Tom Ogilvy "Chip" wrote in message ... I need to locate a cell that is the intersection of cells in row 1 and column A by matching text . For example find "Allowed" in Row 1 and "WaterTemp" in Column A and give me the cell address at the intersection. I tried nesting two match functions inside index function but it hiccupped. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
refer to whole column | Excel Discussion (Misc queries) | |||
How can I refer to an entire column? | New Users to Excel | |||
In VBA, How to Refer to Cell In Specific Column But Selected Rows? | Excel Discussion (Misc queries) | |||
How to refer to current column in a formula? | Excel Discussion (Misc queries) | |||
Refer to a column | Excel Programming |