PC Review


Reply
Thread Tools Rate Thread

Compound Reference

 
 
PeterM
Guest
Posts: n/a
 
      5th Jan 2010
I have a spreadsheet that has 3 columns. I need to be able to make what I
call a compound reference. It's really hard to explain but I need to do the
following:

='Sheet A'!X(b1)

where:
The current sheet is Sheet B
Sheet A is the sheet containing the cell needed
X(b1) refers to column X of sheet A and
the (b1) refers to the cell in sheet B that contains the row number to use
in sheet A for row X

Thanks in advance for your help!
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      5th Jan 2010
=indirect("'sheet a'!x" & b1)
or
=index('sheet a'!x:x,b1)

The =index() formula is better--it only recalculates when something changes in
column X of sheet a (or b1 changes).

The =indirect() formula will recalc whenever excel recalculates.

PeterM wrote:
>
> I have a spreadsheet that has 3 columns. I need to be able to make what I
> call a compound reference. It's really hard to explain but I need to do the
> following:
>
> ='Sheet A'!X(b1)
>
> where:
> The current sheet is Sheet B
> Sheet A is the sheet containing the cell needed
> X(b1) refers to column X of sheet A and
> the (b1) refers to the cell in sheet B that contains the row number to use
> in sheet A for row X
>
> Thanks in advance for your help!


--

Dave Peterson
 
Reply With Quote
 
PeterM
Guest
Posts: n/a
 
      5th Jan 2010
Perfect!

thank you Dave.

"Dave Peterson" wrote:

> =indirect("'sheet a'!x" & b1)
> or
> =index('sheet a'!x:x,b1)
>
> The =index() formula is better--it only recalculates when something changes in
> column X of sheet a (or b1 changes).
>
> The =indirect() formula will recalc whenever excel recalculates.
>
> PeterM wrote:
> >
> > I have a spreadsheet that has 3 columns. I need to be able to make what I
> > call a compound reference. It's really hard to explain but I need to do the
> > following:
> >
> > ='Sheet A'!X(b1)
> >
> > where:
> > The current sheet is Sheet B
> > Sheet A is the sheet containing the cell needed
> > X(b1) refers to column X of sheet A and
> > the (b1) refers to the cell in sheet B that contains the row number to use
> > in sheet A for row X
> >
> > Thanks in advance for your help!

>
> --
>
> Dave Peterson
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help..Simple, compound, complex, compound-complex examples Peggylynne Microsoft Word Document Management 1 30th May 2010 07:22 AM
how do i do a compound if function? mikey Microsoft Excel Worksheet Functions 2 3rd Nov 2009 07:20 AM
Compound If, And Or - can =?Utf-8?B?SmltIE1heQ==?= Microsoft Excel Misc 7 26th Sep 2007 01:10 PM
compound =?Utf-8?B?dGlrY2h5ZV9vbGRMZWFybmVyNTc=?= Microsoft Excel Misc 4 26th Nov 2006 10:11 AM
compound key or not? =?Utf-8?B?R2VvcmdlQXRraW5z?= Microsoft Access Database Table Design 7 17th May 2006 09:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:28 PM.