+ Reply to Thread
Results 1 to 3 of 3

Reference another worksheet, based on the drop down selection of another cell

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Reference another worksheet, based on the drop down selection of another cell

    I have a worksheet 'sheet1' that has a drop down list in cell M6. The drop down list contains the names of the other worksheets. Cell N7 contains the following formula that references the other worksheets:

    Please Login or Register  to view this content.
    The '3e' that appears six times in the above formula is the name of one of the other worksheets. What I would like to do is have the formula reference the worksheet name in the drop down list of cell M6, rather than have the worksheet name hard coded into the formula.

    I tried replacing the '3e' in the formula with 'INDIRECT("M6")' and I get a #N/A error. Any ideas? Thanks.
    Last edited by VTX; 04-25-2013 at 11:28 AM.

  2. #2
    Registered User
    Join Date
    04-12-2013
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Reference another worksheet, based on the drop down selection of another cell

    Hello,

    If the attached formula doesn't work, please post a sample workbook for testing. Cheers!

    =IF(INDEX(INDIRECT("'" & $M$6 & "'!$B$5:$S$29"),MATCH($C$3,INDIRECT("'" & $M$6 & "'!$A$5:$A$29"),0),MATCH($C$6,INDIRECT("'" & $M$6 & "'!$F$4:$S$4"),1))="None","None",($C$6+INDEX(INDIRECT("'" & $M$6 & "'!$B$5:$S$29"),MATCH($C$3,INDIRECT("'" & $M$6 & "'!$A$5:$A$29"),0),MATCH($C$6,INDIRECT("'" & $M$6 & "'!$F$4:$S$4"),1)))-(($C$5/(SIN(RADIANS(($C$4)/2))))*2))


    Regards,
    Adam

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Reference another worksheet, based on the drop down selection of another cell

    That worked perfectly. Thank you very much!

+ 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