Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Don Don is offline
external usenet poster
 
Posts: 487
Default Display data from another worksheet

With Sheet1 active and desiring the output of a formula similar to...
=Sheet2!$D$476...

I want to automate the formula so that the value 476 is not hardcoded but
rather obtained from Column C on Sheet1 for every row.

The data I want to display in Sheet1 Column D will always come from Sheet2
Column D. Which cell to choose from in Sheet2 Column D is determined by the
value of Sheet1 C1, C2, C3, etc.

Here's Row 1 of Sheet1 with the formula displayed in D1 (476 hardcoded)...
A B C
D
1 452291 476 =Sheet2!$D$476

I think I'm trying to embed formulas but a) I don't know how and b) I don't
know if it's possible.

Can you help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Display data from another worksheet

INDIRECT makes it possible

In Sheet1,
In D476, copied down:
=INDIRECT("'Sheet2'!D"&C476)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,500 Files:362 Subscribers:62
xdemechanik
---
"Don" wrote:
With Sheet1 active and desiring the output of a formula similar to...
=Sheet2!$D$476...

I want to automate the formula so that the value 476 is not hardcoded but
rather obtained from Column C on Sheet1 for every row.

The data I want to display in Sheet1 Column D will always come from Sheet2
Column D. Which cell to choose from in Sheet2 Column D is determined by the
value of Sheet1 C1, C2, C3, etc.

Here's Row 1 of Sheet1 with the formula displayed in D1 (476 hardcoded)...
A B C
D
1 452291 476 =Sheet2!$D$476

I think I'm trying to embed formulas but a) I don't know how and b) I don't
know if it's possible.

Can you help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Display data from another worksheet

Another one:

=index(sheet2!d:d,c1)



Don wrote:

With Sheet1 active and desiring the output of a formula similar to...
=Sheet2!$D$476...

I want to automate the formula so that the value 476 is not hardcoded but
rather obtained from Column C on Sheet1 for every row.

The data I want to display in Sheet1 Column D will always come from Sheet2
Column D. Which cell to choose from in Sheet2 Column D is determined by the
value of Sheet1 C1, C2, C3, etc.

Here's Row 1 of Sheet1 with the formula displayed in D1 (476 hardcoded)...
A B C
D
1 452291 476 =Sheet2!$D$476

I think I'm trying to embed formulas but a) I don't know how and b) I don't
know if it's possible.

Can you help?


--

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
How do I display every 5th row of data from a worksheet in a new . jct Excel Worksheet Functions 2 February 22nd 07 01:38 AM
Display data from multiple worksheets' cells in one worksheet J! Excel Worksheet Functions 1 August 29th 06 08:53 PM
how do i filter data on one worksheet and display on another. excellent Excel Discussion (Misc queries) 1 June 22nd 06 12:15 PM
How do I display data in different worksheet in excel Hedgelayer2 Excel Discussion (Misc queries) 1 February 13th 06 03:34 AM
Macro to search for and display data in another worksheet Mark H Excel Worksheet Functions 0 June 14th 05 12:40 PM


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