+ Reply to Thread
Results 1 to 8 of 8

Formula to show value from other sheet if matching cell

  1. #1
    Registered User
    Join Date
    05-05-2023
    Location
    Romania
    MS-Off Ver
    M365
    Posts
    5

    Formula to show value from other sheet if matching cell

    Hello Everyone,
    I am trying to make a formula that will show me a value from sheet2 in my sheet1 if is match to cell E2
    show.png
    Thank you for your help in advance

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Formula to show value from other sheet if matching cell

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook. Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-05-2023
    Location
    Romania
    MS-Off Ver
    M365
    Posts
    5

    Re: Formula to show value from other sheet if matching cell

    Okay, I will extract and add as workbook
    Last edited by AliGW; 05-05-2023 at 09:25 AM. Reason: Please do NOT quote unnecessarily!

  4. #4
    Registered User
    Join Date
    05-05-2023
    Location
    Romania
    MS-Off Ver
    M365
    Posts
    5

    Re: Formula to show value from other sheet if matching cell

    workbook.xlsx
    workbook attached

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

    Re: Formula to show value from other sheet if matching cell

    Try the following:
    For value 1: =OFFSET(INDIRECT("Sheet2!"&ADDRESS(MATCH($E$1,Sheet2!$B$1:$B$61,0),2)),2,6)
    For value 2: =OFFSET(INDIRECT("Sheet2!"&ADDRESS(MATCH($E$1,Sheet2!$B$1:$B$61,0),2)),2,8)
    Let us know if you hae any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Registered User
    Join Date
    05-05-2023
    Location
    Romania
    MS-Off Ver
    M365
    Posts
    5

    Re: Formula to show value from other sheet if matching cell

    Working perfectly!!
    Thank you so much for your help!
    Last edited by AliGW; 05-07-2023 at 08:08 AM. Reason: Please do NOT quote unnecessarily!

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

    Re: Formula to show value from other sheet if matching cell

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

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

    Re: Formula to show value from other sheet if matching cell

    I would try to avoid using INDIRECT, it can cause performance issues, as it recalculates evey time anything changes:

    =INDEX(Sheet2!H:H,MATCH($E$1,Sheet2!$B:$B,0)+2)

    and

    =INDEX(Sheet2!J:J,MATCH($E$1,Sheet2!$B:$B,0)+2)
    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

+ 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: 1
    Last Post: 08-12-2020, 01:42 AM
  2. [SOLVED] Can't add formula linking cell to matching entry in other sheet with variable name
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-13-2019, 02:33 PM
  3. Replies: 5
    Last Post: 10-12-2019, 12:08 AM
  4. Replies: 8
    Last Post: 02-20-2019, 12:34 PM
  5. Show Columns Matching Cell
    By Kingprawn in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-25-2012, 01:22 AM
  6. Replies: 3
    Last Post: 10-04-2012, 02:49 PM
  7. Replies: 1
    Last Post: 06-26-2012, 08:09 AM

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