+ Reply to Thread
Results 1 to 5 of 5

Lookup function

Hybrid View

  1. #1
    Registered User
    Join Date
    08-03-2009
    Location
    Lynnwood USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Smile Lookup function

    Hi - I need some help figuring out what function will perform this. I'm playing with vlookup but not quite working right.

    On "worksheet B" I have a table that is 3 col wide and 15 rows deep.
    Col 1 has values 0,1,2,3 or 4
    Col's 2 and 3 have text values in them



    on "worksheet A" I need to pull the following:

    look in table on worksheet B, and basically copy the section of the table that has the rows where col 1 has value "0", and display that section of the table in my worksheet A. So if rows 1-5 have value "0" in column 1, then I want to display the values in that row across col's 1,2 and 3. (and not display the section of the table that has value "1" in Column 1 for example. hope that made sense.

    Can anyone advise?
    Attached Files Attached Files
    Last edited by happycats; 10-28-2009 at 04:07 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: need lookup function help?

    Hi HappyCats. Welcome to the forum.

    Mockup a sample workbook showing the data and your desired results, point out where the results came from if not obvious in your sample data.

    Click GO ADVANCED and use the paperclip icon to post up your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-03-2009
    Location
    Lynnwood USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: need lookup function help?

    attached sample workbook to original post...

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Lookup function

    Manual filter in place

    On worksheet B:
    1) Click on A1
    2) Turn on the AutoFilter (I don't use 2007, so you'll have to find that...in 2003 it's on the DATA menu)
    3) Use the drop down in column A to select the value you want to see...all the rest will hide.

    You can now copy the visible table to another sheet if you still want/need it on another sheet, but you can also just use the filtered table in place.

  5. #5
    Registered User
    Join Date
    12-28-2007
    Location
    Walnut Creek, CA
    MS-Off Ver
    2003 and 2007
    Posts
    18

    Re: Lookup function

    Quote Originally Posted by JBeaucaire View Post
    Manual filter in place

    On worksheet B:
    1) Click on A1
    2) Turn on the AutoFilter (I don't use 2007, so you'll have to find that...in 2003 it's on the DATA menu)
    3) Use the drop down in column A to select the value you want to see...all the rest will hide.

    You can now copy the visible table to another sheet if you still want/need it on another sheet, but you can also just use the filtered table in place.
    Shortcut Key for AutoFilter is ALT+A then hit the "T" key to turn on the filter.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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