Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find a cell in a range

Status
Not open for further replies.

JohnEOasis

Programmer
Sep 3, 2008
32
US
Hi All,

I need to see if a cell is referanced in a range... ie Cell G32 could be in A1:L50 or G1:G60 of Sheet2 B20:H40. Is there an easy to find these referances vs the trace dependents?
 


Hi,

Do you want to know if the cell REFERENCE is in the range or a VALUE?

For th former...
[tt]
=IF(ISERROR(G32 A1:L50 ),1,0)
[/tt]
If there is no intersection, it returns a 1. If there IS an intersection, then it returns a 0.

I have not idea what you mean by "G1:G60 of Sheet2 B20:H40". A range on another sheet would NEVER intersect???


Skip,
[sup][glasses]Don't let the Diatribe...
talk you to death![tongue][/sup][sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
I think JohnEOasis wants to find out whether cell G32 is references by any formulas in other cells. ( I also have no idea what "G1:G60 of Sheet2 B20:H40" means ).

JohnEOasis: if you are talking about formulas, what are the formulas exactly? Are they direct linking formulas? Or are they lookups? Or what?

Cheers, Glenn.

Beauty is in the eye of the beerholder.
 
If this is a one-off manual search, you can just use edit-find. Of course it finds all references within a whole worksheet (or even workbook), so if you want to know of references within a range within a worksheet, the simplest is to copy the relevant range to another sheet (keeping the same location relative to cell A1!). The formulae needn't produce meaningful results in the new sheet, they are merely there to be searched.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top