+ Reply to Thread
Results 1 to 13 of 13

Dynamic reference to a sheet

  1. #1
    Biff
    Guest

    Re: Dynamic reference to a sheet

    Hi!

    Enter this formula in A3 and copy down as needed:

    =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))

    Biff

    "xisque" <[email protected]> wrote in message
    news:[email protected]...
    >A have the following sheet :
    >
    > A1 | Day
    > A2 | 1
    > A3 |- (cel a1 from sheet Day (1) -
    > A4 |- (cel a2 from sheet Day (1) -
    > A5 |- (cel a3 from sheet Day (1) -
    > A6 |- (cel a4 from sheet Day (1) -
    > A7 |- (cel a5 from sheet Day (1) -
    > A8 |- (cel a6 from sheet Day (1) -
    >
    >
    > And I have 60 days, I want to make a formula that automaticaly reference
    > the
    > correct sheet according the number above Day . The name of the sheet will
    > be
    > something like Day (n), where n is the number in the cel A2.
    >
    > Something like cel A3 :
    >
    > ='Day (value of cel A2)'!A1
    >




  2. #2
    xisque
    Guest

    Re: Dynamic reference to a sheet

    That was tuff, I tried with indirect, but my excel is in PT-BR, so I spend
    some time trying to "translate" that formula to my language.

    =INDIRETO("'"&A$1&" ("&A$2&")'!A"&LIN(1:1))

    Thanks, that was the answer. Do you know if there is a dictionary to
    translate excel functions to my language ?



    "Biff" escreveu:

    > Hi!
    >
    > Enter this formula in A3 and copy down as needed:
    >
    > =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))
    >
    > Biff
    >
    > "xisque" <[email protected]> wrote in message
    > news:[email protected]...
    > >A have the following sheet :
    > >
    > > A1 | Day
    > > A2 | 1
    > > A3 |- (cel a1 from sheet Day (1) -
    > > A4 |- (cel a2 from sheet Day (1) -
    > > A5 |- (cel a3 from sheet Day (1) -
    > > A6 |- (cel a4 from sheet Day (1) -
    > > A7 |- (cel a5 from sheet Day (1) -
    > > A8 |- (cel a6 from sheet Day (1) -
    > >
    > >
    > > And I have 60 days, I want to make a formula that automaticaly reference
    > > the
    > > correct sheet according the number above Day . The name of the sheet will
    > > be
    > > something like Day (n), where n is the number in the cel A2.
    > >
    > > Something like cel A3 :
    > >
    > > ='Day (value of cel A2)'!A1
    > >

    >
    >
    >


  3. #3
    Biff
    Guest

    Re: Dynamic reference to a sheet

    >Thanks, that was the answer. Do you know if there is a dictionary to
    >translate excel functions to my language ?


    Sorry, I have no idea.

    Thanks for the feedback!

    Biff

    "xisque" <[email protected]> wrote in message
    news:[email protected]...
    > That was tuff, I tried with indirect, but my excel is in PT-BR, so I spend
    > some time trying to "translate" that formula to my language.
    >
    > =INDIRETO("'"&A$1&" ("&A$2&")'!A"&LIN(1:1))
    >
    > Thanks, that was the answer. Do you know if there is a dictionary to
    > translate excel functions to my language ?
    >
    >
    >
    > "Biff" escreveu:
    >
    >> Hi!
    >>
    >> Enter this formula in A3 and copy down as needed:
    >>
    >> =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))
    >>
    >> Biff
    >>
    >> "xisque" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >A have the following sheet :
    >> >
    >> > A1 | Day
    >> > A2 | 1
    >> > A3 |- (cel a1 from sheet Day (1) -
    >> > A4 |- (cel a2 from sheet Day (1) -
    >> > A5 |- (cel a3 from sheet Day (1) -
    >> > A6 |- (cel a4 from sheet Day (1) -
    >> > A7 |- (cel a5 from sheet Day (1) -
    >> > A8 |- (cel a6 from sheet Day (1) -
    >> >
    >> >
    >> > And I have 60 days, I want to make a formula that automaticaly
    >> > reference
    >> > the
    >> > correct sheet according the number above Day . The name of the sheet
    >> > will
    >> > be
    >> > something like Day (n), where n is the number in the cel A2.
    >> >
    >> > Something like cel A3 :
    >> >
    >> > ='Day (value of cel A2)'!A1
    >> >

    >>
    >>
    >>




  4. #4
    Harlan Grove
    Guest

    Re: Dynamic reference to a sheet

    xisque wrote...
    ....
    >Thanks, that was the answer. Do you know if there is a dictionary to
    >translate excel functions to my language ?

    ....

    There may be such a dictionary, but you could do this with VBA. If you
    name an unlocked cell XYZ, you could use a macro like

    Sub x()
    Dim f0 As String, f1 As String

    f1 = InputBox(Prompt:="Enter formula", Title:="Formula Translation")

    If f1 <> "FALSE" Then
    f0 = Names("XYZ").RefersToRange.Formula
    Names("XYZ").RefersToRange.Formula = f1
    MsgBox Prompt:=Names("XYZ").RefersToRange.FormulaLocal, _
    Title:="Formula Translation"
    Names("XYZ").RefersToRange.Formula = f0
    End If

    End Sub


  5. #5
    Biff
    Guest

    Re: Dynamic reference to a sheet

    Hi!

    Enter this formula in A3 and copy down as needed:

    =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))

    Biff

    "xisque" <[email protected]> wrote in message
    news:[email protected]...
    >A have the following sheet :
    >
    > A1 | Day
    > A2 | 1
    > A3 |- (cel a1 from sheet Day (1) -
    > A4 |- (cel a2 from sheet Day (1) -
    > A5 |- (cel a3 from sheet Day (1) -
    > A6 |- (cel a4 from sheet Day (1) -
    > A7 |- (cel a5 from sheet Day (1) -
    > A8 |- (cel a6 from sheet Day (1) -
    >
    >
    > And I have 60 days, I want to make a formula that automaticaly reference
    > the
    > correct sheet according the number above Day . The name of the sheet will
    > be
    > something like Day (n), where n is the number in the cel A2.
    >
    > Something like cel A3 :
    >
    > ='Day (value of cel A2)'!A1
    >




  6. #6
    xisque
    Guest

    Re: Dynamic reference to a sheet

    That was tuff, I tried with indirect, but my excel is in PT-BR, so I spend
    some time trying to "translate" that formula to my language.

    =INDIRETO("'"&A$1&" ("&A$2&")'!A"&LIN(1:1))

    Thanks, that was the answer. Do you know if there is a dictionary to
    translate excel functions to my language ?



    "Biff" escreveu:

    > Hi!
    >
    > Enter this formula in A3 and copy down as needed:
    >
    > =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))
    >
    > Biff
    >
    > "xisque" <[email protected]> wrote in message
    > news:[email protected]...
    > >A have the following sheet :
    > >
    > > A1 | Day
    > > A2 | 1
    > > A3 |- (cel a1 from sheet Day (1) -
    > > A4 |- (cel a2 from sheet Day (1) -
    > > A5 |- (cel a3 from sheet Day (1) -
    > > A6 |- (cel a4 from sheet Day (1) -
    > > A7 |- (cel a5 from sheet Day (1) -
    > > A8 |- (cel a6 from sheet Day (1) -
    > >
    > >
    > > And I have 60 days, I want to make a formula that automaticaly reference
    > > the
    > > correct sheet according the number above Day . The name of the sheet will
    > > be
    > > something like Day (n), where n is the number in the cel A2.
    > >
    > > Something like cel A3 :
    > >
    > > ='Day (value of cel A2)'!A1
    > >

    >
    >
    >


  7. #7
    Biff
    Guest

    Re: Dynamic reference to a sheet

    >Thanks, that was the answer. Do you know if there is a dictionary to
    >translate excel functions to my language ?


    Sorry, I have no idea.

    Thanks for the feedback!

    Biff

    "xisque" <[email protected]> wrote in message
    news:[email protected]...
    > That was tuff, I tried with indirect, but my excel is in PT-BR, so I spend
    > some time trying to "translate" that formula to my language.
    >
    > =INDIRETO("'"&A$1&" ("&A$2&")'!A"&LIN(1:1))
    >
    > Thanks, that was the answer. Do you know if there is a dictionary to
    > translate excel functions to my language ?
    >
    >
    >
    > "Biff" escreveu:
    >
    >> Hi!
    >>
    >> Enter this formula in A3 and copy down as needed:
    >>
    >> =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))
    >>
    >> Biff
    >>
    >> "xisque" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >A have the following sheet :
    >> >
    >> > A1 | Day
    >> > A2 | 1
    >> > A3 |- (cel a1 from sheet Day (1) -
    >> > A4 |- (cel a2 from sheet Day (1) -
    >> > A5 |- (cel a3 from sheet Day (1) -
    >> > A6 |- (cel a4 from sheet Day (1) -
    >> > A7 |- (cel a5 from sheet Day (1) -
    >> > A8 |- (cel a6 from sheet Day (1) -
    >> >
    >> >
    >> > And I have 60 days, I want to make a formula that automaticaly
    >> > reference
    >> > the
    >> > correct sheet according the number above Day . The name of the sheet
    >> > will
    >> > be
    >> > something like Day (n), where n is the number in the cel A2.
    >> >
    >> > Something like cel A3 :
    >> >
    >> > ='Day (value of cel A2)'!A1
    >> >

    >>
    >>
    >>




  8. #8
    Harlan Grove
    Guest

    Re: Dynamic reference to a sheet

    xisque wrote...
    ....
    >Thanks, that was the answer. Do you know if there is a dictionary to
    >translate excel functions to my language ?

    ....

    There may be such a dictionary, but you could do this with VBA. If you
    name an unlocked cell XYZ, you could use a macro like

    Sub x()
    Dim f0 As String, f1 As String

    f1 = InputBox(Prompt:="Enter formula", Title:="Formula Translation")

    If f1 <> "FALSE" Then
    f0 = Names("XYZ").RefersToRange.Formula
    Names("XYZ").RefersToRange.Formula = f1
    MsgBox Prompt:=Names("XYZ").RefersToRange.FormulaLocal, _
    Title:="Formula Translation"
    Names("XYZ").RefersToRange.Formula = f0
    End If

    End Sub


  9. #9
    xisque
    Guest

    Dynamic reference to a sheet

    A have the following sheet :

    A1 | Day
    A2 | 1
    A3 |- (cel a1 from sheet Day (1) -
    A4 |- (cel a2 from sheet Day (1) -
    A5 |- (cel a3 from sheet Day (1) -
    A6 |- (cel a4 from sheet Day (1) -
    A7 |- (cel a5 from sheet Day (1) -
    A8 |- (cel a6 from sheet Day (1) -


    And I have 60 days, I want to make a formula that automaticaly reference the
    correct sheet according the number above Day . The name of the sheet will be
    something like Day (n), where n is the number in the cel A2.

    Something like cel A3 :

    ='Day (value of cel A2)'!A1


  10. #10
    Biff
    Guest

    Re: Dynamic reference to a sheet

    Hi!

    Enter this formula in A3 and copy down as needed:

    =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))

    Biff

    "xisque" <[email protected]> wrote in message
    news:[email protected]...
    >A have the following sheet :
    >
    > A1 | Day
    > A2 | 1
    > A3 |- (cel a1 from sheet Day (1) -
    > A4 |- (cel a2 from sheet Day (1) -
    > A5 |- (cel a3 from sheet Day (1) -
    > A6 |- (cel a4 from sheet Day (1) -
    > A7 |- (cel a5 from sheet Day (1) -
    > A8 |- (cel a6 from sheet Day (1) -
    >
    >
    > And I have 60 days, I want to make a formula that automaticaly reference
    > the
    > correct sheet according the number above Day . The name of the sheet will
    > be
    > something like Day (n), where n is the number in the cel A2.
    >
    > Something like cel A3 :
    >
    > ='Day (value of cel A2)'!A1
    >




  11. #11
    xisque
    Guest

    Re: Dynamic reference to a sheet

    That was tuff, I tried with indirect, but my excel is in PT-BR, so I spend
    some time trying to "translate" that formula to my language.

    =INDIRETO("'"&A$1&" ("&A$2&")'!A"&LIN(1:1))

    Thanks, that was the answer. Do you know if there is a dictionary to
    translate excel functions to my language ?



    "Biff" escreveu:

    > Hi!
    >
    > Enter this formula in A3 and copy down as needed:
    >
    > =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))
    >
    > Biff
    >
    > "xisque" <[email protected]> wrote in message
    > news:[email protected]...
    > >A have the following sheet :
    > >
    > > A1 | Day
    > > A2 | 1
    > > A3 |- (cel a1 from sheet Day (1) -
    > > A4 |- (cel a2 from sheet Day (1) -
    > > A5 |- (cel a3 from sheet Day (1) -
    > > A6 |- (cel a4 from sheet Day (1) -
    > > A7 |- (cel a5 from sheet Day (1) -
    > > A8 |- (cel a6 from sheet Day (1) -
    > >
    > >
    > > And I have 60 days, I want to make a formula that automaticaly reference
    > > the
    > > correct sheet according the number above Day . The name of the sheet will
    > > be
    > > something like Day (n), where n is the number in the cel A2.
    > >
    > > Something like cel A3 :
    > >
    > > ='Day (value of cel A2)'!A1
    > >

    >
    >
    >


  12. #12
    Biff
    Guest

    Re: Dynamic reference to a sheet

    >Thanks, that was the answer. Do you know if there is a dictionary to
    >translate excel functions to my language ?


    Sorry, I have no idea.

    Thanks for the feedback!

    Biff

    "xisque" <[email protected]> wrote in message
    news:[email protected]...
    > That was tuff, I tried with indirect, but my excel is in PT-BR, so I spend
    > some time trying to "translate" that formula to my language.
    >
    > =INDIRETO("'"&A$1&" ("&A$2&")'!A"&LIN(1:1))
    >
    > Thanks, that was the answer. Do you know if there is a dictionary to
    > translate excel functions to my language ?
    >
    >
    >
    > "Biff" escreveu:
    >
    >> Hi!
    >>
    >> Enter this formula in A3 and copy down as needed:
    >>
    >> =INDIRECT("'"&A$1&" ("&A$2&")'!A"&ROW(1:1))
    >>
    >> Biff
    >>
    >> "xisque" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >A have the following sheet :
    >> >
    >> > A1 | Day
    >> > A2 | 1
    >> > A3 |- (cel a1 from sheet Day (1) -
    >> > A4 |- (cel a2 from sheet Day (1) -
    >> > A5 |- (cel a3 from sheet Day (1) -
    >> > A6 |- (cel a4 from sheet Day (1) -
    >> > A7 |- (cel a5 from sheet Day (1) -
    >> > A8 |- (cel a6 from sheet Day (1) -
    >> >
    >> >
    >> > And I have 60 days, I want to make a formula that automaticaly
    >> > reference
    >> > the
    >> > correct sheet according the number above Day . The name of the sheet
    >> > will
    >> > be
    >> > something like Day (n), where n is the number in the cel A2.
    >> >
    >> > Something like cel A3 :
    >> >
    >> > ='Day (value of cel A2)'!A1
    >> >

    >>
    >>
    >>




  13. #13
    Harlan Grove
    Guest

    Re: Dynamic reference to a sheet

    xisque wrote...
    ....
    >Thanks, that was the answer. Do you know if there is a dictionary to
    >translate excel functions to my language ?

    ....

    There may be such a dictionary, but you could do this with VBA. If you
    name an unlocked cell XYZ, you could use a macro like

    Sub x()
    Dim f0 As String, f1 As String

    f1 = InputBox(Prompt:="Enter formula", Title:="Formula Translation")

    If f1 <> "FALSE" Then
    f0 = Names("XYZ").RefersToRange.Formula
    Names("XYZ").RefersToRange.Formula = f1
    MsgBox Prompt:=Names("XYZ").RefersToRange.FormulaLocal, _
    Title:="Formula Translation"
    Names("XYZ").RefersToRange.Formula = f0
    End If

    End Sub


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1