#1   Report Post  
Gary's Student
 
Posts: n/a
Default not urgent

What function returns the contents of a cell given the row and column number?
For example, =DesiredFunction(10,10) should return the contents of J10
--
Gary's Student
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=INDEX(1:65536,10,10)

In article ,
"Gary's Student" wrote:

What function returns the contents of a cell given the row and column number?
For example, =DesiredFunction(10,10) should return the contents of J10

  #3   Report Post  
bj
 
Posts: n/a
Default

try
=index(A1,10,10)

"Gary's Student" wrote:

What function returns the contents of a cell given the row and column number?
For example, =DesiredFunction(10,10) should return the contents of J10
--
Gary's Student

  #4   Report Post  
N Harkawat
 
Posts: n/a
Default

=INDIRECT(ADDRESS(10,10))

"Gary's Student" wrote in message
...
What function returns the contents of a cell given the row and column
number?
For example, =DesiredFunction(10,10) should return the contents of J10
--
Gary's Student



  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Did you try your suggestion?

That will result in a #REF! error. The indexed cell must be within the
reference, so

=INDEX(1:65536,10,10)

will work.




In article ,
"bj" wrote:

=index(A1,10,10)



  #6   Report Post  
bj
 
Posts: n/a
Default

It would have been nice if I have written "offset" in the response like I did
in my worksheet when I tested it.

Thanks for catching it.

"JE McGimpsey" wrote:

Did you try your suggestion?

That will result in a #REF! error. The indexed cell must be within the
reference, so

=INDEX(1:65536,10,10)

will work.




In article ,
"bj" wrote:

=index(A1,10,10)


  #7   Report Post  
Gary's Student
 
Posts: n/a
Default

Thank you all very much. I can now get rid of my user defined function and
use something standard.
--
Gary's Student


"N Harkawat" wrote:

=INDIRECT(ADDRESS(10,10))

"Gary's Student" wrote in message
...
What function returns the contents of a cell given the row and column
number?
For example, =DesiredFunction(10,10) should return the contents of J10
--
Gary's Student




  #8   Report Post  
Harlan Grove
 
Posts: n/a
Default

N Harkawat wrote...
=INDIRECT(ADDRESS(10,10))

....

Yeah, but

=INDIRECT("R"&10&"C"&10,0)

saves a function call.

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
Urgent Urgent Urgent!!! Ruslan Excel Discussion (Misc queries) 6 March 30th 05 02:59 PM
urgent , display to print questy Excel Discussion (Misc queries) 2 March 14th 05 11:45 PM
excel page breaks - urgent help required Louisa Excel Worksheet Functions 2 February 14th 05 05:03 PM
Urgent - How to fix grayed out option under Tools|Options|Chart? saturnin02 Excel Discussion (Misc queries) 1 January 28th 05 04:16 PM
importing multiple text files URGENT!!! HELP tasha Excel Worksheet Functions 0 December 19th 04 04:26 PM


All times are GMT +1. The time now is 01:16 AM.

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"