+ Reply to Thread
Results 1 to 4 of 4

use only 1 specific column from named range

  1. #1
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    use only 1 specific column from named range

    Hi,

    I'm using dynamic named ranges a lot recently. One thing that bothers me is that I have to do so many for one range.

    For example I have a named range from A1:G30. Now I can use this named_range to do vlookup etc. but when I for example want to use the match with the index function I have to define a new range because for the match function to use it need only one column or row. Is there some hidden command I could use like named_range_row1 ? This would make it so much easier to read the code and I dont have to construct so many named_ranges.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: use only 1 specific column from named range

    with your named range as say myrange
    =MATCH(H1,INDEX(myrange,,3),0) would lookup in col 3 of that range
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  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: use only 1 specific column from named range

    Can you post a sample of what you are doing? There are a lot of things that you can do with ranges and it is difficult to give you an answer without knowing what it is that you are doing.
    <---------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

  4. #4
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    Re: use only 1 specific column from named range

    Thank you Martin it works!


    NewDoverman you are right its quite a lot I "could" do if I would be a bit better with some formulas. Know this part works but I cant connect it to another sheet...

    I opened a seperate thread for that.

    Thank you so much for your help guys!


    http://www.excelforum.com/excel-gene...ml#post3493117

+ 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: 4
    Last Post: 07-19-2013, 04:35 AM
  2. CountA within specific columns of a named range
    By Golf Nut in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2012, 02:58 PM
  3. VBA Countif from a named range cell to a specific row
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-20-2009, 06:24 PM
  4. Replies: 2
    Last Post: 11-16-2005, 05:30 PM
  5. create named range specific to worksheet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2005, 12: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