Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel - get address of cell

Hi people,

Condition : cell(AXX) = Max(A1:AXX-1)
a1 = 100
a2 = 300
a3 = 50
.....
Problem : Could I by any chance get the address of the cell tha
content is Max, for instance a2?

Thank in advance, Irina

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Excel - get address of cell

Irina

=CELL("address",OFFSET(A1,MATCH(MAX(A1:A3),A1:A3,F ALSE)-1,0))

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Irina " wrote in message
...
Hi people,

Condition : cell(AXX) = Max(A1:AXX-1)
a1 = 100
a2 = 300
a3 = 50
....
Problem : Could I by any chance get the address of the cell that
content is Max, for instance a2?

Thank in advance, Irina.


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Excel - get address of cell

Irina,

The address of the Maximum value in A is

=ADDRESS(MATCH(MAX(A:A),A:A,FALSE),COLUMN(A:A))

unless the formula is in column A, then you need to use

=ADDRESS(MATCH(MAX(A1:A100),A1:A100,FALSE),COLUMN( A:A))

HTH,
Bernie
MS Excel MVP

"Irina " wrote in message
...
Hi people,

Condition : cell(AXX) = Max(A1:AXX-1)
a1 = 100
a2 = 300
a3 = 50
....
Problem : Could I by any chance get the address of the cell that
content is Max, for instance a2?

Thank in advance, Irina.


---
Message posted from http://www.ExcelForum.com/



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
Filename in Excel Cell Address RickS Excel Discussion (Misc queries) 7 February 9th 10 11:58 PM
Excel cell address from cell contents TQuestar New Users to Excel 3 January 15th 10 04:03 AM
How do I avoid excel change absolute address to relative address Miguel Excel Discussion (Misc queries) 3 May 10th 07 11:18 PM
Excel: ADDRESS cannot be used in CELL. How stupid is this? themantheworldlovesmorethannathan Excel Worksheet Functions 6 July 7th 06 10:17 PM
LINKING Address cells from an EXCEL spreadsheet to fill MapQuest Address Info Duane S. Meyer Excel Programming 0 August 30th 03 12:16 AM


All times are GMT +1. The time now is 03:21 PM.

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"