Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
sudhakar
 
Posts: n/a
Default How to feed the contents of a cell as row index?

Hi,
eg. if c5=3
a[c5] should give me the contents of a3 like in any high level language

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bernard Liengme
 
Posts: n/a
Default How to feed the contents of a cell as row index?

Excel does not treat a column as an array (table) so when C5=3, the formula
=A[C5] means nothing.
However, the formula =INDIRECT("A"&C5) will be equivalent to =A3 when C5 has
value 3
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"sudhakar" wrote in message
...
Hi,
eg. if c5=3
a[c5] should give me the contents of a3 like in any high level
language



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Ron Coderre
 
Posts: n/a
Default How to feed the contents of a cell as row index?

Try something like this:

=INDIRECT("A"&C5)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"sudhakar" wrote:

Hi,
eg. if c5=3
a[c5] should give me the contents of a3 like in any high level language

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 date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Conversion of Cell Contents into a Functional Worksheet name ? GMJT Excel Worksheet Functions 1 August 21st 05 04:59 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Function syntax to compare cell contents ES Excel Worksheet Functions 2 May 18th 05 03:53 PM
Adding contents of one cell to a range of cells. CLJinVA Excel Worksheet Functions 1 February 10th 05 10:19 PM


All times are GMT +1. The time now is 07:41 PM.

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"