Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default Value at Intersecting cells

If you in fact want the MIDPOINT between the cells, name them Range1 and
Range2 and adapt the following for a code solution:
Debug.Print Range("range1").Row, Range("range2").Row, _
Range("range1").Column, Range("range2").Column
Debug.Print Range("range1").Offset( _
(Range("range2").Row - Range("range1").Row) \ 2, _
(Range("range2").Column - Range("range1").Column) \ 2)

Note the integer division - you might be surprised when you see what
happens with normal division by 2 there :)

On Wed, 27 Aug 2003 08:46:12 -0400, "ibeetb" wrote:

Is there a way to get the value of a cell which lies at the intersection of
say......B8 and D8? (I'd prefer to do in code - but will accept doing it in
a wrksht function)

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
Using Intersecting Names for lookup gf Excel Discussion (Misc queries) 2 November 30th 09 01:55 AM
Value at Intersecting cells Leo Heuser[_2_] Excel Programming 0 August 27th 03 02:09 PM
Value at Intersecting cells Chip Pearson Excel Programming 0 August 27th 03 02:00 PM
Intersecting addresses from two sheets Dave Peterson[_3_] Excel Programming 0 August 22nd 03 04:18 AM
Intersecting addresses from two sheets Barney Fife Excel Programming 1 August 22nd 03 03:53 AM


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

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

About Us

"It's about Microsoft Excel"