+ Reply to Thread
Results 1 to 6 of 6

How to use lookup or such function to get data from anthoer sheet

  1. #1
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    How to use lookup or such function to get data from anthoer sheet

    How to use lookup or such function to get data from another sheet of the same workbook?

    in the TOFORUM.xls

    Column A is filled with scrips, Columns B to X have various value for each A column scrip.

    Now i need to, enter just scrip name in "Sheet1"'s A column and get results. If a scrip is not in FO list it should also display "N/A" in all columns.

    Thanks
    Attached Files Attached Files
    Ask me how to hate XL.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: How to use lookup or such function to get data from anthoer sheet

    Try

    =IFERROR(VLOOKUP($A2,FO!$A$2:$X$100,COLUMNS($A:B)),"")

    Copy across and down

  3. #3
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Re: How to use lookup or such function to get data from anthoer sheet

    Quote Originally Posted by JohnTopley View Post
    Try
    Great Thanks. But when the non existing (in FO sheet A column) input is put in sheet1's A column, instead of N/A it brings someother value.

  4. #4
    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,036

    Re: How to use lookup or such function to get data from anthoer sheet

    Try this:

    =IFERROR(VLOOKUP($A2,FO!$A$2:$X$100,COLUMNS($A:B),FALSE),"")
    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

  5. #5
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Re: How to use lookup or such function to get data from anthoer sheet

    Quote Originally Posted by Glenn Kennedy View Post
    Try this:
    Thanks It solved. Great.

  6. #6
    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,036

    Re: How to use lookup or such function to get data from anthoer sheet

    You're welcome...

+ 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. INDIRECT sheet references within LOOKUP function
    By PeterScho in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-28-2016, 12:34 PM
  2. [SOLVED] lookup data from origin sheet to new sheet with switch column header.
    By kimudao in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2015, 09:44 AM
  3. Replies: 2
    Last Post: 09-21-2014, 01:44 AM
  4. need VBA to send Invoice to anthoer sheet depending on costumer cod nu.
    By zeren in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2014, 05:52 PM
  5. Value Lookup Function for non reference sheet values
    By Khaldon in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-13-2011, 03:19 AM
  6. Lookup function in more than one sheet
    By benAz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2008, 11:32 AM
  7. If/then LookUp Function or a Function to copy data for sheet to sheet
    By imdavenp85 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-26-2008, 10:21 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