A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

creating a formula that looks at the value of another cell and usesthat value as the row value for for a referenced cell



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2010, 08:52 PM posted to microsoft.public.excel.charting
Kerry[_3_]
external usenet poster
 
Posts: 22
Default creating a formula that looks at the value of another cell and usesthat value as the row value for for a referenced cell

Seems simple enough, but I have no idea how to do this.

Here's an example:

=IF(ROW(A3)AO$1,'Page2'!$A?,""), where the question marks denotes the
row number, the value of which, I want to get from another cell
altogether. For example,say cell B1 had the value of 1000 and I wanted
to use that value as my row number in the above formula so something
like =IF(ROW(A3)AO$1,'Page2'!$A(value from B1),"") = =IF(ROW(A3)AO
$1,'Page2'!$A1000,"")

Thanks,
K
  #2  
Old March 15th, 2010, 10:09 PM posted to microsoft.public.excel.charting
Bernard Liengme
external usenet poster
 
Posts: 516
Default creating a formula that looks at the value of another cell and uses that value as the row value for for a referenced cell

Try:
=IF(ROW(A3)AO$1,INDIRECT("Page2!$A"&B1),"")
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Kerry" wrote in message
...
Seems simple enough, but I have no idea how to do this.

Here's an example:

=IF(ROW(A3)AO$1,'Page2'!$A?,""), where the question marks denotes the
row number, the value of which, I want to get from another cell
altogether. For example,say cell B1 had the value of 1000 and I wanted
to use that value as my row number in the above formula so something
like =IF(ROW(A3)AO$1,'Page2'!$A(value from B1),"") = =IF(ROW(A3)AO
$1,'Page2'!$A1000,"")

Thanks,
K


  #3  
Old March 16th, 2010, 01:29 AM posted to microsoft.public.excel.charting
Kerry[_3_]
external usenet poster
 
Posts: 22
Default creating a formula that looks at the value of another cell anduses that value as the row value for for a referenced cell

On Mar 15, 5:09*pm, "Bernard Liengme"
wrote:
Try:
=IF(ROW(A3)AO$1,INDIRECT("Page2!$A"&B1),"")
best wishes
--
Bernard Liengme
Microsoft Excel MVPhttp://people.stfx.ca/bliengme

"Kerry" wrote in message

...

Seems simple enough, but I have no idea how to do this.


Here's an example:


=IF(ROW(A3)AO$1,'Page2'!$A?,""), where the question marks denotes the
row number, the value of which, I want to get from another cell
altogether. For example,say cell B1 had the value of 1000 and I wanted
to use that value as my row number in the above formula so something
like =IF(ROW(A3)AO$1,'Page2'!$A(value from B1),"") = =IF(ROW(A3)AO
$1,'Page2'!$A1000,"")


Thanks,
K


Thanks, that works perfectly. I think adding INDIRECT to my excel
lexicon will be useful in the future too.
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.