+ Reply to Thread
Results 1 to 19 of 19

Use INDIRECT function to reference a value in closed file

  1. #1
    Saravan
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    Thanks to all (Bob, Ron and Andy) for the information.

    "Andy Wiggins" wrote:

    > This file might be a help:
    > http://www.bygsoftware.com/examples/...SqlRequest.zip
    > It's in the "Excel with Access Databases" section on page:
    > http://www.bygsoftware.com/examples/examples.htm
    >
    > This workbook demonstrates how to get data direct from an MS Access table,
    > or from an open or closed MS Excel workbook using the workbook function
    > SQL.REQUEST.
    >
    > Recently updated to show the use of SQL.REQUEST in the same workbook.
    >
    > The code is open and commented.
    >
    >
    > --
    > Andy Wiggins FCCA
    > www.BygSoftware.com
    > Excel, Access and VBA Consultancy
    > -
    >
    > "Saravan" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > > Book1.xls - Cell C3 =
    > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > > Book2.xls
    > >
    > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > > open work books. Is there any function that could be used on closed

    > workbooks.
    > >
    > > Saravan
    > >
    > >

    >
    >
    >


  2. #2
    Bob Phillips
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    INDIRECT only works with open workbooks. You could try Harlan Grove's Pull
    function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip

    --
    HTH

    Bob Phillips

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Book1.xls - Cell C3 =
    > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > Book2.xls
    >
    > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > open work books. Is there any function that could be used on closed

    workbooks.
    >
    > Saravan
    >
    >




  3. #3
    Saravan
    Guest

    Re: Use INDIRECT function to reference a value in closed file


    Is there a function to replace INDIRECT in microsoft excel to be used in
    vlookup.

    "Bob Phillips" wrote:

    > INDIRECT only works with open workbooks. You could try Harlan Grove's Pull
    > function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "Saravan" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > > Book1.xls - Cell C3 =
    > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > > Book2.xls
    > >
    > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > > open work books. Is there any function that could be used on closed

    > workbooks.
    > >
    > > Saravan
    > >
    > >

    >
    >
    >


  4. #4
    Ron Rosenfeld
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    On Tue, 28 Jun 2005 02:40:03 -0700, "Saravan"
    <[email protected]> wrote:

    >
    >Book1.xls - Cell C3 =
    >CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    >Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    >Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    >Book2.xls
    >
    >I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    >open work books. Is there any function that could be used on closed workbooks.
    >
    >Saravan
    >


    Go to http://xcell05.free.fr/english/.

    and download and install Longre's free morefunc.xll add-in. Then use the
    INDIRECT.EXT function.


    --ron

  5. #5
    Bob Phillips
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    No, that is why I suggested Harlan's UDF.

    --
    HTH

    Bob Phillips

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Is there a function to replace INDIRECT in microsoft excel to be used in
    > vlookup.
    >
    > "Bob Phillips" wrote:
    >
    > > INDIRECT only works with open workbooks. You could try Harlan Grove's

    Pull
    > > function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > "Saravan" <[email protected]> wrote in message
    > > news:[email protected]...
    > > >
    > > > Book1.xls - Cell C3 =
    > > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the

    date in
    > > > Book2.xls
    > > >
    > > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only

    with
    > > > open work books. Is there any function that could be used on closed

    > > workbooks.
    > > >
    > > > Saravan
    > > >
    > > >

    > >
    > >
    > >




  6. #6
    Andy Wiggins
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    This file might be a help:
    http://www.bygsoftware.com/examples/...SqlRequest.zip
    It's in the "Excel with Access Databases" section on page:
    http://www.bygsoftware.com/examples/examples.htm

    This workbook demonstrates how to get data direct from an MS Access table,
    or from an open or closed MS Excel workbook using the workbook function
    SQL.REQUEST.

    Recently updated to show the use of SQL.REQUEST in the same workbook.

    The code is open and commented.


    --
    Andy Wiggins FCCA
    www.BygSoftware.com
    Excel, Access and VBA Consultancy
    -

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Book1.xls - Cell C3 =
    > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > Book2.xls
    >
    > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > open work books. Is there any function that could be used on closed

    workbooks.
    >
    > Saravan
    >
    >




  7. #7
    Bob Phillips
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    INDIRECT only works with open workbooks. You could try Harlan Grove's Pull
    function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip

    --
    HTH

    Bob Phillips

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Book1.xls - Cell C3 =
    > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > Book2.xls
    >
    > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > open work books. Is there any function that could be used on closed

    workbooks.
    >
    > Saravan
    >
    >




  8. #8
    Saravan
    Guest

    Re: Use INDIRECT function to reference a value in closed file


    Is there a function to replace INDIRECT in microsoft excel to be used in
    vlookup.

    "Bob Phillips" wrote:

    > INDIRECT only works with open workbooks. You could try Harlan Grove's Pull
    > function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "Saravan" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > > Book1.xls - Cell C3 =
    > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > > Book2.xls
    > >
    > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > > open work books. Is there any function that could be used on closed

    > workbooks.
    > >
    > > Saravan
    > >
    > >

    >
    >
    >


  9. #9
    Ron Rosenfeld
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    On Tue, 28 Jun 2005 02:40:03 -0700, "Saravan"
    <[email protected]> wrote:

    >
    >Book1.xls - Cell C3 =
    >CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    >Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    >Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    >Book2.xls
    >
    >I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    >open work books. Is there any function that could be used on closed workbooks.
    >
    >Saravan
    >


    Go to http://xcell05.free.fr/english/.

    and download and install Longre's free morefunc.xll add-in. Then use the
    INDIRECT.EXT function.


    --ron

  10. #10
    Saravan
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    Thanks to all (Bob, Ron and Andy) for the information.

    "Andy Wiggins" wrote:

    > This file might be a help:
    > http://www.bygsoftware.com/examples/...SqlRequest.zip
    > It's in the "Excel with Access Databases" section on page:
    > http://www.bygsoftware.com/examples/examples.htm
    >
    > This workbook demonstrates how to get data direct from an MS Access table,
    > or from an open or closed MS Excel workbook using the workbook function
    > SQL.REQUEST.
    >
    > Recently updated to show the use of SQL.REQUEST in the same workbook.
    >
    > The code is open and commented.
    >
    >
    > --
    > Andy Wiggins FCCA
    > www.BygSoftware.com
    > Excel, Access and VBA Consultancy
    > -
    >
    > "Saravan" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > > Book1.xls - Cell C3 =
    > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > > Book2.xls
    > >
    > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > > open work books. Is there any function that could be used on closed

    > workbooks.
    > >
    > > Saravan
    > >
    > >

    >
    >
    >


  11. #11
    Andy Wiggins
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    This file might be a help:
    http://www.bygsoftware.com/examples/...SqlRequest.zip
    It's in the "Excel with Access Databases" section on page:
    http://www.bygsoftware.com/examples/examples.htm

    This workbook demonstrates how to get data direct from an MS Access table,
    or from an open or closed MS Excel workbook using the workbook function
    SQL.REQUEST.

    Recently updated to show the use of SQL.REQUEST in the same workbook.

    The code is open and commented.


    --
    Andy Wiggins FCCA
    www.BygSoftware.com
    Excel, Access and VBA Consultancy
    -

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Book1.xls - Cell C3 =
    > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > Book2.xls
    >
    > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > open work books. Is there any function that could be used on closed

    workbooks.
    >
    > Saravan
    >
    >




  12. #12
    Bob Phillips
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    No, that is why I suggested Harlan's UDF.

    --
    HTH

    Bob Phillips

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Is there a function to replace INDIRECT in microsoft excel to be used in
    > vlookup.
    >
    > "Bob Phillips" wrote:
    >
    > > INDIRECT only works with open workbooks. You could try Harlan Grove's

    Pull
    > > function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > "Saravan" <[email protected]> wrote in message
    > > news:[email protected]...
    > > >
    > > > Book1.xls - Cell C3 =
    > > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the

    date in
    > > > Book2.xls
    > > >
    > > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only

    with
    > > > open work books. Is there any function that could be used on closed

    > > workbooks.
    > > >
    > > > Saravan
    > > >
    > > >

    > >
    > >
    > >




  13. #13
    Ron Rosenfeld
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    On Tue, 28 Jun 2005 02:40:03 -0700, "Saravan"
    <[email protected]> wrote:

    >
    >Book1.xls - Cell C3 =
    >CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    >Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    >Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    >Book2.xls
    >
    >I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    >open work books. Is there any function that could be used on closed workbooks.
    >
    >Saravan
    >


    Go to http://xcell05.free.fr/english/.

    and download and install Longre's free morefunc.xll add-in. Then use the
    INDIRECT.EXT function.


    --ron

  14. #14
    Saravan
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    Thanks to all (Bob, Ron and Andy) for the information.

    "Andy Wiggins" wrote:

    > This file might be a help:
    > http://www.bygsoftware.com/examples/...SqlRequest.zip
    > It's in the "Excel with Access Databases" section on page:
    > http://www.bygsoftware.com/examples/examples.htm
    >
    > This workbook demonstrates how to get data direct from an MS Access table,
    > or from an open or closed MS Excel workbook using the workbook function
    > SQL.REQUEST.
    >
    > Recently updated to show the use of SQL.REQUEST in the same workbook.
    >
    > The code is open and commented.
    >
    >
    > --
    > Andy Wiggins FCCA
    > www.BygSoftware.com
    > Excel, Access and VBA Consultancy
    > -
    >
    > "Saravan" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > > Book1.xls - Cell C3 =
    > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > > Book2.xls
    > >
    > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > > open work books. Is there any function that could be used on closed

    > workbooks.
    > >
    > > Saravan
    > >
    > >

    >
    >
    >


  15. #15
    Bob Phillips
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    No, that is why I suggested Harlan's UDF.

    --
    HTH

    Bob Phillips

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Is there a function to replace INDIRECT in microsoft excel to be used in
    > vlookup.
    >
    > "Bob Phillips" wrote:
    >
    > > INDIRECT only works with open workbooks. You could try Harlan Grove's

    Pull
    > > function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > "Saravan" <[email protected]> wrote in message
    > > news:[email protected]...
    > > >
    > > > Book1.xls - Cell C3 =
    > > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the

    date in
    > > > Book2.xls
    > > >
    > > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only

    with
    > > > open work books. Is there any function that could be used on closed

    > > workbooks.
    > > >
    > > > Saravan
    > > >
    > > >

    > >
    > >
    > >




  16. #16
    Andy Wiggins
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    This file might be a help:
    http://www.bygsoftware.com/examples/...SqlRequest.zip
    It's in the "Excel with Access Databases" section on page:
    http://www.bygsoftware.com/examples/examples.htm

    This workbook demonstrates how to get data direct from an MS Access table,
    or from an open or closed MS Excel workbook using the workbook function
    SQL.REQUEST.

    Recently updated to show the use of SQL.REQUEST in the same workbook.

    The code is open and commented.


    --
    Andy Wiggins FCCA
    www.BygSoftware.com
    Excel, Access and VBA Consultancy
    -

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Book1.xls - Cell C3 =
    > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > Book2.xls
    >
    > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > open work books. Is there any function that could be used on closed

    workbooks.
    >
    > Saravan
    >
    >




  17. #17
    Saravan
    Guest

    Use INDIRECT function to reference a value in closed file


    Book1.xls - Cell C3 =
    CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    Book2.xls

    I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    open work books. Is there any function that could be used on closed workbooks.

    Saravan



  18. #18
    Saravan
    Guest

    Re: Use INDIRECT function to reference a value in closed file


    Is there a function to replace INDIRECT in microsoft excel to be used in
    vlookup.

    "Bob Phillips" wrote:

    > INDIRECT only works with open workbooks. You could try Harlan Grove's Pull
    > function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "Saravan" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > > Book1.xls - Cell C3 =
    > > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > > Book2.xls
    > >
    > > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > > open work books. Is there any function that could be used on closed

    > workbooks.
    > >
    > > Saravan
    > >
    > >

    >
    >
    >


  19. #19
    Bob Phillips
    Guest

    Re: Use INDIRECT function to reference a value in closed file

    INDIRECT only works with open workbooks. You could try Harlan Grove's Pull
    function, which you can get at ftp://members.aol.com/hrlngrv/pull.zip

    --
    HTH

    Bob Phillips

    "Saravan" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Book1.xls - Cell C3 =
    > CONCATENATE("'",E:\Saravan\Jun2005,"\[Book2.xls]Sheet1'!$A$4:$B$18")
    > Book1.xls - Cell A4:A13 have dates (01-jun-2005 to 10-jun-2005)
    > Book1.xls - Cell B4:B13 should lookup a value corresponding to the date in
    > Book2.xls
    >
    > I have tried "=VLOOKUP(A4,INDIRECT(C3),2,FALSE)", Seems to work only with
    > open work books. Is there any function that could be used on closed

    workbooks.
    >
    > Saravan
    >
    >




+ 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