+ Reply to Thread
Results 1 to 6 of 6

Find cell reference and return sheet name from another workbook

  1. #1
    Registered User
    Join Date
    03-13-2019
    Location
    Gloucester
    MS-Off Ver
    365
    Posts
    10

    Find cell reference and return sheet name from another workbook

    I have Workbook 1 & Workbook 2
    Workbook 1 contains dates 01/01/2019 to 01/05/2019. I have a dropdown to select the date which populates data into the sheet from various workbooks
    Workbook 2 has one tab per month (Jan, Feb, Mar, April & May) and within each month has the dates

    I want to lookup the date from workbook 1 and return the sheet name from workbook 2 (I have another formula to then find data within the specific worksheet from workbook 2)

    my other workbooks are simply to link as they are single sheets but this one I am struggling with as I need to pull the sheet name for the rest of my formula to find the data I need within that sheet

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Find cell reference and return sheet name from another workbook

    So you have a date from Workbook 1 and want to return the 3 letter month name which will be the tab name of the sheet you want to search in Workbook 2 ?

    Just use

    =TEXT(A1,"mmm")

    where A1 is the date

    and then use it in an INDIRECT() formula
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    03-13-2019
    Location
    Gloucester
    MS-Off Ver
    365
    Posts
    10

    Re: Find cell reference and return sheet name from another workbook

    How would I then use this in Indirect to continue my search into that specific sheet of workbook 2?

    thanks

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Find cell reference and return sheet name from another workbook

    You have a date, 01/01/2019
    So it must relate to January.

    =TEXT(A1,"mmm")

    returns Jan
    so to return the data in Jan!C3
    you'd put

    =INDIRECT(TEXT(A1,"mmm")&"!C3")

    to get the value of cell C3 in workbook 1 sheet "Jan"

    Depends what you're doing, specific data examples would help.

    Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.

  5. #5
    Registered User
    Join Date
    03-13-2019
    Location
    Gloucester
    MS-Off Ver
    365
    Posts
    10

    Re: Find cell reference and return sheet name from another workbook

    attached, hope these help
    Attached Files Attached Files
    Last edited by Aimee Blackford; 05-15-2019 at 10:40 AM.

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Find cell reference and return sheet name from another workbook

    I'm afraid this now looks very complex and I don't have time to look at this as I'm at work.

+ 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. Replies: 9
    Last Post: 08-24-2017, 09:16 PM
  2. Find value in another workbook and return sheet name
    By Ashrak in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2014, 02:37 AM
  3. [SOLVED] copy active sheet, create new workbook, name new workbook based on cell reference
    By jm0392 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 07:12 PM
  4. [SOLVED] Cell and Sheet Reference/Return
    By Barb R. in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 12:05 PM
  5. [SOLVED] Cell and Sheet Reference/Return
    By Barb R. in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  6. Cell and Sheet Reference/Return
    By Andrew in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. Cell and Sheet Reference/Return
    By Andrew in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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