From: Kerry on 15 Mar 2010 15:52 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
From: Bernard Liengme on 15 Mar 2010 17:09 Try: =IF(ROW(A3)<AO$1,INDIRECT("Page2!$A"&B1),"") best wishes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "Kerry" <kbrownk(a)gmail.com> wrote in message news:816390fc-f00a-48a7-aceb-7822ec5e6099(a)a18g2000yqc.googlegroups.com... > 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
From: Kerry on 15 Mar 2010 20:29 On Mar 15, 5:09 pm, "Bernard Liengme" <blien...(a)TRUENORTH.stfx.ca> wrote: > Try: > =IF(ROW(A3)<AO$1,INDIRECT("Page2!$A"&B1),"") > best wishes > -- > Bernard Liengme > Microsoft Excel MVPhttp://people.stfx.ca/bliengme > > "Kerry" <kbro...(a)gmail.com> wrote in message > > news:816390fc-f00a-48a7-aceb-7822ec5e6099(a)a18g2000yqc.googlegroups.com... > > > 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.
|
Pages: 1 Prev: Copying Named Ranges in Chart Series Next: how to calculate the area under a curve |