+ Reply to Thread
Results 1 to 5 of 5

Cell References inside a LINK

  1. #1
    Registered User
    Join Date
    09-30-2008
    Location
    athens
    Posts
    10

    Cell References inside a LINK

    An other quick tip... i have a link like

    c:\Report FY09\[PPV REVENUES FY 09 - Actual.xls]PPV Actual'!$C$4:$BB$4

    is it possible inside this link to put a variable reference? for example to have a cell in my excel which in this case would be
    Report FY09 and if i change it to Repot FY08 the link would be

    c:\Report FY08\[PPV REVENUES FY 09 - Actual.xls]PPV Actual'!$C$4:$BB$4

    or in another case if i have the name of the sheet like

    ='Report FY09'!D4
    to do it
    ='Report FY08'!D4

    or even the excel file
    c:\Report FY08\[PPV REVENUES FY 09 - Actual.xls]PPV Actual'!$C$4:$BB$4
    to do it
    c:\Report FY08\[PPV REVENUES FY 08 - Actual.xls]PPV Actual'!$C$4:$BB$4


    Thanks again guys...
    Last edited by karaflas01; 10-02-2008 at 11:04 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi,

    If your directory is stored in A1, then

    =INDIRECT("c:\"&A1&"\[PPV REVENUES FY 09 - Actual.xls]PPV Actual'!$C$4:$BB$4")
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    09-30-2008
    Location
    athens
    Posts
    10
    I have tried that with the very simple change between sheets inside a workbook like
    =sheet2!a1 to =indirect(b1&"'!A1) and in b2 i had sheet2 but in returns #REF!...

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    You would need that to read

    =INDIRECT(b1&"!A1")

    in essence, =INDIRECT("sheet2"&"!A1")

  5. #5
    Registered User
    Join Date
    09-30-2008
    Location
    athens
    Posts
    10
    Ok i was putting 'before the ! how stupid of me... Thanks it works!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IF Statement Using Cell Ranges & References
    By RMH in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-27-2013, 03:40 AM
  2. Building a "sheet" inside a single cell
    By Eagle in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-04-2008, 05:24 PM
  3. Check box: Move with cells AND Link to cell
    By mteschl in forum Excel General
    Replies: 0
    Last Post: 09-05-2007, 07:44 PM
  4. How would you use text in a cell to form a link to a tab?
    By caliskier in forum Excel General
    Replies: 2
    Last Post: 05-01-2007, 11:13 AM
  5. Flash Background Color when Cell Link Changes
    By RestoreAnA in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2006, 10:58 AM

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