Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Line Reference in Formula

Is it possible to include a number in a cell as line reference in a formula?
Example: Cell A1 = 45; Formula in C5: = (any column, say) L45
--
Felix
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Line Reference in Formula

Try this:

=INDIRECT("L"&A1)

If A1 = 45 the formula will return the contents of cell L45.

Biff

"Felix" wrote in message
...
Is it possible to include a number in a cell as line reference in a
formula?
Example: Cell A1 = 45; Formula in C5: = (any column, say) L45
--
Felix



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Line Reference in Formula

And if the Column is on anoth sheet?

(The values to be brought into the new cell with the formula in sheet 2 are
in column B on Sheet 1, the line number is on sheet 2)
--
Felix


"T. Valko" wrote:

Try this:

=INDIRECT("L"&A1)

If A1 = 45 the formula will return the contents of cell L45.

Biff

"Felix" wrote in message
...
Is it possible to include a number in a cell as line reference in a
formula?
Example: Cell A1 = 45; Formula in C5: = (any column, say) L45
--
Felix




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Line Reference in Formula

Hi,

simply add the name of the spreadsheet ahead of the cell reference,
separated by an exclamation mark:

=INDIRECT("Sheet1!B"&A1)

Ingolf


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
How to enter an Excel cell reference into a line of text in Excel WUDFAL Excel Worksheet Functions 2 December 5th 06 10:37 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
trying to reference a cell in a line of text jspizman Excel Discussion (Misc queries) 1 August 9th 06 08:57 PM
Reference line in graph Sillie_J Charts and Charting in Excel 2 July 7th 05 10:52 PM
How do I add a reference line to Excel charts? roswellmike Charts and Charting in Excel 4 January 2nd 05 01:29 PM


All times are GMT +1. The time now is 09:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"