+ Reply to Thread
Results 1 to 12 of 12

Refer to previous sheet

Hybrid View

  1. #1
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Refer to previous sheet

    Hi,

    the attached file uses an old Excel 4 macro function to come up with a list of sheet names in the workbook. This function works only when used in a defined name, but it's almost as good as a UDF.

    Using INDEX/MATCH in combination with that defined name, you can identify the name of the previous and the next sheet. Using INDIRECT with that sheet name can then return a cell value from the respective sheet.

    You can also use the defined name to create a list of all sheets in the book.

    You can now insert, remove, re-arrange, rename sheets and your formulas can reference to their immediate neighbours without a hitch.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-21-2009
    Location
    Rhyl, North Wales
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: Refer to previous sheet

    thanks matey, note sure i 100% understand it straight off but the working workbook will speed that process up, muchly appreciated thank you.

  3. #3
    Registered User
    Join Date
    11-21-2009
    Location
    Rhyl, North Wales
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: Refer to previous sheet

    Need alittle more help if pos. I've now got an index sheet which as name would suggest simply has an index of all sheets in correct order. I'm having difficulty adapting my formula to access this index, find which is the previous sheet and then route to it. Any help/advice appreciated

+ 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