Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Is there a way to find the address of a cell with a certain value?

Try something like this:

For an 8x8 table of values in A1:H8

J1: FindVal
K1: 37

J2: RowOffset
K2: -1

J3: ColOffset
K3: 3

J4: NewValue
K4:
=INDEX(A1:H8,SUMPRODUCT((A1:H8=K1)*ROW(A1:H8))+K2, SUMPRODUCT((A1:H8=37)*COLUMN(A1:H8))+K3)

The formula in K4 locates the K1 value in the table and returns the
contents of the cell that is offset from that value by the number of rows and
columns referenced in K2 and K3, respectively.

In the above example, the formula finds the number 37 in the table and
returns the value that is 1 row UP and 3 cells the the RIGHT of that cell.

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Oshtruck user" wrote:

I have a grid in an spreadsheet that is 8X8 there are 20 different values in
the grid. What I want is to have a function that will search for the cell
address of a given value. THEN, once I find that Address is there a way to
find out what the value is in the cell above,left,right, and below a given
number of cells????

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
Cell address in a range starguy Excel Discussion (Misc queries) 7 May 3rd 06 11:58 AM
Find max number of character and return cell address ExcelMonkey Excel Worksheet Functions 5 April 15th 06 04:13 AM
Address of Maximum value in Cell Session101 Excel Worksheet Functions 1 April 12th 06 09:06 PM
Formula to return ADDRESS of cell in range that meets criteria Christie Excel Worksheet Functions 1 March 4th 05 11:13 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 02:30 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"