Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
trollsoft
 
Posts: n/a
Default Using a function to specify a cell

Say I want to specify the cell whose column is C and whose row is the
returned value of a function (say row()). How would I accomplish that?

The incorrect syntax would be Crow(). What would be a way to do it correctly?

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default Using a function to specify a cell

You could use the INDIRECT function.

=INDIRECT("C"&row())

HTH,
Elkar


"trollsoft" wrote:

Say I want to specify the cell whose column is C and whose row is the
returned value of a function (say row()). How would I accomplish that?

The incorrect syntax would be Crow(). What would be a way to do it correctly?

thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Using a function to specify a cell

On Thu, 9 Mar 2006 16:13:26 -0800, trollsoft
wrote:

Say I want to specify the cell whose column is C and whose row is the
returned value of a function (say row()). How would I accomplish that?

The incorrect syntax would be Crow(). What would be a way to do it correctly?

thanks.


=ADDRESS(ROW(),3) would return the cell address

=INDIRECT("C"&ROW()) or
=INDIRECT(ADDRESS(ROW(),3))

would return the contents of the cell at that address. However, if the
cell is blank, these formulas will return a zero.


--ron
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
Function that Returns address of that cell? RayWolfDog Excel Worksheet Functions 2 February 15th 06 04:54 PM
Excel 2000: sum function automated? [email protected] Excel Discussion (Misc queries) 2 February 3rd 06 11:30 AM
Change Cell properties by Function Gilles P (FR) Excel Worksheet Functions 2 January 31st 06 12:26 PM
Reading Cell Function??? roy.okinawa Excel Worksheet Functions 2 December 1st 05 11:29 PM
IF Function to test formula in a cell Fred Holmes Excel Worksheet Functions 5 November 18th 05 12:04 AM


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