Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default read data from a cell absolutely

Is there a way of referencing a cell in so far as its co-ordinate rather
than the typical B3 etc?

I am linking sheets to each other, for example
Cell B2 on Sheet 2 reads Cell B2 on Sheet 1 and continues down the sheet.(B3
to B3, B4 to B4 etc)

If I then delete row B3 from Sheet 1 (deleting the row not just the
contents) I will then get error messages ( #Ref) in Cell B3 on Sheet 2 .

How can I ensure that the Cell B3 on Sheet 2 reads what has become B3 on
Sheet 1 ?

I know in VB there is a co-ordinate or referencing of cells by the number of
columns / rows from a datam, but is there a similiar process in Excel ?


Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default read data from a cell absolutely

Andrew,

=INDIRECT("'Sheet 1'!B3")

or, to make it easier to copy down:

=INDIRECT("'Sheet 1'!B" & ROW() + offset)
For example:
=INDIRECT("'Sheet 1'!B" & ROW() - 3)

Or, to not be tied to a specific sheet name or column (in case you rename the sheet or move the
column)

=INDEX('Sheet 1'!B:B,ROW() + offset)

like

=INDEX('Sheet 1'!B:B,ROW()-2 )

--
HTH,
Bernie
MS Excel MVP


"Andrew Duncan" wrote in message
...
Is there a way of referencing a cell in so far as its co-ordinate rather than the typical B3 etc?

I am linking sheets to each other, for example
Cell B2 on Sheet 2 reads Cell B2 on Sheet 1 and continues down the sheet.(B3 to B3, B4 to B4 etc)

If I then delete row B3 from Sheet 1 (deleting the row not just the contents) I will then get
error messages ( #Ref) in Cell B3 on Sheet 2 .

How can I ensure that the Cell B3 on Sheet 2 reads what has become B3 on Sheet 1 ?

I know in VB there is a co-ordinate or referencing of cells by the number of columns / rows from a
datam, but is there a similiar process in Excel ?


Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default read data from a cell absolutely

Thanks Bernie,

I have used the example of : =INDIRECT("'Sheet 1'!B" & ROW() - 3) to
succesfully allow me to drag down.
Now if I wantewd to then drag across too (i.e.across from column A to column
DB) how can I change the formula?

Andy


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Andrew,

=INDIRECT("'Sheet 1'!B3")

or, to make it easier to copy down:

=INDIRECT("'Sheet 1'!B" & ROW() + offset)
For example:
=INDIRECT("'Sheet 1'!B" & ROW() - 3)

Or, to not be tied to a specific sheet name or column (in case you rename
the sheet or move the column)

=INDEX('Sheet 1'!B:B,ROW() + offset)

like

=INDEX('Sheet 1'!B:B,ROW()-2 )

--
HTH,
Bernie
MS Excel MVP


"Andrew Duncan" wrote in message
...
Is there a way of referencing a cell in so far as its co-ordinate rather
than the typical B3 etc?

I am linking sheets to each other, for example
Cell B2 on Sheet 2 reads Cell B2 on Sheet 1 and continues down the
sheet.(B3 to B3, B4 to B4 etc)

If I then delete row B3 from Sheet 1 (deleting the row not just the
contents) I will then get error messages ( #Ref) in Cell B3 on Sheet 2 .

How can I ensure that the Cell B3 on Sheet 2 reads what has become B3 on
Sheet 1 ?

I know in VB there is a co-ordinate or referencing of cells by the number
of columns / rows from a datam, but is there a similiar process in Excel
?


Thanks.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default read data from a cell absolutely

Andrew,

You're welcome. Try this:

=INDIRECT("'Sheet 1'!" & ADDRESS(ROW() - 3, COLUMN() - offset))

HTH,
Bernie
MS Excel MVP

"Andrew Duncan" wrote in message
...
Thanks Bernie,

I have used the example of : =INDIRECT("'Sheet 1'!B" & ROW() - 3) to
succesfully allow me to drag down.
Now if I wantewd to then drag across too (i.e.across from column A to
column DB) how can I change the formula?

Andy


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Andrew,

=INDIRECT("'Sheet 1'!B3")

or, to make it easier to copy down:

=INDIRECT("'Sheet 1'!B" & ROW() + offset)
For example:
=INDIRECT("'Sheet 1'!B" & ROW() - 3)

Or, to not be tied to a specific sheet name or column (in case you rename
the sheet or move the column)

=INDEX('Sheet 1'!B:B,ROW() + offset)

like

=INDEX('Sheet 1'!B:B,ROW()-2 )

--
HTH,
Bernie
MS Excel MVP


"Andrew Duncan" wrote in message
...
Is there a way of referencing a cell in so far as its co-ordinate rather
than the typical B3 etc?

I am linking sheets to each other, for example
Cell B2 on Sheet 2 reads Cell B2 on Sheet 1 and continues down the
sheet.(B3 to B3, B4 to B4 etc)

If I then delete row B3 from Sheet 1 (deleting the row not just the
contents) I will then get error messages ( #Ref) in Cell B3 on Sheet 2 .

How can I ensure that the Cell B3 on Sheet 2 reads what has become B3 on
Sheet 1 ?

I know in VB there is a co-ordinate or referencing of cells by the
number of columns / rows from a datam, but is there a similiar process
in Excel ?


Thanks.







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default read data from a cell absolutely

Another way is to use R1C1 notation in the =indirect() function:

=INDIRECT("'Sheet 1'!r"&ROW()-3&"C"&COLUMN()-offset,FALSE)


Bernie Deitrick wrote:

Andrew,

You're welcome. Try this:

=INDIRECT("'Sheet 1'!" & ADDRESS(ROW() - 3, COLUMN() - offset))

HTH,
Bernie
MS Excel MVP

"Andrew Duncan" wrote in message
...
Thanks Bernie,

I have used the example of : =INDIRECT("'Sheet 1'!B" & ROW() - 3) to
succesfully allow me to drag down.
Now if I wantewd to then drag across too (i.e.across from column A to
column DB) how can I change the formula?

Andy


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Andrew,

=INDIRECT("'Sheet 1'!B3")

or, to make it easier to copy down:

=INDIRECT("'Sheet 1'!B" & ROW() + offset)
For example:
=INDIRECT("'Sheet 1'!B" & ROW() - 3)

Or, to not be tied to a specific sheet name or column (in case you rename
the sheet or move the column)

=INDEX('Sheet 1'!B:B,ROW() + offset)

like

=INDEX('Sheet 1'!B:B,ROW()-2 )

--
HTH,
Bernie
MS Excel MVP


"Andrew Duncan" wrote in message
...
Is there a way of referencing a cell in so far as its co-ordinate rather
than the typical B3 etc?

I am linking sheets to each other, for example
Cell B2 on Sheet 2 reads Cell B2 on Sheet 1 and continues down the
sheet.(B3 to B3, B4 to B4 etc)

If I then delete row B3 from Sheet 1 (deleting the row not just the
contents) I will then get error messages ( #Ref) in Cell B3 on Sheet 2 .

How can I ensure that the Cell B3 on Sheet 2 reads what has become B3 on
Sheet 1 ?

I know in VB there is a co-ordinate or referencing of cells by the
number of columns / rows from a datam, but is there a similiar process
in Excel ?


Thanks.






--

Dave Peterson


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
Return an absolutely empty cell ... but not "" Billy Leung Excel Worksheet Functions 3 June 4th 07 04:36 AM
Can a cell be linked to read data entered into a text box ? theltgguy Excel Discussion (Misc queries) 0 May 11th 06 09:24 PM
Can a cell be linked to read data entered into a text box ? theltgguy Excel Discussion (Misc queries) 0 May 11th 06 09:15 PM
Wildcard Usage: I absolutely need this to count?/sum? two or more criteri Inexcelhell Excel Discussion (Misc queries) 2 October 12th 05 03:11 PM
Absolutely Stumped! Brett Excel Discussion (Misc queries) 18 February 27th 05 01:22 AM


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