+ Reply to Thread
Results 1 to 2 of 2

Extract rows if names are meet names in named range

  1. #1
    Registered User
    Join Date
    02-26-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    9

    Extract rows if names are meet names in named range

    Hello,

    I am wondering is it possible to use INDEX, SMALL, MATCH, ROW formula combination to extract all rows which contain a name from named range.

    For example, there are two name range (let it be person a) (names from range T3:T30, and person b) (names from range U3:U27).

    I have yet extracted rows which meet pre-criteria, so I now want to extract all rows in two tables each one for a named range for person a names, and person b names

    For example let it be person a is John, and person b is Steven. Each one have a collaborators which whom they work and guide some data for them.

    The extracted data lays in range B10:H90. I want to extract all rows in new table for person a (with names from his named range, and same for person b.

    I tried to make named ranges with name John and Steven, and than make in cells G4 and G5 data validation to this named ranges but I get always errors.

    =INDEX($A$10:$H$90;SMALL(IF(($G$4<=$A$10:$A$90)*($G$5>=$A$10:$A$90);MATCH(ROW($A$10:$H$90);ROW($A$10:$H$90)));ROW(A1));COLUMN(A9))

    getting #NUM, and if I try to put named range in formula (in place of G4 and G5, I got # REF error.

    Also I want to use this worksheet as shared (two pc) so any macro or table formatted isn't good idea.

    Any advice is appreciated.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extract rows if names are meet names in named range

    Hi.

    http://www.mrexcel.com/forum/excel-q...med-range.html

    Please re-read the forum rules re cross-posting.

    Also, you are able to attach workbooks on this forum, which would clearly be of benefit here.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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 date format sheet names into range vba
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2014, 10:16 AM
  2. Replies: 4
    Last Post: 03-04-2012, 08:34 AM
  3. Replies: 3
    Last Post: 10-27-2010, 08:05 PM
  4. Using sheet names as a named range
    By smileyc in forum Excel General
    Replies: 2
    Last Post: 02-06-2009, 05:40 AM
  5. range names-How do you progammaticly refer to named ranges?
    By Zoomer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2005, 05:06 PM

Tags for this Thread

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