+ Reply to Thread
Results 1 to 9 of 9

Selecting data in columns dependant on specific criteria

  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    Isle of Man
    MS-Off Ver
    Excel 2013
    Posts
    4

    Selecting data in columns dependant on specific criteria

    Hi, apologies if this is very basic, but I a wanting to know what formula I need so that when a cell has a specific value it looks up the cell with the same value in another sheet and returns information relevant to this. Eg if in Sheet 1 cell A1 is "101000" I want to cell B1 to give me the name in Column B of sheet 2 that corresponds to reference "10100" in column A of sheet 2. I hope this makes sense and someone can help. Many thanks

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Selecting data in columns dependant on specific criteria

    You can use vlookup for this:
    =vlookup(value to search, range to search in, column number to return)
    for example, you would want:
    =vlookup(Sheet1!A1,Sheet2!A1:B1000,2)

  3. #3
    Registered User
    Join Date
    02-27-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    34

    Re: Selecting data in columns dependant on specific criteria

    That will be something like this:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    11-26-2013
    Location
    Isle of Man
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Selecting data in columns dependant on specific criteria

    Hi, many thanks for getting back so quickly. Unfortunately though what you have suggested does not seem to work.
    What I have is an excel sheet that I am putting details of sales in (invoice number, client name and address, value) etc and I am trying to link this sheet to a template sales invoice on a different sheet where I am wanting to just input the relevant sales invoice number and the rest of the information will flow through. using a "SUMIF" formula i am able to get the numerical and date information but not the narrative. Any suggestions please?
    Many thanks

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Selecting data in columns dependant on specific criteria

    Can you upload your workbook please, click go advanced and then manage attachments.

    We just need a sample of your data, you can remove any sensitive information.

  6. #6
    Registered User
    Join Date
    11-26-2013
    Location
    Isle of Man
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Selecting data in columns dependant on specific criteria

    Sales 2.xlsx

    I hope that has worked

  7. #7
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Selecting data in columns dependant on specific criteria

    So in cell A10 of the invoice sheet you need:
    =VLOOKUP(N$2,Sales!B$3:T$14,3,FALSE)
    in cell A11 you need
    =VLOOKUP(N$2,Sales!B$3:T$14,4,FALSE)
    in cell A12 you need
    =VLOOKUP(N$2,Sales!B$3:T$14,5,FALSE)

    and so on.

  8. #8
    Registered User
    Join Date
    02-27-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    34

    Re: Selecting data in columns dependant on specific criteria

    ......................
    Last edited by kimrh; 11-26-2013 at 10:25 AM.

  9. #9
    Registered User
    Join Date
    11-26-2013
    Location
    Isle of Man
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Selecting data in columns dependant on specific criteria

    Thank you very much yudlugar, really appreciate it!

+ 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] Extract Specific Data from range dependant on text criteria
    By Grimace in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-09-2013, 08:43 PM
  2. [SOLVED] selecting spreadsheet instead of specific columns
    By ds0919 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-24-2012, 03:55 PM
  3. Hide specific columns dependant on number in specific cell
    By ladbroke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 04:46 PM
  4. Replies: 2
    Last Post: 11-06-2011, 06:46 PM
  5. Selecting many specific columns for a chart
    By porridge in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-26-2006, 03:05 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