+ Reply to Thread
Results 1 to 2 of 2

Extracting data from another sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    02-05-2009
    Location
    Clinton
    MS-Off Ver
    Excel 2003
    Posts
    1

    Extracting data from another sheet

    I am trying to extract rows of data that have a certain value in one of the cells in that row and put them on a new sheet. Is there an easy way to do this? PM me at weissc@wes.army.mil.

    Thanks,

    ImRockDoc

  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: Extracting data from another sheet

    http://home.pacbell.net/beban/

    That website offers some user-defined-functions that all inter-relate. The
    one you want to use here is VLOOKUPS. It's an array formula. You will need
    to copy the code for VLOOKUPS and a few other supporting functions into a
    module in your workbook. Copy the code for these functions into a standard module:

    VLookups
    ArrayCountIf
    ArrayDimensions
    MakeArray

    Then, on sheet2, enter a standard VLOOKUP type formula like this:

    =VLOOKUPS("Y",Sheet1!$B$2:$D$10000,3)

    When you press Enter, a message will appear in the cell telling you how many cells downward you need to select.

    Highlight the cell and drag down enough cells below to complete the requested number (or more to allow for expansion), press F2, then CTRL-SHIFT-ENTER to activate the array.



    http://www.excelforum.com/attachment...kups-test1.xls
    _________________
    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!)

+ 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