Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Table Intersection

Is it possible (through VBA or other methods) to activate the cell in a table
where the column heading is Apple and the row heading is Orange?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Table Intersection

Formula version

=INDEX(A1:M10,MATCH("Apple",A1:M1,0),MATCH("Orange ",A1:A10,0))

--
HTH

Bob Phillips

"StephanieH" wrote in message
...
Is it possible (through VBA or other methods) to activate the cell in a

table
where the column heading is Apple and the row heading is Orange?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Table Intersection

And the VBA version

Dim myCol As Integer
Dim myRow As Long
myCol = Application.Match("Apple", Range("A1:M1"), 0)
myRow = Application.Match("Orange", Range("A1:A10"), 0)
Range("A1:M10").Cells(myRow, myCol).Select

HTH,
Bernie
MS Excel MVP


"Bob Phillips" wrote in message
...
Formula version

=INDEX(A1:M10,MATCH("Apple",A1:M1,0),MATCH("Orange ",A1:A10,0))

--
HTH

Bob Phillips

"StephanieH" wrote in message
...
Is it possible (through VBA or other methods) to activate the cell in a

table
where the column heading is Apple and the row heading is Orange?





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
Intersection Derick C. Charts and Charting in Excel 3 July 24th 08 11:34 AM
Intersection help Ray Excel Discussion (Misc queries) 3 September 5th 07 04:15 PM
Intersection Jithu Excel Discussion (Misc queries) 5 August 2nd 07 08:12 AM
Finding intersection of row and column (both variable) in table RangerAl Excel Worksheet Functions 8 January 1st 05 01:28 AM
Intersection? R. Choate Excel Programming 3 December 14th 04 07:22 PM


All times are GMT +1. The time now is 12:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"