+ Reply to Thread
Results 1 to 3 of 3

vlookup but return all values

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    vlookup but return all values

    Hello. In sheet 1, I have in column A, a list of departments. There are repeat departments that are associated with different expenses (in column B). In Sheet 2, I want to have a lookup in A1 and then in A2 and below I want to capture all of the expenses associated with my lookup. How can I do this? Vlookup doesn't work because it just returns 1 value.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,432

    Re: vlookup but return all values

    It would help if you posted a sample workbook, so we can see how your data is arranged.

    Pete

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: vlookup but return all values

    Here are a couple of simple examples.
    1. By formula

    This uses a value entered in B1 of sheet 2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2. Advanced Filter.
    A
    B
    30
    Department Expenses
    31
    >""
    32
    33
    34
    35
    Department Expenses
    36
    a
    1
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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: 13
    Last Post: 10-13-2014, 02:00 AM
  2. Vlookup to return all values not just the first!
    By hkhan11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2013, 05:57 AM
  3. [SOLVED] Vlookup and return values along a Row
    By dabrad89 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-21-2012, 11:32 AM
  4. vlookup multiple values and return values
    By AMFISH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 11:13 AM
  5. Return 2 values from vlookup
    By adsxvii in forum Excel General
    Replies: 4
    Last Post: 08-28-2008, 09:27 AM
  6. how to use vlookup to return 2 set of values
    By Zyphon in forum Excel General
    Replies: 10
    Last Post: 05-24-2007, 02:37 AM
  7. [SOLVED] vlookup function return all values
    By j2thea in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 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