×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

a simple question: the reference of a cell

a simple question: the reference of a cell

a simple question: the reference of a cell

(OP)
I am not very good with excel... Looking for a command that would search for a given value in a column and return a reference (in a form C32 for. eg.) of the cell that value is in.

How can i do that?

RE: a simple question: the reference of a cell

Let's say you wanted to find the address in column D which contains the value 3. Use:
=ADDRESS(MATCH(3,D:D)+1,4)

=====================================
(2B)+(2B)'  ?

RE: a simple question: the reference of a cell

Or perhaps a little more legible, don't use 4 for column argument.  Use
=ADDRESS(MATCH(3,D:D)+1,COLUMN(D:D))

=====================================
(2B)+(2B)'  ?

RE: a simple question: the reference of a cell

Whoops. The +1 was not required.
Final answer (to find address containing "3" within column D:
=ADDRESS(MATCH(3,D:D),COLUMN(D:D))

=====================================
(2B)+(2B)'  ?

RE: a simple question: the reference of a cell

(OP)
My problem is that it returns the reference in form $D$15 when I need it only D15. Is there any cure?

RE: a simple question: the reference of a cell

(OP)
Ok I found it.

But now why this does not work:

If:

=ADDRESS(Match(32,A:A),1,4,TRUE)

returns the 'A13'

and

=Offset(A13,1,0,1,1)

returns the value of the cell A14,

why does

=Offset(ADDRESS(Match(32,A:A),1,4,TRUE),1,0,1,1)

does not return the value of the cell A14???

 

RE: a simple question: the reference of a cell

Try this:
=OFFSET(INDIRECT(ADDRESS(MATCH(32,A:A),1,4,TRUE)),1,0,1,1)

=====================================
(2B)+(2B)'  ?

RE: a simple question: the reference of a cell

(OP)
Great! Thanx!!!

RE: a simple question: the reference of a cell

i've usually dumbed this down so that i have the maximum of the range in one cell then use another column to compare the maximum to the current row value ... if current row = maximum then cell = maximum (or 1 or "!!") else "  "

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources