+ Reply to Thread
Results 1 to 8 of 8

lookup from another sheet in same workbook

  1. #1
    Registered User
    Join Date
    07-12-2009
    Location
    oxford,england
    MS-Off Ver
    Excel Microsoft 365
    Posts
    53

    lookup from another sheet in same workbook

    Hi All,

    This will be bread and butter to all you Excel whizzes , but i'm struggling with it.

    i have a sheet called "catalogue" where i need to insert the price that corresponds to the same code from the "data" sheet.
    If a new row is inserted into the "data" sheet, the price in the "catalogue" should stay in the same cell that corresponds to the code.

    I've tried lookups but without success, the "data" sheets has blank rows but the price is always on the same row as the code.

    i think i have inserted an attachment.

    Any help appreciated.

    Doug
    Attached Files Attached Files

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,438

    Re: lookup from another sheet in same workbook

    In C3 on the Catalogue tab:

    Please Login or Register  to view this content.
    You can make the ranges as long as you like, as long as they are of equal length.
    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
    10-19-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    23

    Re: lookup from another sheet in same workbook

    Hi there,

    In cell C3 on the CATALOGUE sheet, enter this:

    =VLOOKUP(A3,DATA!A:K,11,0)


  4. #4
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,438

    Re: lookup from another sheet in same workbook

    Quote Originally Posted by seawcbee View Post
    Hi there,

    In cell C3 on the CATALOGUE sheet, enter this:

    =VLOOKUP(A3,DATA!A:K,11,0)

    Better to make the range in red limited, unless you want to slow the calculation down. Always avoid entire column ranges if you can!

  5. #5
    Registered User
    Join Date
    10-19-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    23

    Re: lookup from another sheet in same workbook

    AliGW I dont maintain my models, have to build them idiot proof.

    Follow on question though, any way to limit the vlookup to the last row that contains data? vlookup(A1,A(Countrows):B(countrows)??

  6. #6
    Registered User
    Join Date
    07-12-2009
    Location
    oxford,england
    MS-Off Ver
    Excel Microsoft 365
    Posts
    53

    Re: lookup from another sheet in same workbook

    Thanks Guys, appreciate you taking the time to help.

  7. #7
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,438

    Re: lookup from another sheet in same workbook

    Quote Originally Posted by seawcbee View Post
    AliGW I dont maintain my models, have to build them idiot proof.

    Follow on question though, any way to limit the vlookup to the last row that contains data? vlookup(A1,A(Countrows):B(countrows)??
    I have no idea what your first statement means!

    As for the question, I am sure there is a way, but I don't at this moment in time know what it is.

  8. #8
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,438

    Re: lookup from another sheet in same workbook

    Quote Originally Posted by dougmorgan View Post
    Thanks Guys, appreciate you taking the time to help.
    You're very welcome! Please mark the thread as solved and consider awarding reputation to the participants who helped 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. Order History Sheet: Lookup all sheets in the workbook
    By LEEPRIESTENATOR in forum Excel General
    Replies: 6
    Last Post: 08-14-2015, 01:07 AM
  2. Need to put lookup from one sheet to anther in same workbook
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2014, 04:17 PM
  3. Need to put lookup from one sheet to anther in same workbook
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2014, 04:16 PM
  4. Replies: 11
    Last Post: 10-14-2012, 01:03 PM
  5. Workbook with sheet need to do a formula where when a Drop down using lookup
    By texansgal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-22-2012, 01:03 AM
  6. lookup and create summary sheet from data in existing workbook using vba
    By John Bortoli in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2011, 02:26 AM
  7. problem accessing lookup list from sheet in another workbook
    By PaulC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-31-2007, 09:54 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