Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Show in a Cell the Value for another Cell

I have a cell(B6) in sheet1 with a value anda I want to show this value in a
cell(C6) in sheet2.
What I do was:
in the cell(C6) in sheet2 I put: ='sheet1'!B6

This worked, but if I insert a line upper the line 6 in the sheet1, the
function goes like this: ='sheet1'!B7

Anyone can help me?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Show in a Cell the Value for another Cell

=INDIRECT("Sheet1!B6")

--
Gary''s Student - gsnu200827


"LefepeCalambau" wrote:

I have a cell(B6) in sheet1 with a value anda I want to show this value in a
cell(C6) in sheet2.
What I do was:
in the cell(C6) in sheet2 I put: ='sheet1'!B6

This worked, but if I insert a line upper the line 6 in the sheet1, the
function goes like this: ='sheet1'!B7

Anyone can help me?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Show in a Cell the Value for another Cell

Thanks Gary. This works great.

just an observation, the correct syntax is =INDIRECT("'Sheet1'!B6")

"Gary''s Student" escreveu:

=INDIRECT("Sheet1!B6")

--
Gary''s Student - gsnu200827


"LefepeCalambau" wrote:

I have a cell(B6) in sheet1 with a value anda I want to show this value in a
cell(C6) in sheet2.
What I do was:
in the cell(C6) in sheet2 I put: ='sheet1'!B6

This worked, but if I insert a line upper the line 6 in the sheet1, the
function goes like this: ='sheet1'!B7

Anyone can help me?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Show in a Cell the Value for another Cell

I can assure you that Gary''s Student has been using Excel (and advising
others) for plenty long enough to be aware that if the sheet name had spaces
in it he would need the single quotes around the sheet name, but he also
knows that without a space in the sheet name he doesn't need the single
quotes, so the syntax he used was perfectly valid for the question you
asked.
--
David Biddulph

"LefepeCalambau" wrote in message
...
Thanks Gary. This works great.

just an observation, the correct syntax is =INDIRECT("'Sheet1'!B6")

"Gary''s Student" escreveu:

=INDIRECT("Sheet1!B6")

--
Gary''s Student - gsnu200827


"LefepeCalambau" wrote:

I have a cell(B6) in sheet1 with a value anda I want to show this value
in a
cell(C6) in sheet2.
What I do was:
in the cell(C6) in sheet2 I put: ='sheet1'!B6

This worked, but if I insert a line upper the line 6 in the sheet1, the
function goes like this: ='sheet1'!B7

Anyone can help me?



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 do i assign cell A1 to show the current cursor cell in Excel? OB Excel Discussion (Misc queries) 2 October 11th 06 04:02 PM
format cell to show leading zeros and make cell a three digit fiel Kristin Excel Worksheet Functions 2 July 28th 06 09:42 PM
In adjacent cell, show last date modified of target cell. manxman Excel Discussion (Misc queries) 0 March 17th 06 10:47 PM
enter a time into a cell, have the cell show two times the entry johnp Excel Worksheet Functions 3 May 2nd 05 12:08 AM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Discussion (Misc queries) 1 January 4th 05 08:01 PM


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