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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding a Cell refrence... 2

Status
Not open for further replies.

scotsql

Technical User
Jan 18, 2005
9
GB
Hi all,

I want a formula which will tell me the cell reference in a range if it equals another cell.

But this just gives me FALSE

=IF(A1:A106=K1,CELL("address",A1:A106))

i hope i have explained this well enough.

thanks for any help..
 
No, it is not clear.

1.
[tt]
=IF(A1:A106=K1,CELL("address",A1:A106))
[/tt]
the bold part is not correct

2. the form of an IF statement is
[tt]
=IF(<expression>,<Result if TRUE>,<Result if FALSE>)
[/tt]
3. CELL("address",A1:A106) returns $A$1

so I have not idea what you are trying to do.

Skip,

[glasses] [red]Be advised:[/red] The dyslexic, agnostic, insomniac, lays awake all night wondering...
"Is there really a DOG?" [tongue]
 
One method...

=VLOOKUP(K1,A1:B106,2,FALSE)

...where =CELL("address",A1)
is entered into B1 and copied to B1:B106

(You could insert and hide column B if necessary.)

Hope this helps.

Regards, Dale Watson
 
Another method ...

=CELL("address",OFFSET(A1,MATCH(K1,A1:A106,0)-1,0))



Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Thank you [smile]

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top