+ Reply to Thread
Results 1 to 3 of 3

Formula to find which tab is being referenced

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Formula to find which tab is being referenced

    Hi guys,

    Strange one here. I have a formula which references tab "A" unless there is an error, in which case it will reference tab "B"

    Is there a formula which would tell me which tab is being referenced? PR is that wishful thinking!

    Cheers

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,093

    Re: Formula to find which tab is being referenced

    Wouldn't have thought so unless you add some sort of text "flag" to the result. For example,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 01-03-2019 at 07:58 AM. Reason: Add trailing bracket
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Formula to find which tab is being referenced

    This will return the sheet number (in the order it was created) but not the sheet name. You would need a lookup table for that in addition to this.

    In Excel 2013 and newer and entered in Sheet2.

    =SHEET('2019 Run Sheet'!I2)
    Dave

+ 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. Find a cell based on the worksheet referenced
    By angela.fitt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2013, 07:40 PM
  2. Formula to find dates with a different format from the referenced cell
    By stpeter in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-04-2013, 03:45 PM
  3. Replies: 8
    Last Post: 04-22-2013, 06:30 PM
  4. [SOLVED] Macro to Find & Replace existing formula with text in referenced cells
    By sonyap in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2013, 10:39 AM
  5. Replies: 1
    Last Post: 04-15-2011, 11:38 AM
  6. Find and Add Numbers if Referenced on Another Worksheet
    By TennisDude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2010, 10:17 PM
  7. Excel should find all places a particular cell is referenced
    By julesme1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2005, 02:06 PM

Tags for this Thread

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