Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Christie
 
Posts: n/a
Default Formula to return ADDRESS of cell in range that meets criteria

Using Excel 2000
I want a formula to find a cell containing a specified value and then return
the cell address for that cell so that I can use that address to define a
range for another formula. Hlookup provides the value. Match provides the
position. How can I find the address without already knowing the address?

Thank You,
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

As long as there are no duplicate values in your lookup
table this will work. You could put this all together as a
single formula but for the sake of simplicity, keep it as
separate formulas:

Assume the value returned by your lookup formula is in
cell A2. The range of your lookup table is D2:I6. E2:I6
are column headers and D3:D6 are row headers.

Entered as an array with the key combo of CTRL,SHIFT,ENTER:

=ADDRESS(MAX((D2:I6=A2)*ROW(D2:I6)),MAX((D2:I6=A2) *COLUMN
(D2:I6)))

Now, assume this formula is in cell A3 and returns the
value $F$6. To use $F$6 as a reference in another formula
you'd have to use INDIRECT:

=SUM(INDIRECT(A3&":F20"))

Biff

-----Original Message-----
Using Excel 2000
I want a formula to find a cell containing a specified

value and then return
the cell address for that cell so that I can use that

address to define a
range for another formula. Hlookup provides the value.

Match provides the
position. How can I find the address without already

knowing the address?

Thank You,
.

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
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
How do you copy a cell formula down a column without displaying n. Coddie Excel Worksheet Functions 4 January 18th 05 02:31 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM
using content of a cell in a formula in another cell mpierre Excel Worksheet Functions 3 December 28th 04 03:43 PM


All times are GMT +1. The time now is 12:54 PM.

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"