LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
Shane Gibson
 
Posts: n/a
Default How to have a variable cell reference across sheets?

"kevindmorgan" wrote:
Name your range in the second sheet. I named mine "thetable" in this example.

In my example, it gives the item in column 2, and the proper row for the value that is in cell
B2.
=INDEX(thetable,B2,2)


Kevin,

That worked perfectly. Thanks for the help.

Here's what I did - selected my table in "Sheet2", named it "appreciation",
then in "Sheet1", I referred to it as follows:

=INDEX(appreciation,C20,2)

This referenced the value of C20 on Sheet1 (say "10") and used that as the
Row Number in the Named Table "appreciation". In this case "2" is column "B"
- odd why we have to switch back to numerical references for column when it's
defined as alpha by default.

Thanks Kevin.

 
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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
Can you have fixed cell reference when dragging/copying formulae? ducksfolly Excel Discussion (Misc queries) 4 December 20th 05 11:19 AM
Cell Reference locking Hysteresis Excel Discussion (Misc queries) 1 November 3rd 05 05:05 PM
Getting contents of a cell when cell reference is in the sheet A Nelson Excel Discussion (Misc queries) 3 October 5th 05 06:46 PM
can you use a variable or cell reference in a getpivotdata formul. stevec Excel Worksheet Functions 1 November 8th 04 09:20 PM


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