+ Reply to Thread
Results 1 to 4 of 4

Find data on previous worksheet

  1. #1
    Registered User
    Join Date
    08-04-2006
    Posts
    55

    Question Find data on previous worksheet

    Hi all

    I am currently building 12 monthly reporting spreadsheets and each one had a worksheet for each day of the month. I have a formula which locates information from the previous sheet on each sheet:

    =vlookup(B6,'2nd'!$B$6:$E$21,3,0)

    What i want to be able to do is set this up so that one formula works on every sheet in that month, just selecting the previous tab's data. at the moment i have to go in and change the tab name on each worksheet, so on the 3rd it references the 2nd, on the 4th it references the 3rd, etc etc.

    Can anyone help with this?

    B.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If you could name your sheets, with just a number, like 1, 2, 3, etc....

    Then you could use formula:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-04-2006
    Posts
    55
    Unfortunately I need the sheet names to be the days of the month for the users who will be looking at the sheets.

    Is there nothing that will tell the vlookup to just reference the sheet to the left?

    B.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by Brokovich
    Unfortunately I need the sheet names to be the days of the month for the users who will be looking at the sheets.

    Is there nothing that will tell the vlookup to just reference the sheet to the left?

    B.
    Not really...unless you use VBA....

    Here's a revised formula that will look at the previous sheet if it is numbered naturally....

    e.g. If you are on "3rd", the formula will look to sheet named "2nd".....

    Hopefully it works for your needs...

    Please Login or Register  to view this content.

+ 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