+ Reply to Thread
Results 1 to 9 of 9

Formula to find the correct tab

  1. #1
    Registered User
    Join Date
    01-19-2017
    Location
    West Midlands
    MS-Off Ver
    Excal 2010
    Posts
    26

    Formula to find the correct tab

    i have got the following working great

    =IF(HLOOKUP(C6,'M60 MSM Compliance'!$A$11:$AG$196, MATCH(B7,'M60 MSM Compliance'!$A$11:$A$153,0),0)="","",HLOOKUP(C6,'M60 MSM Compliance'!$A$11:$AG$153, MATCH(B7,'M60 MSM Compliance'!$A$11:$A$153,0),0))

    I would like to develop this further now. So where i have got the link to tab 'M60 MSM Compliance'!, I would now like to change this to a formula and if Cell A1 = M60 MSM Compliance then that’s the tab i want it to go to and if A1 = a differnt tab name thats the tab it will go to.

    I have tried a different ways but not managed to get it to work, is it even possible?

    Any help much appreciated

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Formula to find the correct tab

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Formula to find the correct tab

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    01-19-2017
    Location
    West Midlands
    MS-Off Ver
    Excal 2010
    Posts
    26

    Re: Formula to find the correct tab

    Thanks, The below is coming up as volotile and REF#

    =IF(HLOOKUP(C6,INDIRECT("'" & A1 & "'!$A$11:$AG$196"), MATCH(B7,INDIRECT("'" & A1 & "'!$A$11:$A$153"),0),0)="","",HLOOKUP(C6,INDIRECT("'" & A1 & "'!$A$11:$AG$196"), MATCH(B7,INDIRECT("'" & A1 & "'!$A$11:$A$153",0),0)))

  5. #5
    Registered User
    Join Date
    01-19-2017
    Location
    West Midlands
    MS-Off Ver
    Excal 2010
    Posts
    26

    Re: Formula to find the correct tab

    Hello

    This is the current formula im trying to use

    =IF(HLOOKUP(C6,INDIRECT("'"&G5&"'!$A$11:$AG$196"),MATCH(B7,INDIRECT("'"&G5&"'!$A$11:$A$196"),0),0)="","",HLOOKUP(C6,INDIRECT("'"&G5&"'!$A$11:$AG$196"), MATCH(B7,INDIRECT("'"&G5&"'!$A$11:$A$196",0),0)))

    I have attached the file as requested
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-19-2017
    Location
    West Midlands
    MS-Off Ver
    Excal 2010
    Posts
    26

    Re: Formula to find the correct tab

    o what i am trying to do is pull over specific data from the MSM tab over to the technical tab

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,565

    Re: Formula to find the correct tab

    Assuming that the formula in question is in cell G7 and down, and that the expected values are 100%, 100%, -, 100%... the formula needs to be adjusted to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Basically you had the formula correct however one of the close parentheses was out of place and the row references needed to be locked for C6 and G5.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Registered User
    Join Date
    01-19-2017
    Location
    West Midlands
    MS-Off Ver
    Excal 2010
    Posts
    26

    Re: Formula to find the correct tab

    Thanks JeteMc. Worked a treat

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,565

    Re: Formula to find the correct tab

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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. Can't find correct formula
    By Lele514 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-14-2016, 06:28 AM
  2. [SOLVED] Need formula to find correct worksheet and column from text label
    By Ochimus in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 11-01-2015, 04:13 PM
  3. cannot find the correct formula to lookup the values from a listA in workbookB
    By jasmineapo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2015, 02:46 PM
  4. Replies: 3
    Last Post: 10-10-2014, 08:14 AM
  5. Please help me find a correct formula using multiple sheets
    By Bheybylyn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2014, 12:15 AM
  6. Trying to Find the Correct Formula
    By lago3525 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2012, 06:23 PM
  7. Can not find the correct formula
    By Robert Cortese in forum Excel General
    Replies: 1
    Last Post: 06-28-2012, 02:48 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