+ Reply to Thread
Results 1 to 5 of 5

If and Lookup, find data based on Sheet name

  1. #1
    Forum Contributor
    Join Date
    10-08-2014
    Location
    Bengaluru, India
    MS-Off Ver
    O 365
    Posts
    141

    If and Lookup, find data based on Sheet name

    I want to get a formula to get the data based on sheet name, ideally if and lookup together.

    Exactly what i am looking for is in the attached sheet, C3 = (if C1=Week 1, should go to Week 1 sheet and find the value of ETC for Item code B3)

    please help
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: If and Lookup, find data based on Sheet name

    If week sheets are in same size and same position
    Try in C3 then drag down and accross:
    Please Login or Register  to view this content.
    Quang PT

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: If and Lookup, find data based on Sheet name

    It is very inefficient to keep these on different sheets. It would be FAR BETTER to combine the weekly sheets into ONE, with an extra column (Week number).

    However, if that is no tpossible, try:

    =INDEX(INDIRECT("'"&C$1&"'!C4:N20"),MATCH($B3,INDIRECT("'"&C$1&"'!B4:B20"),0),MATCH(C$2,INDIRECT("'"&C$1&"'!C3:N3"),0))

    copied across and down. On bigger files, the use of INDIRECT will cause performance issues.

    ALSO...


    Is your forum profile showing the Excel PRODUCT that you need this request to work with?

    The best solutions often rely on knowing WHICH Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date. If you aren't sure, in Excel go to File/Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent Excel PRODUCTS are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the Version number in your profile (e.g. MS365 (PC) Version 2211). The version number is in the About Excel section further down the Account page.

    Cheers,

    Glenn.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    10-08-2014
    Location
    Bengaluru, India
    MS-Off Ver
    O 365
    Posts
    141

    Re: If and Lookup, find data based on Sheet name

    Thank you Quang and Glenn

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: If and Lookup, find data based on Sheet name

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. [SOLVED] Find and return data based on matching cell from one sheet to another sheet
    By pelbert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2021, 02:09 AM
  2. [SOLVED] Find % distribution based on data in lookup table
    By chullan88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2020, 12:26 PM
  3. Auto update info in Sheet 1 based on a find/lookup in Sheet 2.
    By compustrat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2019, 10:05 AM
  4. [SOLVED] How can I lookup for data on another sheet based on what is selected on my drop down
    By Marshall008 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-25-2018, 11:32 AM
  5. Lookup percentile rank in one sheet based on raw data in another sheet
    By garyalan59 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2018, 09:03 AM
  6. How do I use lookup to find data based on 3 criteria?
    By jerickson in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-03-2008, 09:26 AM

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